Hi,

I had a look at the prerender example. When I started the example (using
the framebuffer) with

    ./osgprerender --fb --image dumptruck.osg

everything is fine. But when I use a framebuffer object, like this,

    ./osgprerender --fbo --image dumptruck.osg

the image has some artifacts, and I don't why? It seems, that the image
has only 256 colors. Has someone an idea? In our research group, we use
ATI graphics cards. Could it be, that NVidia cards has no such problems?

Here are some screenshots with and without the artifacts.

http://getwww.uni-paderborn.de/~kutter/artefacts.png
<http://getwww.uni-paderborn.de/%7Ekutter/artefacts.png>
http://getwww.uni-paderborn.de/~kutter/no_artefacts.png
<http://getwww.uni-paderborn.de/%7Ekutter/no_artefacts.png>

bye
Oliver

Robert Osfield wrote:
> Have a look at the osgprerender example, it has a code path that does
> the read back, the jist of it is to attach na osg::Image to the RTT
> CameraNode.
>
> On 6/30/06, Oliver Kutter <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> I'm a newbie in OpenSceneGraph.
>> I played around with the examples and I have a question concerning
>> the "osgfbo" example in osg-1.0. The cow is rendered into a texture
>> and that texture is mapped to the polygon. Now my question: The
>> texture is the render target of the framebuffer object. Is there any
>> way I can get an image of that texture and save it to harddisk?
>>
>> regards,
>> Oliver
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/
>>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to