Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: mat on 2023-04-25, 15:27:42

Title: North rotating ?
Post by: mat on 2023-04-25, 15:27:42
Hello, could you tell me please how to change the north by using sun expression with Corona Sun and Corona Sky ?
Thanks for your help
Title: Re: North rotating ?
Post by: Beanzvision on 2023-04-25, 15:57:10
Hi there, sorry for asking, but how would one do it without using a Corona sun and sky object?
Title: Re: North rotating ?
Post by: mat on 2023-04-25, 16:04:58
to get latitude longitude and hours and seasons
Title: Re: North rotating ?
Post by: Beanzvision on 2023-04-25, 16:16:53
Have you tried applying a C4D sun tag to the Corona sun object?
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=39912.0;attach=182447;image)
Title: Re: North rotating ?
Post by: mat on 2023-04-25, 16:21:36
yes ! that's what I did ! but I need to rotate the north too and I don't know how to do it.
Title: Re: North rotating ?
Post by: TomG on 2023-04-25, 17:21:42
As I understand it, setting things using that control now has everything positioned realistically. There wouldn't be a way to "rotate what is north" because you can't do that in the real world and these are real world settings for the sun :) And indeed, all you need to do is just like in real life - simply turn the camera around....
Title: Re: North rotating ?
Post by: mat on 2023-04-25, 17:57:09
Architects turn sometimes the model and then the north is not in the up direction.
It was not a problem with vray, sky and sun in a null objet and rotate to match the north should not be impossible ! I am very surprised about that.
Title: Re: North rotating ?
Post by: Cinemike on 2023-04-25, 18:44:28
You could use XPresso to achieve that.
Title: Re: North rotating ?
Post by: Beanzvision on 2023-04-26, 09:32:24
On further inspection, I see that we have had a report about this in the past and have it logged.
(Internal ID=1063977815)
Title: Re: North rotating ?
Post by: mat on 2023-04-26, 10:56:26
To Beanzvision : yes I had posted a ticket to support in the past
To Cinemike : I tried Shawn Astrom tip with XPresso (Corona Sky Link to C4D Physical - Youtube) but cinema 4d crashed (I use C4D 2023.2.0).

Title: Re: North rotating ?
Post by: Beanzvision on 2023-04-26, 11:53:32
Hi Mat, my apologize for not recognizing you :/ Are you able to share that link here? I'm interested to try it out! :)
Title: Re: North rotating ?
Post by: Cinemike on 2023-04-26, 12:24:07
To Beanzvision : yes I had posted a ticket to support in the past
To Cinemike : I tried Shawn Astrom tip with XPresso (Corona Sky Link to C4D Physical - Youtube) but cinema 4d crashed (I use C4D 2023.2.0).

Try this one.
The sun expression is on an innocent Null and is transferred onto a Corona Sun. The Null also has an offset parameter as user data to rotate the sun as you wish.
I hope I did not mess up something, please let me know if there are issues.

Michael
Title: Re: North rotating ?
Post by: mat on 2023-04-28, 09:42:12
To Beanzvision : youtube.com/watch?v=pduZgYtiueE
To Cinemike : Really cool to share Michael ! thanks a lot !!!
Title: Re: North rotating ?
Post by: Cinemike on 2023-04-28, 17:40:37
To Beanzvision : youtube.com/watch?v=pduZgYtiueE
To Cinemike : Really cool to share Michael ! thanks a lot !!!

You are welcome. Hope it helps :)