WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-02-2010, 09:40 AM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
Problem with geometry in vzf objects

Hello,

I am having an odd problem when I try to grab geometry from objects made from .vzf files (heads, specifically). Look at the following piece of code:

Code:
male1 = viz.add('C:\AXE\Resource\Avatar\Eric\Body\casual01_m_highpoly.cfg')
face1 = male1.face('C:\AXE\Resource\Avatar\Eric\Eric_122\Eric_122_morphs.vzf', 'Bip01 Head', 'Bip01 Neck')
eye1r = face1.getchild('geom_0') 
eye1l = face1.getchild('geom_1')

male2 = viz.add('C:\AXE\Resource\Avatar\Eric\Body\casual01_m_highpoly.cfg')
face2 = male2.face('C:\AXE\Resource\Avatar\Eric\Eric_122\Eric_122_morphs.vzf', 'Bip01 Head', 'Bip01 Neck')
male2.setPosition([1,0,1])
eye2r = face2.getchild('geom_0') 
eye2l = face2.getchild('geom_1')
There doesn't seem to be anything too odd there, but if I run it, one of the heads will have no eyes! Both heads have eyes if I do not get the eyes, though. Any ideas on why?

Thanks,
Christian
Reply With Quote
 


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
imported 3DModel - Color Write - Problem Boerske Vizard 4 10-09-2009 10:18 AM
Semi-circle array containing target and distractor objects ptjt255 Vizard 3 08-04-2009 03:09 AM
Lightwave objects rotation problem hosier Vizard 6 02-13-2009 12:04 PM
importing a single WRL with many objects. giancamati Vizard 3 12-18-2006 01:13 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM


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


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