Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1067

Is there documentation for DzEnvironmentNode?

$
0
0

I was looking at setting the "Environment Map" for a Scene, which to my surprise was not part of the render settings, but part of the "Environment Settings" node, which I found out is a `DzEnvironmentNode`.

I can't find any documentation for this class, not on the website, and also not in the SDK header files.

The tricky part about the "Environment Map" is that it's a `DzFloatProperty` if you 'find' it as a property, which controls .. well, something. It's not the intensity because that's a seperate property. In any case, I can't seem to find how to set the map path (texture? whatever you want to call it).

I checked how this is saved in a .duf file and it's saved as an 'extra' or a 'channel', none of which I can find a mapping for in the scripting API.

I suspect that surfaces have a similar structure for properties like base color, bump maps and so on. So I currently don't know if this is done through a `DzProperty`, or if there is a special function on the `DzEnvironmentNode`.

I looked through the samples but didn't find anything.

Can the "Environment Map" path/texture be set through scripting, or only via pre-prepared .duf files?


Viewing all articles
Browse latest Browse all 1067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>