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

RenderTexture of Fulldome view #15

Open
PockPocket opened this issue May 6, 2022 · 2 comments
Open

RenderTexture of Fulldome view #15

PockPocket opened this issue May 6, 2022 · 2 comments

Comments

@PockPocket
Copy link

Hi,

I'm having difficulty to send a RenderTexture of my fulldome game view to Touch.Designer via Spout. It seems that I can only send the default camera view without the fulldome effect.

image

I feel that there's something I should do with the Cubemap Fbo slot attached to the fulldome camera component but I don't know what exactly.

Presenting in a Dome on May 16th, this real-time workflow would truly be a game changer.

Any input on how to get this working would be really appreciated.

Cheers,
Mathieu.

@PockPocket PockPocket changed the title Render Te RenderTexture of Fulldome view May 6, 2022
@PockPocket
Copy link
Author

Small update on this issue, my cube map is now receiving the information from the fulldome script and a 4k x 4k white texture is being live streamed via spout to Touch designer.

image

RenderTexture settings:
image

I'm not sure why the image is all white but I think I might be getting closer on figuring this out. Any ideas ?

Mathieu.

@rsodre
Copy link
Owner

rsodre commented May 7, 2022

It's been a long time since I don't use that plugin. Here's some tips from what I remember...

  • On the Camera, remove the FBO from Output.
  • Set the Spout capture to Camera, do not use an FBO.
  • The plugin uses Unity's Graphics.Blit() to render straight to the camera (we can see it on the Game view)
  • Since the Camera is being rendered by the Fulldome script, disable it. Yes, disable the Camera component!

Another alternative is to send the cubemap texture to Touch Designer and convert it to Dome on TD. (I don't know if that's possible, just an idea.)

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