Hi lovely people
I need to create stereoscopic content in stride for 3D classes using shutters. (60fps each eye, scene is being rendered from two parallel cameras “eye-positions”, shutters run on 120fps in total).
- Is there any helppatch or node for stereoscopic content which I could not find…?
or if I do it myself…
- Basically I am following this overview by Nvidia: https://www.nvidia.com/content/pdf/gdc2011/stereoscopy.pdf
I can render the scene twice like shown in this Help patch
- HowTo Render into Multible Viewports (simliar forum topic: https://discourse.vvvv.org/t/multiple-camera-with-render-groups-and-masks/20273 )
But after that I need to render Imagesequences for each eye using textureWriter (mainloop increment and framecounter for up counting filenames) .
Since I need two different videos (sequences) in the end I need two different textures and two different TextureWriters. (I think… :/ )
Not sure whats the best way to do this - since if I use multible viewports on SceneTexture I only get one texture with both viewports and not a spread of two.
So my solution right now is to crop each texture to the final resolution using two crop(UV)[stride.textures.Utils] and then write the textures into two separate sequences.
→ somehow I have the feeling there is a better way to do this? Any suggestions or hints?
Second option I came up with in my case would be to use one viewoport, run everything on 120fps and switch left/right eye every second frame. But for that I would need to pause the animation every second frame and for reasons of my setup that is even more complicated…
PS.: If I want to save sequences with 16 or even 32 bit I still cannot use the stride TextureWriter? is that correct? At least I had to change format to lower bit rate when saving PNGs. Otherwise I got errors and faulty files.
→ following this thread: https://discourse.vvvv.org/t/writing-stride-texture-to-disk/20291