Hello Erik,
Erik Podetti wrote:
> Hi all,
> anyone know if it is possible to render multiple times into a
> texture but with different offset, maybe through a FBO? I mean for
> example that you have a 1024x1024 texture and I want to render 4 times a
> fragment of 512x512 to obtain something like a texture atlas. So that
> the final texture of 1024x1024 contains 4 render of 512x512. Hope I
> explained myself.
the FBOViewport is a Viewport and from a quick glance over the code it
looks like it respects the left, right, top, bottom settings to limit
drawing to a rectangular area of the textures.
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users