cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Real-time Skylight environment

Real-time Skylight environment

Can there be an option in the Skylight environment that updates with real-time?

Maybe include an option to compress time as well.

Also a way to manipulate the options with Python.

2 Comments
sinje_thiedemann
Autodesk

Python access is already possible by using vrFieldAccess.

Here is a small example script:

 

sky = findMaterial("Skylight")
if(sky.fields().hasField("time")):
    sky.fields().setReal32("time", 18.5) # decimal hours; here: 6:30 pm
if(sky.fields().hasField("date")):
    sky.fields().setVec3f("date", 12, 3, 2015) # day, month, year; here: March 12th 2015
dlincol1
Advocate

Thanks Sinje,

 

This is very helpful.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea