WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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:	2023
Size:	50.2 KB
ID:	656   Click image for larger version

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

Tags
animation, avatar, cal3d, export, morphto

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
Error using CMF export from 3ds max to cal3d in some avatars disbeat Vizard 4 04-15-2014 11:40 PM
Cal3D avatars Adam.Grey Vizard 2 01-18-2012 01:52 PM
Problems exporting with Cal3D Deltcho Vizard 1 08-03-2010 03:27 PM
importing avatars with cal3d marcoleon Vizard 15 04-28-2006 04:48 PM
Using Cal3d Avatars zachhendershot Vizard 4 01-27-2004 10:26 AM


All times are GMT -7. The time now is 04:37 PM.


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