osg Sequence
Hi,
Im loading an ive file with an osg sequence that i would like to control. Whats the best way of doing this? I would like to be able to stop, start and set the current time of the sequence. Thanks TarkaDahl |
There's currently no built-in support for this, but we will add it to a future release.
If you are familiar with C++ programming and OpenSceneGraph, you could write a Vizard extension that does this. Our SDK is freely available and contains an example for writing an extension that interacts with the underlying scene graph of a node. |
Hi
Im having a problem with this ive been looking at the example of creating an modifier using the sdk but how do a get from the osg::Node to the osg::sequence ive looked at the documentation here. http://www.openscenegraph.org/docume...cs/a00654.html and it explains functions that i need to call on the osg sequence but i cant find how to get to the osg::sequence Sorry it that doesnt make sence. but ive not used c++ for a while and have only done the basics of OpenSceneGraph. I will do more reading about it later but any help would be good. Thanks TarkaDahl |
Support for controlling osg::Sequence nodes is in the latest version of Vizard (4.02). Here is some sample code:
Code:
import viz Code:
class Sequence(object) |
hi farshizzo,
Thanks for that it works like a dream. Thanks |
All times are GMT -7. The time now is 10:40 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC