View Single Post
# 169 13-09-2006 , 12:10 PM
MattTheMan's Avatar
Registered User
Join Date: Apr 2005
Location: Fairfield, CT
Posts: 2,436
hmm... looks good. it'll take me a while to understand what's going on :p

okai, from what I see, the script won't run because of multiple variables that are undeclared

but this is what I understand of it.

for each polygon object in the scene, give it a node that says "create material" and one that says "current material".

then adding the nodes to it, but why do you need

Code:
$indSetShaderNode = ( $indPolyObject[0] + "." + $indShaderNode );
$indSetGenNode = ( $indPolyObject[0] + "." + $indGenNode );
next, it checks for if the node is already there, and if it is not, then it goes in and adds attributes fr the diffuse material.
finally it gives the user the ability to edit them ??? I can't see how. (it's just me :p)

well, I'll try to incorporate this into the main script as well. Good job user added image


Live the life you love, love the life you live