WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Get head of the avatar models alone (https://forum.worldviz.com/showthread.php?t=4976)

carlosppamaral 03-07-2014 09:59 AM

Get head of the avatar models alone
 
Hello.

I know there are individuals head models I can use, but I rather prefer to use the head of the HD avatar models, for obvious reasons. ;)

Is it possible?

I've tried to turn off the visibility of all the other bones of the avatar models, but it didn't work. Neither disable...

Any help?

Thanks!

Frank Verberne 03-08-2014 02:18 AM

Hi carlosppamaral,

It's possible. I used the standard HD character that is included with Vizard. To make the body of any HD character invisible, open it's .cfg file, and look for the name of the material file for the body. The characters have a different file for the head and for the body. It's the name of the file that you should put in the avatar.visible() part of the code.

Code:

import viz

viz.go()

avatar = viz.add('vcc_male2.cfg')
avatar.visible(0, 'male_body.crfx')


carlosppamaral 03-19-2014 04:37 AM

It works. Still, the result is not what I expected. Anyway, I think I can overcome this from here. Thanks!

Frank Verberne 03-23-2014 03:05 PM

The result is different for the HD complete characters than for the normal complete characters. The head of the normal complete characters does not include the head, whereas the head of the HD complete characters does include the neck. Making the head of a HD complete character invisible also means the neck is invisible. So custom head swapping is different for both type of characters (if that is what you're trying to accomplish).


All times are GMT -7. The time now is 01:41 PM.

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