OctaneVR for Maya

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

'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?
User avatar
JimStar
OctaneRender Team
Posts: 3812
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

g0ll4m
As I said - you need to switch the camera to Panoramic type first.
User avatar
g0ll4m
Licensed Customer
Posts: 110
Joined: Sun Oct 06, 2013 9:15 pm

Oh I see it now, I didn't understand the difference between camera type and panoramic type.
Windows 10
Maya 2024.2
2 RTX 4090s 192 gb ram
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

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
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

'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
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Is there a tutorial for this technique, Goldorak?
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

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
prodviz
Licensed Customer
Posts: 543
Joined: Sun Jul 14, 2013 6:00 pm

Ah, I think I understand. Thanks very much.
adriendupagne
Licensed Customer
Posts: 58
Joined: Thu Mar 05, 2015 8:28 pm

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?
Wenneker
Licensed Customer
Posts: 111
Joined: Mon Jun 02, 2014 4:12 pm

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/
Win 7 x64 | i7-4930 | 64gb | 4x gtx 780Ti 3gb
Post Reply

Return to “Autodesk Maya”