View Single Post
  #3  
Old 10-01-2008, 12:46 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
I am in agreement with you in the awkward positioning of the head. Here is some code showing the female and vcc_female side by side with their normal heads. Hit any key and you'll see the biohead added to each. The head on the vcc_female appears to drop down and the neck disappears for the most part, while the head stays in the same place on the female.

Farshizzo, am I missing something as well here? Is there a way to correct for this in Vizard?

Code:
import viz

viz.go()

vcc_female= viz.addAvatar('vcc_female.cfg', pos = [2,0,5], euler = [180,0,0])
female = viz.addAvatar('female.cfg', pos = [0,0,5], euler = [180,0,0])

head = viz.addFace( 'biohead_all_morph.vzf' )
head2 = viz.addFace( 'biohead_all_morph.vzf' )


def onKeyDown(key):
	
	vcc_female.setFace( head, 'Bip01 Head', 'Bip01 Neck' )
	female.setFace(head2, 'skel_Head', 'skel_Neck' )

viz.callback(viz.KEYDOWN_EVENT,onKeyDown)
Reply With Quote