Hi,

I recently started some experimenting with osgPPU.
The first results are very nice and promising!! (osgppu rocks ;-))

I added osgswig wrappers to the osgswig project to do some testing, and i
experienced a few glitches.

1. there were some manipulation glitches, these were caused by our camera
setting COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES on. Turning this off
resolved the issue.

2. i had some resize problems, after searching on the forum. I found a
solution, by adding some additional explicit resize calls ( for example in
an event handler ):

 osgPPU::Camera::resizeViewport(0,0, ea.getWindowWidth(),
ea.getWindowHeight(), viewer->getCamera());
viewer->getProcessor()->onViewportChange();

this does work when the x and y of the viewport are 0, 0 but i see wrong
results if x and y are increased ( purple bars appear ).

3. an additional frame() call was needed after the scene is loaded and
before the postprocessor is attached, otherwise i would see only a black
screen.

Grtz,

René
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to