Re: [osg-users] Problem with osgmovie

2010-01-07 Thread Shiina Ringo
Hi,Robert Thanks for your advice. Right now I just simply control the movie by setting the time limit, when time's up and I just quit this movie. Cheers, Shiina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22272#22272

[osg-users] Problem with osgmovie

2010-01-06 Thread Shiina Ringo
Hi, Recently I just added the osgmovie in my object , to play as a media player. But here I have a question , that is , is there any method to detect if the movie has been over , and then I could switch to other scene. Any advice would be appreciated. Thank you very much! Cheers, Shiina

[osg-users] Question about using osgmoive

2009-11-16 Thread Shiina Ringo
Hi, I have just compiled the example osgmovie, and found that the code used the setProjectionMatrixAsOrtho2D to set the ProjectionMatrix of viewer. But what I want to implement is: while playing the video clip using the osgmoive's method , I want to switch the movie to the scene graph as

Re: [osg-users] Question about using osgmoive

2009-11-16 Thread Shiina Ringo
Hi,Robert Thank you for your advice! If using --interactive argument, then could I make the movie fullscreen by changing the view point to an appropriate position? By the way , is the center position of the movie quad at (0.0,0.0,0.0)? And is there any rotation attach to the movie quad? It

Re: [osg-users] Question about switching between MatrixManipulator

2009-10-12 Thread Shiina Ringo
Hi, JP Thanks for your advice. I have tried setHome() befor, and this funtion just set the default view position for the corresponding MatrixManipulator. Here my problem is that: when I hit the button to switch the 2 MatrixManipulator, if I switch the trackball to the manipulator that I

[osg-users] Is there any examples about OpenThreads?

2009-10-12 Thread Shiina Ringo
Hi, Here I just need to implement a Timer for my animation control application , using the OpenThreads library. But actually I have found that it is very hard to work on this multi-threads programming for me, especially connected with OSG. So, I just want to find any example programme, which

Re: [osg-users] Is there any examples about OpenThreads?

2009-10-12 Thread Shiina Ringo
Hi, J-S Thank you for your fantastic advice! Cheers, Shiina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18209#18209 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Question about implement a Timer thread

2009-10-11 Thread Shiina Ringo
Hi, I just want to make a Timer , using the OpenThreads library , for my own animation control method. In other word , I want to make a Timer thread , which provide the precision time signal every second. But I have never work on the programming about mult-threads , especially here using the

Re: [osg-users] Restoring a Viewer's MatrixManipulator

2009-10-09 Thread Shiina Ringo
Hi,Phil I just have met the same problem , like the switching of 2 MatrixManipulators , that the home position is not the position which is like the default position. I just look forward to anyone could give some advice. Thank you very much! Cheers, Shiina -- Read this

[osg-users] Question about switching between MatrixManipulator

2009-10-09 Thread Shiina Ringo
Hi, Here just a quetion confused me: I have a KeySwitchMatrixManipulator , which served as a swithcer between 2 MatrixManipulator : a default Trackball and a MatrixManipulator that I defined(bounding to a object) . The problem is : when I hit the button to switch the above MatrixManipulator

Re: [osg-users] How to compute speed?

2009-09-09 Thread Shiina Ringo
Hi,Cedric Your advice really helped me! Thank you for the fantastic advice! Cheers, Shiina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17204#17204 ___ osg-users mailing list

[osg-users] How to compute speed?

2009-09-08 Thread Shiina Ringo
Hi, Now just a question have troubled me: is that, an object is moving, using the osgAnimation library, here I want to compute the speed of that object's movement, and if using the V=S/t to compute the speed, then I donot kown how to get the DistanceS, even the Timet. Anyone could give me a

[osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
Hi, I am a new to OSG Now I am woking in a project for train simulation game , using the osgAnimation library , but for now just some problems trouble me : for example , when the train turns left or right , the cabin need rotate for a angle , and I have tried for creating

Re: [osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
Hi Cedric, Thank you very much for your advice! Cheers, Shiina Ringo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16992#16992 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Question about train simulation

2009-09-03 Thread Shiina Ringo
the BoneSpace , and SkeletonSpace , in other words , the coordinate in the local Bone or Skeleton spaces just trouble me . Could you just explain the meaning of that 2 spaces in a easy-understanding way? Thank you very much! Cheers, Shiina Ringo -- Read this topic online here: http