saajaja
07-26-2012, 03:03 PM
Hello,
I am trying to scale an avatar's head and body separately. I have the Complete Characters DVD set and I am working with casual15_f_highpoly.cfg as an example.
When I do this:
c1 = viz.addAvatar('6F/casual15_f_highpoly.cfg ')
c1.disable(viz.LIGHTING)
print c1.getChildren()
print 'Model contains the following scene graph nodes:'
for name in c1.getNodeNames():
print ' ',name
c1.getChild('casual15_f_highpoly01.CMF').setScale( 2, 2, 2)
I get this:
Loading File: 6F/loadMe.cfg
[]
Model contains the following scene graph nodes:
casual15_f_highpoly.CMF
casual15_f_highpoly01.CMF
** ERROR: Could not find child with name 'casual15_f_highpoly01.CMF'
However, this does make the body invisible:
c1.visible(viz.OFF, 'casual15_f_highpoly01.CMF')
Help is appreciated.
I am trying to scale an avatar's head and body separately. I have the Complete Characters DVD set and I am working with casual15_f_highpoly.cfg as an example.
When I do this:
c1 = viz.addAvatar('6F/casual15_f_highpoly.cfg ')
c1.disable(viz.LIGHTING)
print c1.getChildren()
print 'Model contains the following scene graph nodes:'
for name in c1.getNodeNames():
print ' ',name
c1.getChild('casual15_f_highpoly01.CMF').setScale( 2, 2, 2)
I get this:
Loading File: 6F/loadMe.cfg
[]
Model contains the following scene graph nodes:
casual15_f_highpoly.CMF
casual15_f_highpoly01.CMF
** ERROR: Could not find child with name 'casual15_f_highpoly01.CMF'
However, this does make the body invisible:
c1.visible(viz.OFF, 'casual15_f_highpoly01.CMF')
Help is appreciated.