[osg-users] Can't resize framebuffer texture attachments

2012-03-19 Thread Sean O'Connell
I'm trying to resize the textures attached to my framebuffer during run-time, however the viewport size that the scene is rendered into stays the same. If the framebuffer starts off at 64x64 pixels and I then resize to 512x512, the output only contains rendered pixels in the lower left 64x64

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-29 Thread Sean O'Connell
I'm currently working on a project where I have to integrate library into a 3rd party application's source code. The library consists of a custom osg Camera that takes 9 snapshots of the user's scene. The headache's I've run into are the following: 1. I cannot seem to turn off the 3rd

Re: [osg-users] Rendering without calling osgViewer::frame

2012-02-29 Thread Sean O'Connell
3. I don't know if this is related, but when adding my camera to the 3rd party app's osgViewer I am unable to change the color and depth buffer resolution. Calling setTextureSize and Camera::setViewport will seem to increase the size of the texture but the actual contents that get rendered

[osg-users] Rendering without calling osgViewer::frame

2012-02-28 Thread Sean O'Connell
In my application I have a bunch of cameras that render to textures. Is there a way for me to trigger them to render without calling osgViewer::frame or going through the osgViewer class? Ideally I could simply call camera-renderView() or something similar. Is this possible?

Re: [osg-users] OSG 3.0.1 examples not working correctly?

2012-01-20 Thread Sean O'Connell
AlphaPixel's binaries work. I'll try setting those cmake flags. Thanks a lot guys! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44938#44938 ___ osg-users mailing list

[osg-users] Save Texture2D to disk

2012-01-20 Thread Sean O'Connell
I'm using a 3rd party library that returns a Texture2D object that represents a snapshot of the scene. However they don't attach an Image object to it. How can I retrieve the pixel data in the Texture2D object and save to disk? I don't see any accessor methods in either Texture2D or Texture

[osg-users] OSG 3.0.1 examples not working correctly?

2012-01-19 Thread Sean O'Connell
Hi, I downloaded OSG 3.0.1, compiled the examples, but none of them seem to run correctly. I can't get the camera mouse controls to work at all; the camera simply stays stationary. In other demos no content is displayed. In my own, extremely simple demo (that worked with OSG 2.8), the

[osg-users] Setting OpenGL state manually then rendering via OSG

2011-12-27 Thread Sean O'Connell
Hi, I'm a little stuck on solving an issue related to integrating a standalone OpenGL-based API with a simple OSG demo. The OpenGL library sets some states in the background, specifically: framebuffer object, multisampling, stencil tests, scissor tests and viewport settings. How do I tell