HDRI rotation from octane to C4D

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
User avatar
krzychuc4d
Licensed Customer
Posts: 79
Joined: Sun Jan 24, 2010 9:52 pm
Contact:

Hi everyone,

is there way I could transfer or calculate HDRI rotation from octane (X,Y cordinates) to C4D (H/P/B)

In octane I got only X and Y from -1 to 1
in Cinema H/P/B 360 degrees

any ideas how to sync those settings


thanks
Krzysztof
---
http://www.3structures.com
https://www.facebook.com/3structures
Ryzen 7 2700X / 32GB RAM / RTX 4070 @Win10 64Bit
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

We can only send data to Octane...

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
krzychuc4d
Licensed Customer
Posts: 79
Joined: Sun Jan 24, 2010 9:52 pm
Contact:

but how to convert these values? not transfer with plug-in
octane value X and Y to cinema HPB values ?
and type coordinates to cinema manually

I was trying couple things

1.
in cinema I have created sky object and applied HDRI to it
sky object (infinite object same like "texture environment" in octane) and HDRI is not transferred to octane.

2.
If I create sphere in c4d and apply HDRI octane will not recognize sphere with HDRI as "texture environment"
its not working too

3.
I did expression that converts coordinates

X =0.6523 (octane value)
X (-1 TO 1) rangemaper (input -1 to 1) (output -360 to 360)
X out (c4d value)=234.36 ° connected to SkyObject H input node

Y = -0.035 (octane value)
Y (-1 TO 1) rangemaper (input -1 to 1) (output -360 to 360)
Y out = -12.564 ° connected to SkyObject P input node

it's close but still not accurate
after I render there is visible offset on render
so it's not possible to use HDRI with multipass

The reason why I do this.
Client wants to apply his own colour correction / exposure etc to HDRI
Octane currently doesn't support 16bit and 32bit file format


thanks in advance for any advice
KN
---
http://www.3structures.com
https://www.facebook.com/3structures
Ryzen 7 2700X / 32GB RAM / RTX 4070 @Win10 64Bit
User avatar
abstrax
OctaneRender Team
Posts: 5509
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Hi Krzychuc4d,

I guess, you have to convert X/Y to a vector first and then to HPB, but I will have a look at it tonight.

Cheers,
Marcus
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
Post Reply

Return to “Maxon Cinema 4D”