Uh, obviously I meant
TextureChunkPtr copiedTex = TextureChunk::create();
fboviewport->copyToTexture( GL_COLOR_ATTACHMENT0_EXT, copiedTex );
^^^^^^^^^
sorry for the typo. Also, in case I'll have to extend the FBOViewport myself,
what could be the best opengl command to use?
Thanks again!
Scrive [EMAIL PROTECTED]:
> Hi there,
> i was looking for some kind of method to copy a FBOViewport
> GL_COLOR_ATTACHMENTX TextureChunk into another TextureChunk.. something like
>
> TextureChunkPtr copiedTex = TextureChunk::create();
> fboviewport->copyToTexture( GL_COLOR_ATTACHMENT0_EXT, texture );
>
> but unfortunately there's nothing like that :) Is there any high-level OpenSG
> tecnique I could use to achieve this result or do I have to extend
> FBOViewport myself?
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users