WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-29-2014, 07:07 AM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
Thumbs down 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!
Reply With Quote
Reply

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


All times are GMT -7. The time now is 03:09 AM.


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