[osg-users] position list

2013-01-25 Thread DavidHornung
Hi, I just saw setPosition() from OSG Billboard, what is the _positionList for? why define multiple positions for a Billboard? For what could you use multiple Positions? Cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] seg fault with text-setText(mystring) called in NodeCallback

2013-01-11 Thread DavidHornung
that it knows not to overlap the update/event and draw traversals. You can do this by using text-setDataVariance(osg::Object::DYNAMIC); Robert. On 10 January 2013 16:41, DavidHornung horn...@googlemail.com wrote: Hello, i have a seg fault because the osgText::Text::setText(std::string) is not thread

[osg-users] getting eye- up- and center-vector from viewer with trackballmanipulator

2013-01-10 Thread DavidHornung
Hello, i am able to read my eye- up- and center-vector from my json config file an set this to homeposition from trackball manipulator. How Can I save/print the acutal values if i changes the view with the mouse? Cheers, David ___ osg-users

Re: [osg-users] getting eye- up- and center-vector from viewer with trackballmanipulator

2013-01-10 Thread DavidHornung
thank you, that was it ! Have you tried with viewer.getCamera()-getViewMatrixAsLookAt(eye, angle, up) ? Carlos On 10 January 2013 10:04, DavidHornung horn...@googlemail.com wrote: Hello, i am able to read my eye- up- and center-vector from my json config file an set this to homeposition

[osg-users] Trackball Manipulator change FOV

2013-01-10 Thread DavidHornung
Hello, please correct me if I should be false. With the trackball manipulator i can change the UpVector, the Position, and the Point the camera is looking at. Can I Also change the Perspective Projection Matrix, espacially the vertical FOV ? Thank you! David

[osg-users] seg fault with text-setText(mystring) called in NodeCallback

2013-01-10 Thread DavidHornung
Hello, i have a seg fault because the osgText::Text::setText(std::string) is not thread-save. It appears from type to time Why get I this seg fault sometimes? I have the following setup class ObjectGroup : public osg::Group { ... ObjectGroup() { ... text =

[osg-users] combine TrackballManipulator and setViewMatrixAsLookAtsetProjectionMatrixAsPerspective

2013-01-09 Thread DavidHornung
Hello, I set up the camera from my viewer with setViewMatrixAsLookAt(...) and setProjectionMatrixAsPerspective(...). If I add now a TrackballManipulator to the viewer, the Configuration from these camera disapperas. Is there a opportunity to set a start Value for the trackball camera?

Re: [osg-users] combine TrackballManipulator and setViewMatrixAsLookAtsetProjectionMatrixAsPerspective

2013-01-09 Thread DavidHornung
. Hi David, On 9 January 2013 16:00, DavidHornung horn...@googlemail.com wrote: I set up the camera from my viewer with setViewMatrixAsLookAt(...) and setProjectionMatrixAsPerspective(...). If I add now a TrackballManipulator to the viewer, the Configuration from these camera disapperas

[osg-users] mapping to video koordinate system

2013-01-07 Thread DavidHornung
Hello, how can I map a rectangle in my osg world on a rectangle with the same size in a Video? The Video is behind the OSG Scene. Cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] transparent objects in front of video in camera node with POST RENDER

2013-01-07 Thread DavidHornung
Hello, I implemented the example from the book OSG3 Cookbook where is described how to play a Video in background of a 3D Scene. There they used POST_RENDER to achieve the behind effekt. Is it so possible to use BLEND in this setup, so that a 3D Object is semitransparent to the Video ?

Re: [osg-users] mapping to video koordinate system

2013-01-07 Thread DavidHornung
that their views fit together? Which techniques are there? Hope now it is more clear Cheers, David Am 07.01.2013 15:43, schrieb Robert Osfield: Hi David, On 7 January 2013 11:21, DavidHornung horn...@googlemail.com wrote: how can I map a rectangle in my osg world on a rectangle with the same size

Re: [osg-users] transparent objects in front of video in camera node with POST RENDER

2013-01-07 Thread DavidHornung
be to change the background Camera RenderOrder to PRE_RENDER and disable the clear of the colour buffer for the main Camera so that is doesn't overwrite the background. Robert. On 7 January 2013 13:37, DavidHornung horn...@googlemail.com wrote: Hello, I implemented the example from the book

[osg-users] multiple POST RENDER cameras

2012-12-20 Thread DavidHornung
Hello, i looked for HUD and how to implement them. I also want to play a video behind the 3D scene which could also be done with POST RENDER. Is is it possible to play Video as background image (like described in the two available OSG books) then post render the 3D Scene with POST_RENDER

Re: [osg-users] osgmovie receive stream

2012-12-16 Thread DavidHornung
Any Suggestions? is it possible to receive a network video stream ? Hello, is it possible to play a received stream with the ffmpeg osg plugin? Since it is possible to read from /dev/video0 it should, or? Cheers, David ___ osg-users mailing list

[osg-users] osgmovie receive stream

2012-12-15 Thread DavidHornung
Hello, is it possible to play a received stream with the ffmpeg osg plugin? Since it is possible to read from /dev/video0 it should, or? Cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] gluDisk - how with OSG?

2012-12-10 Thread DavidHornung
08:46, DavidHornung horn...@googlemail.com wrote: Hello, in OpenGL i used gluDisk to drow a disk - how to do it in OSG cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

[osg-users] gluDisk - how with OSG?

2012-12-09 Thread DavidHornung
Hello, in OpenGL i used gluDisk to drow a disk - how to do it in OSG cheers, David ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] timestamp in movie

2012-12-07 Thread DavidHornung
Thank you, i use ffmpeg, it is implemented. How to set the Video to this position? cheers, David Hi David, Am 07.12.12 09:53, schrieb DavidHornung: Currently I am playing around with example osgmovie how is it possible to get the timevalue of a video from the start of the video to now

[osg-users] example osgmovie play videos example osgprerender does not

2012-11-30 Thread DavidHornung
Hello, I compiled OpenSceneGraph-3.1.3 with ffmpeg-0.8 and as mentioned in the subject, the example osgmovie works but the osgprerender does not play any videos, just the flag with the model appears. I called === ./osgmovie -e ffmpeg ~/movie.avi === and ===

[osg-users] osgmovie seek/jump

2012-11-29 Thread DavidHornung
Hello, I am playing around with the osgmovie with ffmpeg example and was not able to seek with '' or to increase/decrease the speed with ± in the osgmovie examle from version 3.0.1 from July. I would like to know if it is possible now to jump to a specific position of videofile by an exact

Re: [osg-users] osgmovie seek/jump

2012-11-29 Thread DavidHornung
Hi Stephan, thank you for you advice, so is does it also depend on the module to get the actual position when playing a Video? btw: Is it possible to receive videostreams? which plugins support this? Cheers, David Hi David, Am 29.11.12 13:55, schrieb DavidHornung: I am playing around

[osg-users] osgmovie seek/jump

2012-11-27 Thread DavidHornung
Hello, I am playing around with the osgmovie with ffmpeg example and was not able to seek with '' or to increase/decrease the speed with +/- in the osgmovie examle from version 3.0.1 from July. I would like to know if it is possible now to jump to a specific position of videofile by an