HDRI Not Keeping Alignment to DayLight

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

Moderators: ChrisHekman, aoktar

Post Reply
FAZ
Licensed Customer
Posts: 90
Joined: Tue Oct 06, 2015 5:56 pm
Location: Miami, FL
Contact:

Hello,

I am trying to sync my DayLight to my HDRI. So I rotated my light until it lined up with the sun of HDRI map.
I parented it to the Sky map object I synced it up perfectly, however, the more I rotatate the sky the more the sun looses its alignment and you start to see two suns again? The light seems to rotate at a faster rate than the HDRI.

NOTE: This only works if I restrict the rotation on the Y axis. When I rotate X, it looses sync.

This should not happen correct?
Attachments
Two suns.
Two suns.
www.alexdimella.com IG @alexdimella
User avatar
Ron
Licensed Customer
Posts: 370
Joined: Sun Sep 25, 2011 7:11 pm

You need to tie the rotation of those light objects via Xpresso. I did it via H-coordinates of objects and not via north offset value in tags.

Example:
CINEMA_4D_2019-01-30_15-51-48.png
Master: WIN 10 64bit, i7 4930 4,5 Ghz, 64 GB RAM, 1600 W PSU, 1 TB SSD, 14 TB RAID, 2 x RTX 3090
FAZ
Licensed Customer
Posts: 90
Joined: Tue Oct 06, 2015 5:56 pm
Location: Miami, FL
Contact:

Ron wrote:You need to tie the rotation of those light objects via Xpresso. I did it via H-coordinates of objects and not via north offset value in tags.

Example:
CINEMA_4D_2019-01-30_15-51-48.png
Thanks! But could you translate those nodes?

Winkel. H = ?
I tried translating it but could not come up with anything other than "Corner".

I figured out the rest, I think.
www.alexdimella.com IG @alexdimella
User avatar
Ron
Licensed Customer
Posts: 370
Joined: Sun Sep 25, 2011 7:11 pm

Winkel means Angle. It's the Rotation H.
I have attached my little solution that is doing the job for me. Maybe it is helpful for you or someone else.
I am using mostly HDRI from Darstellungsart where the sun is 180° opposite of daylight. In other cases the rotation H of the daylight needs to be adjusted accordingly.

Ron
Octaviz_Daylight_HDRI_Sync.zip
(6.06 MiB) Downloaded 122 times
Master: WIN 10 64bit, i7 4930 4,5 Ghz, 64 GB RAM, 1600 W PSU, 1 TB SSD, 14 TB RAID, 2 x RTX 3090
FAZ
Licensed Customer
Posts: 90
Joined: Tue Oct 06, 2015 5:56 pm
Location: Miami, FL
Contact:

Very much appreciated, Thank you!
www.alexdimella.com IG @alexdimella
Post Reply

Return to “Maxon Cinema 4D”