WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Plug-in development (https://forum.worldviz.com/forumdisplay.php?f=8)
-   -   Animation biped from 3d max9 to vizard 3.0 (https://forum.worldviz.com/showthread.php?t=2478)

Sjaak 01-28-2010 01:39 AM

Animation biped from 3d max9 to vizard 3.0
 
Hai,

I want to export an animation from 3dmax 9 to Vizard. I saw that I need a CAL3D plugin. But this plugin doesn't work for 3dmax 2009.

How can I solve this problem?

kind regards,
Sjaak Verwaaijen

Jeff 01-29-2010 01:50 PM

Did you download the Cal3D exporter from our site? Do you get an error when trying to run the installer?

Sjaak 02-22-2010 05:02 AM

He Jeff,

I use a plugin from the Vizardwebsite.

The problem is that everything goes ok within 3dmax (skeleton, mesh & animation) but in Vizard it goes wrong.

When we use script animation in Vizard we see a wrong mesh. But it is moving.

When we run Vizard with the animation (we don't see the avatar in the world) we don't see anything.

So do you have a clue?

Here is the code we use.
-----------------------
avatar = viz.add('Avatars/Female2/F_Avatar.cfg')


ground= viz.add("Objects/plane.obj")
groundMap = viz.addTexture("Textures/dirt.jpg")
ground.texture(groundMap)

sky = viz.add("Objects/Sky.obj")
skyMap = viz.addTexture("Textures/SkyMap.tga")
sky.texture(skyMap)

class MyEventClass(viz.EventClass):
def __init__(self):
viz.EventClass.__init__(self)
self.callback(viz.KEYDOWN_EVENT,self.onKeyDown)

def onKeyDown(self,key):
pass

MyEventClass()

def SetPositions():
sky.setPosition(0,-5,0)
ground.setPosition(0,0,0)
cave.caveorigin.setPosition(0, 2, 0)
avatar.setPosition(0,1,4)
avatar.lookat(0,0,0)
-----------------------
Kind regards,
Sjaak


All times are GMT -7. The time now is 08:29 AM.

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