View Single Post
  #1  
Old 06-28-2014, 06:16 AM
armo armo is offline
Member
 
Join Date: Mar 2014
Posts: 21
Problems with avatars facial expressions exported with Cal3D

Hi all,


I am working with the Vizard Complete Characters library and I would like to import into vizard an avatar with a painful facial expression. I modeled this expression in 3DS max and exported it following the instructions of the CAL3D tutorial but I had the strange results you see in the attached screenshots.

Furthermore vizard sends me this error:

Code:
Loading File: casual02_m_highpoly_Expressions/casual02_m_highpoly_painful.cfg
** WARNING: Failed to load animation file: male_high_pain.CAF
Warning: Material::setShininess() of 6400 is above permitted maximum, clampping to 128.
Warning: Material::setShininess() of 6400 is above permitted maximum, clampping to 128.
** Load Time: 0.12 seconds

Could you please tell me where is the error?

Here's the source code:

Code:
import viz
import vizact

viz.go()

viz.MainView.setPosition( 0, 1.5, 0 )

av_painful = viz.add('casual02_m_highpoly_Expressions/casual02_m_highpoly_painful.cfg', pos=( 0, 0, 1.5 ), euler=(180,0,0))
neutral = vizact.morphTo( 0, 0, 1 )
pain = vizact.morphTo( 0, 1, 1 )
wait = vizact.waittime(vizact.randfloat(1,5))
action = vizact.sequence( wait, neutral, pain, viz.FOREVER )
av_painful.addAction(action)
and here's the .cfg file:

Code:
################################################
#
# Cal3d cfg File
#
################################################

scale=0.01
flip_texture = 1

################# Skeleton #################
skeleton=male_high_Skeleton.CSF

################# Meshes #################
mesh=casual02_m_highpoly.CMF
morph=casual02_m_highpoly_pain.CMF

mesh=casual02_m_highpoly01.CMF

################# Animations #################
animation=male_high_pain.CAF


################# Materials #################
material=casual02_m_highpoly.CRF
material=casual02_m_highpoly01.CRF

thank you very much,
armo
Attached Thumbnails
Click image for larger version

Name:	neutral.jpg
Views:	2017
Size:	50.2 KB
ID:	656   Click image for larger version

Name:	pain.jpg
Views:	1900
Size:	54.1 KB
ID:	657  
Reply With Quote