View Single Post
  #4  
Old 12-23-2012, 09:52 PM
goro goro is offline
Member
 
Join Date: May 2012
Posts: 33
Hi,

In any case if this thread is open then please let me know that is there any method available to get nodes from CAL3D avatar?

I want to apply shaders & texture to individual nodes of CAL3D Avatar. To get those nodes I wrote the following code.

Code:
import viz
import vizact

viz.setMultiSample(4)
viz.fov(60)
viz.go()

female = viz.addAvatar('vcc_female.cfg')
female.setPosition([0,0,3])
female.setEuler([180,0,0])
female.state(12)

print 'Model contains the following scene graph nodes:'
for name in female.getNodeNames():
    print ' ',name
and I am getting this output
Model contains the following scene graph nodes:
casual01_f_highpoly.CMFX
casual01_f_highpoly01.CMFX


I am not able to get the subnodes which I use to get in OSGB models.
Reply With Quote