WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-19-2007, 10:03 AM
zoltantoth zoltantoth is offline
Member
 
Join Date: Apr 2007
Posts: 5
Strange Speak animation and VRML rendering

Hello,

I have been working with the Vizard 3 RC1 in the last couple of days and I run into some problems I can't solve.

1. If I try to get the agent to speak, her lips are displaying a strange animation, like this:



2. When I import the following VRML file, which is rotating a picture, one quarter of the picture gets brighter, and if I resize it in the wrl file, I can only see this bright part at all:



I tried it with Viard v2, but it does the same. I am working on a MacBook, which uses Intel GMA 950 graphics processor. Other OpenGL applications are working out fine.

Could you help me to solve this problem?

Best regards,
Zoltan Toth
Vrije Universiteit, Amsterdam

The VRML file:
Code:
#VRML V2.0 utf8

DEF forog Transform {
	translation 5 0 -20
	rotation 0 0 1 0
	children [
		Shape {
			appearance Appearance {
				texture ImageTexture { url "f2.jpg"}
			}
			
			geometry Box { 
				size 40 40 1
			}
		}
	]
}

DEF forgato OrientationInterpolator {key [0 0.25 0.5 0.75]
				     keyValue [
						   0 0 1 0,
					       0 0 1 1.57,
					       0 0 1 3.14,
					       0 0 1 4.71
					       ]
				    }

DEF idozito TimeSensor {cycleInterval 10
			loop TRUE
		       }

ROUTE idozito.fraction_changed TO forgato.set_fraction
ROUTE forgato.value_changed TO forog.set_rotation
Where f2.gif is a ~2000px x 2000px picture

And my script is:
Code:
import viz

def mykey(key):
	speak = vizact.speak('c:\\Temp\\talk.wav',1.0,'mouth_open')
	av.add(speak)
		
viz.callback(viz.KEYBOARD_EVENT,mykey)

viz.go()
viz.clearcolor(0,0,0);

#for the second picture:
frac1 = viz.add("rotfractal1.wrl");
#

av = viz.add('female.cfg', pos=(0,0.15,7), euler=(180,0,0) )
av.face('biohead_talk.vzf')
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 03:21 AM.


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