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

Material visibility

$
0
0

 

Is there a method to know if one of the materials of a node does not appear in the camera being rendered?

This serves to check the visibility of a node:

Scene.getNode(j).isVisible() 

I imagine there is an equivalent for materials, but I don't find it.

In my case, I want to know if the materials of node j are exposed to the camera, since I have a scenes with 300 materials and the process on each material takes some time, so it makes no sense to include materials that are off-camera or that are hidden due to a pose.

Thanks in advance.


Viewing all articles
Browse latest Browse all 1036

Trending Articles



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