Render a cubemap for interior

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
tronghieu
Posts: 3
Joined: Tue Aug 20, 2019 2:23 am

Hi,

Is there any way i could set up the camera and render with Octane to have a 6 sided cube map texture ?

Thanks,
User avatar
Lewis
Licensed Customer
Posts: 1100
Joined: Tue Feb 05, 2013 6:30 pm
Location: Croatia
Contact:

Interesting question, i'd like to know answer too, so like 360 camera but cubic layout.
--
Lewis
http://www.ram-studio.hr
Skype - lewis3d
ICQ - 7128177

WS AMD TRPro 3955WX, 256GB RAM, Win10, 2 * RTX 4090, 1 * RTX 3090
RS1 i7 9800X, 64GB RAM, Win10, 3 * RTX 3090
RS2 i7 6850K, 64GB RAM, Win10, 2 * RTX 4090
ChrisHekman
OctaneRender Team
Posts: 1053
Joined: Wed Jan 18, 2017 3:09 pm

- Create rendertarget
- Go to the camera on the RT and change it to "Panoramic camera"
- Change Projection in the Panoramic camera to "Cube map (+x,-x,+y,-y,+z,-z)
User avatar
Lewis
Licensed Customer
Posts: 1100
Joined: Tue Feb 05, 2013 6:30 pm
Location: Croatia
Contact:

Yep , that's it, thanks Chris.
--
Lewis
http://www.ram-studio.hr
Skype - lewis3d
ICQ - 7128177

WS AMD TRPro 3955WX, 256GB RAM, Win10, 2 * RTX 4090, 1 * RTX 3090
RS1 i7 9800X, 64GB RAM, Win10, 3 * RTX 3090
RS2 i7 6850K, 64GB RAM, Win10, 2 * RTX 4090
Ghostmize
Licensed Customer
Posts: 18
Joined: Mon Jan 07, 2013 1:07 am

Hey all

I have a followup question.
What is the projection is just -x -z +x +z (meaning no top/bottom). can that be done in one frame? or I would need to render each slice separately?

thanks in advance!

Elad.
ChrisHekman
OctaneRender Team
Posts: 1053
Joined: Wed Jan 18, 2017 3:09 pm

That option does not exist, so you would need to render multiple times, or render with top/bottom and cut them out in post.
User avatar
pxlntwrk
Licensed Customer
Posts: 445
Joined: Sat Mar 23, 2013 2:21 pm
Location: France
Contact:

Hello,

otherwise you can make an equilateral 360 with the Octane panoramic camera, and then you can use https://github.com/dariomanesku/cmftStudio

to change it to a 6 sided cube map texture .

cheers
:::::::::::::::::
pxlntwrk.net
Ghostmize
Licensed Customer
Posts: 18
Joined: Mon Jan 07, 2013 1:07 am

thank you very much! will try
User avatar
lanklaf
Licensed Customer
Posts: 79
Joined: Sat Dec 23, 2017 4:22 pm

Ghostmize wrote:Hey all

I have a followup question.
What is the projection is just -x -z +x +z (meaning no top/bottom). can that be done in one frame? or I would need to render each slice separately?

thanks in advance!

Elad.
Set camera to Panoramic, Projection - Spherical, then go to Stereo mode, select Left or Right Stereo output with eye distance set to 0,
then change "Pano blackout latitude from 90 to around 35 (do a test render to check the correct value, I'm not shure about "35").
Then convert it to +x,-x,+y,-y,+z,-z and delete +y,-y.

Image
System:
i7 8700K / RTX 2020 / 16GB RAM
Post Reply

Return to “Octane for Unity”