I’m using the Stamp layer in VFB to embed the camera name in my early iterations to customers, and that works fine. However, we are increasingly using the Daylight system to get the correct sun, and it would be really helpful to be able to stamp the Daytime time (date, hours, minutes) as well, reflecting which time of day the scene’s sun is showing at rendertime. Is this possible?
Thanks! Got the hour min sec up and running, but facing the solar_date now, with offset of days from 21st June. Wow. That was a stupid implementation of the date. Do you know of any solution to get it as a dd/mm/yyyy value? If not, my function will be unusable, as these parameters are as important as the time of day.
Update: I saw this thread (https://forums.chaos.com/forum/v-ray…work-with-vray) which describes how to get a sun working with the new Sun Positioner, where it’s easier to fetch the date parameters. But as I understand I then miss all the new cloud functionality with vraySun, as the model neighter uses vraysun or vraysky. Any direction or tips would be helpful, thanks.
Further update: Tried setting up a vraysun/vraysky model, linking it to a sun positioner. But seems like the sun positioner doesn’t have any sun nodes to link vraysun to, and hence it works as a single object. So this was not a solution What about a daytime model in vraysun?
Interesting. Would maybe work as a pre-render script for bucket rendering, where it syncs the vraysun to the sun in sun positioner, but harder with interactive rendering, I guess (?)
Do you know of any ways to get the position from mode 1?
Like from mode 0 here $VRaySun001.position = $SunPositioner001.manual_sun_position
Unfortunately, that returns [0,0,0].
It looks to me though as if switching modes keeps the settings, so once you collected the position, you should be able to add the line $SunPositioner001.mode = 1
to get the positioner UI back to its original state.
You can ask AD if they can amend the behaviour though, so that it always passes the sun coordinates.