rsodre / FulldomeCameraForUnity

Fulldome Camera for Unity 2019

Home Page:http://fulldomevjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RenderTexture of Fulldome view

PockPocket opened this issue · comments

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.

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.

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.)