Hi Oliver,

you also need to set the dirty flag.

Bye,
Yvonne
> Hi,
>
> I was not working for a very long time with OpenSG. At that time I 
> used OpenSG 1.6 with an alpha Version of Yvonne Jung's FBOViewport class.
>
> Now I was trying to get it running again with the Windows Install 
> Version 1.8. As information, I'm doing some general purpose 
> computation with the fbo class.
> It's nearly working, but when I'm rendering to texture and I'm 
> changing the size of the texture, e.g. 256x256 to 128x128, I'm getting 
> this warnings:
>
> WARNING:  FBO render post OpenGL Error: (null)!
> WARNING:  8cd9: framebuffer FRAMEBUFFER_DIMENSIONS
>
> and I think, this leads to the fact, that my programm is not working 
> correctly.
>
> This is my code how I'm changing the size of the texture and the fbo 
> storage. The code was working the the old 1.6 and alpha fbo class version.
>
> beginEditCP (fboViewport, FBOViewport::StorageWidthFieldMask | 
> FBOViewport::StorageHeightFieldMask);
>   fboViewport->setSize(0, 0, width-1, width-1);
>   fboViewport->setStorageWidth(width);
>   fboViewport->setStorageHeight(height);
> endEditCP (fboViewport, FBOViewport::StorageWidthFieldMask | 
> FBOViewport::StorageHeightFieldMask);
>
> beginEditCP(fboImage);
>   fboImage->set(Image::OSG_RGBA_PF, width, height, 1, 1, 1, 0, NULL, 
> Image::OSG_FLOAT32_IMAGEDATA);
> endEditCP(fboImage);
>
>
>
> Anyone ideas?
>
> regards,
> Oliver
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>   


-- 
Yvonne Jung
Fraunhofer-IGD    | Tel.: ++49-6151-155-290
Fraunhoferstr. 5  | Fax.: ++49-6151-155-196
64283 Darmstadt   | email: [EMAIL PROTECTED]
Germany           | http://www.igd.fhg.de/igd-a4


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to