WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-22-2010, 05:02 AM
Sjaak Sjaak is offline
Member
 
Join Date: Apr 2009
Posts: 5
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
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
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
.3DS importing in Vizard and 3D Studio jde Vizard 1 08-28-2009 03:14 PM
2d text placing to max animation in vizard kasdeja Vizard 2 07-07-2009 01:34 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Animation Tracks.... k_iwan Vizard 2 03-26-2007 05:52 PM


All times are GMT -7. The time now is 05:58 AM.


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