Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: arqrenderz on 2015-03-25, 18:26:39

Title: Linked Hdri to corona sun Mirroring rotation
Post by: arqrenderz on 2015-03-25, 18:26:39
Hi i have linked the hdri to corona sun as in this video tutorial from rommulus3d

But when i move the corona sun the hdri moves in the other direction, just like mirroring .
Im going nuts on this thing....
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: maru on 2015-03-25, 18:49:39
I think the solution would be to use (-U_Offset) or -360 in wire editor but I'm not sure.
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: arqrenderz on 2015-03-25, 19:27:38
Hi Maru, i have tried that , but it wont work or worse, it starts to behave weird...
attached anotehr screenshot and max file.The hdri can be replaced with any other one (using one of peterè right now)
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: maru on 2015-03-25, 19:54:08
I think this should link the movement of sun and hdr offset:

(degtorad U_Offset*360)+(degtorad 270)

where "270" is the corona sun's "correction" like in Romullus' tutorial.

It works for me but I'm not sure if there isn't something utterly stupid in this code. :)

Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: arqrenderz on 2015-03-25, 20:25:21
not working here :( maybe some one has a file with a linked sun to and vray hdri (just to better control the hdri) ???
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: romullus on 2015-03-25, 20:32:30
-HorizontalRotation and -Rotation. Should work.
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: arqrenderz on 2015-03-25, 20:52:54
Romullus You are the man  :) IT worked! :) :) Many THX im ultra new to all the parameter wiring :)
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: romullus on 2015-03-25, 21:15:42
Me too. I'm just putting some numbers and look what will come out :]
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: maru on 2015-03-26, 10:27:49
Me too. I'm just putting some numbers and look what will come out :]
Same here. And my code worked for me. o_O
Title: Re: Linked Hdri to corona sun Mirroring rotation
Post by: Vanya on 2015-05-09, 09:27:44
Quote from: maru
Quote from: romullus
Quote from: daniel266
:]
:]
:]

Many thanks to you guys, I finally met my "sunset" )