creating 360 render target of scene

Q and A about functionality and how to solve a special task for your application.

creating 360 render target of scene

Postby Naggar » 03 May 2017, 09:34

Dear Ventuz Team

I'm working on a project which requires me to project a 3d environment inside a physical "cube" room. This project involves camera animations in my 3d environment.
For now, considering only the front, left, and right walls of the cube, I thought about creating 3 layers in a canvas of 5760x1080 and each layer is 1920x1080 aligned next to each other.. the three layers have the exact same scene, but the left and right layers have cameras panned to 90 and -90 degrees. This approach doesnt seem to work though because of the FOV. I can adjust the FOV manually to get the layer edges somewhat aligned with each other only for still cameras but not for animating cameras.

So I was thinking.. is there a way to make whatever scene I have into a 360 render target (Cubemap)? I am aware that there is no 360 camera available in Ventuz but is there a way I can adjust one or multiple cameras to achieve this result and then create a render target, or any other solution would be appreciated.

Thanks and best regards
User avatar
Naggar
 
Posts: 27
Joined: 22 Dec 2016, 14:02

Re: creating 360 render target of scene

Postby Naggar » 04 May 2017, 08:07

I found a solution for my problem :D
Using "RenderCubeMap" node, exposing the texture output, and connecting it to off screen render targets worked for me.. However I had to rotate the entire scene 90 degrees and -90 degrees on my left and right walls. Which means that I will have to have all of my scenes copied 3 times (for 3 walls).
Please let me know if you know of any more optimized solutions.

Best regards.
User avatar
Naggar
 
Posts: 27
Joined: 22 Dec 2016, 14:02

Re: creating 360 render target of scene

Postby chriss0212 » 04 May 2017, 09:28

Hi Naggar,

i think you have to wait for 5.3 what hopefully will be released soon ;)

There you will have an instance layer where the scene is referenced to a different layer, but with its own camera ;)

Greetings

Christian
User avatar
chriss0212
 
Posts: 582
Joined: 18 Jan 2012, 20:56
Location: wuppertal

Re: creating 360 render target of scene

Postby Dennis » 04 May 2017, 14:54

"3D Layer Reference" ... xD

xD xD :P
User avatar
Dennis
 
Posts: 167
Joined: 08 Jun 2015, 11:29

Re: creating 360 render target of scene

Postby Naggar » 04 May 2017, 15:34

Hi Chris

Alright, I'll work with what we have for now. Thanks :)
User avatar
Naggar
 
Posts: 27
Joined: 22 Dec 2016, 14:02


Return to How to

cron