WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 07-10-2006, 09:28 AM
cade_mccall cade_mccall is offline
Join Date: Sep 2004
Posts: 61
look, no hands

Hello Worldviz peeps,

We're trying to put vzf heads on some cal3d avatars but whenever we call the face function, the hand meshes on the avatars dissappear. Any ideas?
Reply With Quote
Old 07-10-2006, 05:33 PM
Gladsomebeast Gladsomebeast is offline
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Can you send me your face (.vzf) files?
Paul Elliott
WorldViz LLC
Reply With Quote
Old 08-01-2006, 09:15 PM
cade_mccall cade_mccall is offline
Join Date: Sep 2004
Posts: 61
billboarding problem as well

The disappearing hand problem was mysteriously solved by flipping the order in which i added the head and body in the script. So, the hands won't appear if I use the following code:
male = viz.add('male_basic_cr2.cfg')
head = viz.add('heads/male_1.vzf')

buy they will appear if I flip the first two lines.

I have a new problem, though, along similar lines. I want to use billboarding with my avatar. I have to apply the billboarding to both the body and the head or else the head acts independently. This doesn't look too great, though, with changes in pitch and roll. So, I want to switch to mode 2 of the billboarding function. However, when I do so, the head disppears completely.

Please advise.
Reply With Quote
Old 08-02-2006, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Will you please provide us with a script that recreates the disappearing hands problem. I would like to get this fixed as soon as possible. Please include all your resources in the sample. Also, which version of Vizard are you using?

If you want to billboard an avatar with a face attached it is probably best to manually perform the billboarding. Here is a sample script that shows how to perform this:
import viz

male = viz.add('male.cfg')
face = viz.add('biohead_talk.vzf')


def BillboardAvatar():
	p1 = male.getPosition()
	p2 = viz.MainView.getPosition()
	angle = vizmat.AngleToPoint(p1[0],p1[2],p2[0],p2[2])
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC