View Full Version : quick question
Bixel 10-10-2007, 11:17 PM what do I use to find which objects in the scene do not have any material applied to them. For instance I draw some boxes, they come up in random colors. These do not have any texture/material applied to them, what is the ask function to find these particular objects?
|
|
RustyKnight
10-11-2007, 02:02 AM
what do I use to find which objects in the scene do not have any material applied to them. For instance I draw some boxes, they come up in random colors. These do not have any texture/material applied to them, what is the ask function to find these particular objects?
I believe that:
for oNode in objects do (
if oNode.material == undefined then (
format "% is naked!\n" oNode.name
)
)
should work...
Shane
CGTalk Moderation
10-11-2007, 02:02 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.