[osg-users] Trackball Manipulator and RTT

2010-12-02 Thread Thomas Klemmer
Hi, I'm rendering a scene to texture and display it later on on an orthoquad with an orthocam.., now I want to manipulate the rtt cam (obviously not the orthocam) with a trackball manipulator. Could anybody point me to a tutorial or give me some addvise on where to start here!? Thank you!

Re: [osg-users] Enable, Disable Multible Shaders

2010-09-01 Thread Thomas Klemmer
Thanks for the quick reply Robert! Cheers, Thomas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31244#31244 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Enable, Disable Multible Shaders

2010-08-31 Thread Thomas Klemmer
Hi, First of, can I attach multible Shaders to one geometry node? I tried an it ran but obviosly only the last attached shader was rendered. Now is (if) there a way to toggle between these shaders? GeometryStateSet-setAttributeAndModes(programObject, StateAttribute::OFF); Has no effekt at all

[osg-users] Headtracking

2010-07-22 Thread Thomas Klemmer
Hi folks I'm sitting here trying to set up a head tracking... I got an api that spits out a viewmatrix for the camera and now I have to get this matrix in the write place. I wrote an updateCallback for the Cameras (left/right) that looks like this. class updateCameraPosCallback : public

Re: [osg-users] osgViewer FullScreen on Horizontal Span

2010-07-20 Thread Thomas Klemmer
Well, I found the workaround myselve osg::GraphicsContext::WindowingSystemInterface* wsi = osg::GraphicsContext::getWindowingSystemInterface(); if (!wsi) { osg::notify(osg::NOTICE)Error, no WindowSystemInterface available, cannot create windows.std::endl; return; }

[osg-users] osgViewer FullScreen on Horizontal Span

2010-07-19 Thread Thomas Klemmer
Hi, I'm trying to get a stereo setup to work with osg. I have Horzontal Span (Nvidia,Linux) Desktop over two screens and I start the viewer with osg::DisplaySettings::instance()-setStereo(true); osg::DisplaySettings::instance()-setStereoMode(osg::DisplaySettings::HORIZONTAL_SPLIT); but the

[osg-users] Error when trying to start osgonv

2010-07-02 Thread Thomas Klemmer
Hi, Well I'm still pretty new to osg and I installed the binaries and stuff and for now I can work it... Now I try to get some high res meshes into my osg app by trying to convert a 3ds file with osgconv. But everytime I try to start osgconv I get this error: dyld: Library not loaded:

[osg-users] finding adjacent vertices

2010-06-13 Thread Thomas Klemmer
Hi, I have the vertexArray of a geometry and need to finde the curvatures of the mesh on each vertex. Thus I'm in need of all adjacent vertices of a vertex I'm trying to compute the curvature! Since the geometry is a Trianglestrip this would involve a lot of searching... I'm very new to OSG