WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-09-2008, 05:39 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
animate cal3d bones

Hi all,

What I have is a cal3d avatar with a peoplemaker morph (for a talking mouth).

The avatar has to perform an animation: lean forward - back the origin - lean backward back to origin - lean left - back to origin - lean right and back to origin.

The bone that I want to rotate is one of the spineBones.

This is the code-part where i'm talking about:

Code:
viz.starttimer(TIMER_BODY_MOVEMENT, .03, 1)

def onTimerEvent(id) :
if id == TIMER_BODY_MOVEMENT :
    spine02.rotate(10,0,0)

viz.callback(viz.TIMER_EVENT,onTimerEvent)
What's happening now: the bone seems to snap to the new position, with <bone>.setEuler() it's doing the same.

How can I make this a smooth animation?

Thanks!

Last edited by krimble; 01-09-2008 at 05:41 AM.
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
cal3d exporter issue reiverlass Vizard 4 07-18-2007 12:08 PM
importing avatars with cal3d marcoleon Vizard 15 04-28-2006 04:48 PM
importing cal3d in 3ds? shai Vizard 1 11-01-2004 10:19 AM
Using Cal3d Avatars zachhendershot Vizard 4 01-27-2004 10:26 AM
Linking avatar 'bones' to a position tracker. zachhendershot Vizard 3 11-19-2003 09:26 PM


All times are GMT -7. The time now is 11:17 AM.


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