Re: [osg-users] Problems with RTT-cameras when changi ng window size

2008-10-28 Thread Steffen Kim
Hi. The cameras are part of the scene graph. I was still using frame buffer based cameras because they seem to be the only way to get a real-time-sufficient performance for more complex applications. I figured out that this causes the problem and found no way to get rid of the error - even

[osg-users] Problems with RTT-cameras when changing window size

2008-10-24 Thread Steffen Kim
Hi, I have a little problem with some Render-To-Texture-cameras in connection with a WindowSizeHandler. I took a bit of code out of an application I wrote earlier to put it into a lib and make the functions usable for other apps. When testing this lib with a simple example program consisting

Re: [osg-users] Spatial View SVI autosteroscopic display support.

2008-09-22 Thread Steffen Kim
Hi Chris. I spent quite some time on doing just what you are planning to do - getting an OpenSceneGraph-application to work with a Spatial View display. In the end I was successful. I don't know at the moment if I can provide you with any code but of course I can tell you how I am doing it. I

Re: [osg-users] performance issues with RTT

2008-09-08 Thread Steffen Kim
Hi, after reading Viggo's post I changed my implementation to use FRAME_BUFFER instead of FRAME_BUFFER_OBJECT and this did the job for me. At least on the fast machine (the one I posted details about earlier) it now runs fast enough without having to make sacrifices resolution-wise and this is

Re: [osg-users] performance issues with RTT

2008-09-07 Thread Steffen Kim
Good morning, I'm just rendering to texture, no images or pixel reading involved. Regards, Steffen Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:

[osg-users] performance issues with RTT

2008-09-05 Thread Steffen Kim
Hi everybody. I have some performance problems with rendering to texture. I am doing some interlacing for an autostereoscopic display. Therefor I need 5 different views on the scene, which I render into textures I later use as input for the interlacing API. But doing the RTT slows down my

Re: [osg-users] performance issues with RTT

2008-09-05 Thread Steffen Kim
Thanks for the hints so far... I gave you wrong information since I forgot that I take care of the NPOT-stuff myself. The API I use later on needs POT-textures so I make sure that only POT-textures are rendered. So in fact my textures are normally 2048x1024. I know that the performance issues

Re: [osg-users] Getting the opengl texture id of an osg::Texture2D

2008-07-25 Thread Steffen Kim
Thanks for the help, everything seems to work fine so far. But now I'm a little bit lost on what the best way for creating an osg::Texture2D out of the ID of an OpenGL-texture is. I have the id of an OpenGL-texture as the result delivered by the API I'm using and I want to get this texture as

[osg-users] problems with checking for OpenGL extensions

2008-07-24 Thread Steffen Kim
Hi, I've got another problem with using OpenGL-code in connection with OpenSceneGraph. I have an OpenGL-API that I use in my OSG-application. This API won't work when there are some required OpenGl-extensions missing. Instead it will list the missing extensions. In my application it does

[osg-users] Getting the opengl texture id of an osg::Texture2D

2008-07-23 Thread Steffen Kim
Hi, I cannot find the correct function to get the OpenGL texture-id of an osg::Texture2D. I have several textures in OSG that I want to use as input for a library that needs the textures as GLuint. How do I get my OSG-textures in there? And how can I create an osg::Texture2D out of the

[osg-users] render to texture only delivers black texture

2008-07-10 Thread Steffen Kim
Hi everyone. I have some issues with rendering to a texture. I am writing a plug-in for an application. This application has a main-viewer-window, where it displays a scene. My plug-in has an own window with a new viewer and everything. The new window now needs a texture showing what the main

[osg-users] osg::Texture2D and OpenGL textures working together

2008-06-26 Thread Steffen Kim
Hi everybody, I have never used OpenGL and OpenSceneGraph together (and only a little bit of OpenGL alone), so I'm a little unsure of what the best way to solve the following problem is. I want to use an API for interlacing different views on a scene for an autostereoscopic display. The API