Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture doesn't update, and x,y are inverted. #34

Open
softyoda opened this issue Jun 21, 2024 · 3 comments
Open

Texture doesn't update, and x,y are inverted. #34

softyoda opened this issue Jun 21, 2024 · 3 comments

Comments

@softyoda
Copy link

Hello, I've just tried your add-on on blender 4.1 it looks promising.
(more pro than my hack that consisted of writing ndi frames as jpg using OpenCV python script, use the frames as image-sequence in blender's texture, and try to sync the timeline of blender with the last wrote frame if unsync happen).

But unfortunately, I encounter two issues with your add-on.

  • The image only refreshes when the timeline is from pause to play, and only one single frame is refreshed there (it is really the only way the "update" doesn't refresh the image) and as mentioned in the README, the update has a huge lag as gpu->cpu->gpu current bottleneck (around 1500ms dropframe lag).
  • The image is inverted (as if x,y of uv were inverted, left is right, and top is bottom)
  • Lack of eevee/cycles support (those renderers doesn't seem to get updated image, compared to my hacky way of doing it with jpg sequence that does update on all renderer)

Just for your info, the stream come from NDI for premiere pro, and work fine on OBS).

@maybites
Copy link
Owner

This are all known issues. I don't have yet figured out how to fix some of them.

  • the x,y issue should be solvable
  • the image refresh is a problem I haven't solved yet
  • I thought EEVEE and Cycles are supported - can you elaborate?

Texture receive (Spyhon or NDI - Spout is not supported yet) is highly experimental and will not work in realtime anytime soon. Thats why these problems are currently on the backburner...

@softyoda
Copy link
Author

EEVEE and Cycles texture doesn't refresh when stepping from pause to play (only way I found to update a single frame while in opengl viewport with texture preview), it displays the latest "saved" frame (same visible in UV editor, and that either has been update while setup, or pause->play single refresh.
I used NDI as receiver, from Premiere Pro, and it worked when previewed in OBS, i'm on Windows 10.

Also, did you tried to use the imbuf module to load image at runtime?

@maybites
Copy link
Owner

Also, did you tried to use the imbuf module to load image at runtime?

no, but as far I understand it, it wont help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants