WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Animations and OSGB (https://forum.worldviz.com/showthread.php?t=4932)

fabioped 01-29-2014 07:07 AM

Animations and OSGB
 
Hi!

I'm having lots of trouble using the OSG plugin for its Sequence Helper. Isn't there any more documentation on this feature? Why not release the code for this plugin, so we can improve support?

I created a 3d Max animation using the OSG plugin, but it always loops inside vizard.

This is my code:
Code:

import viz
viz.go()

model = viz.add('model.osgb',pos=(0,1.5,4))

osg = viz.add('SceneGraphTools.dle')
sequence = osg.Sequence(model)

import vizact
vizact.onkeydown(' ',sequence.setMode,vizact.choice([sequence.PAUSE,sequence.RESUME]))
vizact.onkeydown('r',sequence.setMode,sequence.STA RT)
vizact.onkeydown('1',sequence.setFrame,50)

And this is the max modifier settings:
https://www.dropbox.com/s/7g1rw5fxqib7yih/sequence.png

Thanks!


All times are GMT -7. The time now is 10:01 PM.

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