Page 2 of 2

Re: OctaneVR for Maya

Posted: Mon May 11, 2015 7:39 pm
by prodviz
'it works more more or less in spherical projections, but not across cube map faces. The only way around this is to render each eye as sphere projection with post pro, then load into Octane as environment, then re-render as cube map (per eye) to get the stereo cube format. For post pro, the sphere pano can be much smaller.'

If you render each eye as a sphere, you have 2 separate spherical files right?

How would you use/load 2 spherical images in to the 1 texture environment slot?

Re: OctaneVR for Maya

Posted: Mon May 11, 2015 7:58 pm
by JimStar
g0ll4m
As I said - you need to switch the camera to Panoramic type first.

Re: OctaneVR for Maya

Posted: Mon May 11, 2015 9:15 pm
by g0ll4m
Oh I see it now, I didn't understand the difference between camera type and panoramic type.

Re: OctaneVR for Maya

Posted: Tue May 12, 2015 3:30 pm
by prodviz
This is the left and right eye render as Spherical maps, including post.

How would one go about using both maps as a projection/environment?

Image

Image

Re: OctaneVR for Maya

Posted: Wed May 13, 2015 9:00 am
by prodviz
'render each eye as sphere projection with post pro, then load into Octane as environment'

How do I go about loading each sphere projection into the 1 environment slot.

Cheers

Re: OctaneVR for Maya

Posted: Thu May 14, 2015 7:24 pm
by prodviz
Is there a tutorial for this technique, Goldorak?

Re: OctaneVR for Maya

Posted: Fri May 15, 2015 12:06 am
by Goldorak
prodviz wrote:Is there a tutorial for this technique, Goldorak?
Nope. I just thought of it, and posted the idea on the forums. I haven't had time to work on a tutorial, but it requires you to make two renders, one for the post, one for the normal cube map without post, each with different sizes/projections. The issue is post works OK on spherical camera panos, but not on cube map panos. You use a small sphere map render to get the post, then use Octane to load the sphere render into the environment and spit out each eye into a cube map. The composition would need to be done in outside of Octane, but the data to do it would be there. We may make the process simpler, but this is what we can use as of right now to get a workaround solution for PPFX in VR renders

Re: OctaneVR for Maya

Posted: Fri May 15, 2015 8:17 pm
by prodviz
Ah, I think I understand. Thanks very much.

Re: OctaneVR for Maya

Posted: Sun May 17, 2015 7:28 pm
by adriendupagne
Goldorak wrote:
g0ll4m wrote:If you're referring to "normal" 2d renders in Octane. Yes, I have a plethora of characters and scenes that I've been rendering in Octane no problem. How can I make those into "OctaneVR" 3d scenes?
Also I scoured my camera attributes in Maya and couldn't find a "Projections" attribute. I could only see there's a projection type, Spherical, Cylindrical and Cube.
Good - can you try Spherical, 360 x 180 degrees, 1024x512 and confirm you are able to correctly render a 360 pano image? If so, then the next step is to try turn on stereo. You can start with anaglyph (e.g. red/green filter per eye) just to get as a sense of depth in the 360 scene. Use this to make sure that objects are not too close to the camera (ideally about 10-20x IPD, so the nearest object should be no closer then 1-1.5 m to avoid any eye strain for stereo renders, assuming your scene is at real world scales)

When you are happy with how the above 360 render looks, make the following adjustments to create a final VR render in stereo cube map format:

- make sure to turn OFF post processing (if it is enabled)
- switch to side by side stereo
- switch to cube map camera projection
- set render size to 18432 x 1536 (this should give you 12 square tiles in a horizontal strip, each 1536x1536 - 6 per eye)
- save the render as a PNG 8-bit file
- drop the PNG file in ORBX media folder on the Gear VR - you can then view it in the ORBX media player app (be sure to download the apk from the Gear VR store if you haven't already)
- You can also view your VR render on a PC +DK2 with Virtual Desktop (which just added support for Octane VR cube map stereo renders): http://www.vrdesktop.net/

Let me know how that goes.


I did exactly what you said. I have rendered just one png. What do I do with this png to view it on my oculus?

Re: OctaneVR for Maya

Posted: Tue May 19, 2015 12:00 pm
by Wenneker
Goldorak wrote: - You can also view your VR render on a PC +DK2 with Virtual Desktop (which just added support for Octane VR cube map stereo renders): http://www.vrdesktop.net/