WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-02-2016, 06:47 AM
JRodrigoF JRodrigoF is offline
Member
 
Join Date: Feb 2016
Posts: 3
Swapping heads from FaceGen

Hello,

I've been using Facegen to generate custom heads that I later replace and use in the avatars. I compute the neck vertices and autoscale the heads in PeopleMaker, etc. Everything works OK except when I use hair models from Facegen on female heads. In these cases, again all looks OK both in Facegen and Peoplemaker, but when I use my new head (.vzf) and load it in Vizard, the hair appears to cover either entirely, or partially the face. I've tried so far the 3D modeller version of Facegen, which they have told me uses transparencies in the textures and might be a cause of the problem, and have also used the 3D Print version, which does not use transparencies. This is slightly better, but still has the same problem. Here below images of avatars with a hair models for male, and using female hairs with both 3D modeller and 3D print.

Any feedback on this issue would be great,
Best,
Rodrigo
Attached Thumbnails
Click image for larger version

Name:	male1.png
Views:	711
Size:	213.1 KB
ID:	752   Click image for larger version

Name:	female_3dmodeller.png
Views:	719
Size:	265.4 KB
ID:	754   Click image for larger version

Name:	female_3dPrint.png
Views:	742
Size:	329.4 KB
ID:	755  
Reply With Quote
  #2  
Old 02-02-2016, 07:21 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try enabling alpha-to-coverage. This is explained in the transparency page.
Reply With Quote
  #3  
Old 02-04-2016, 04:20 AM
JRodrigoF JRodrigoF is offline
Member
 
Join Date: Feb 2016
Posts: 3
Thanks.

I've tried enabling alpha-to-coverage for the the room, the head and the body once the head is swapped. Separately for each and also enabling alpha-to-coverage in all objects at the same time. Unfortunately none of these options has worked. The code I use is like this:

import viz

viz.setMultiSample(4)
viz.go()

model = viz.addChild('gallery.osgb')
#model.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
#model.disable(viz.BLEND)

Body = viz.add('vcc_female.cfg')
Head = viz.addFace('avatars\pictures\p_09\FG\p09H.vzf')

Head.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
Head.disable(viz.BLEND)

Body.setFace(Head, 'Bip01 Head', 'Bip01 Neck')
#Body.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
#Body.disable(viz.BLEND)


Indeed if I only place the head it looks OK. But once I replace it in the avatar body it doesn't. Pictures attached. Any further feedback sorry?

Best,
Rodrigo
Attached Thumbnails
Click image for larger version

Name:	Picture1.jpg
Views:	709
Size:	130.2 KB
ID:	756   Click image for larger version

Name:	Picture2.jpg
Views:	700
Size:	102.0 KB
ID:	757  
Reply With Quote
  #4  
Old 02-04-2016, 09:33 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
We're following up in the support ticket.
Reply With Quote
  #5  
Old 02-22-2016, 10:09 AM
JRodrigoF JRodrigoF is offline
Member
 
Join Date: Feb 2016
Posts: 3
Many thanks for the assistance with this issue. Now it is solved. Just for the record:

The problem was being caused because by mistake I was computing neck vertices also for geom_0 in the facegen head. This geom corresponds to the hair, therefore all the hair was being pulled down towards the avatar's neck. De-selecting all the computed vertices for the neck solves the issue.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heads with geometries for eyes and mouth Karla Vizard 2 03-14-2008 11:39 AM
Problems with custom heads v-clizzin Vizard 4 07-16-2007 03:44 PM
Attaching heads from FaceGen vjmcho Vizard 3 04-19-2007 09:38 AM
Swapping VZF heads on the same avatar vr_boyko Vizard 1 10-20-2004 11:10 AM
Creating Custom Avatar Heads farshizzo Vizard 22 09-12-2004 09:23 PM


All times are GMT -7. The time now is 05:48 AM.


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