On Thu, 2004-10-07 at 07:59, Enrico Borrione wrote:
> thanks christoph,
> this was of great help.
> now my question is... 
> where can i find some snipplets of code showing how to use it?

Grmbl, yeah I need to move those over...

A bunch of Window-specific test programs are in
Source/WindowSystem/GLUT. That's a leftover from the very beginning,
when I didn't want to use GLUT for all the test programs.

Take a look at testWindowGLUTTGF.cpp, it renders one port, grabs it and
just renders a single ploygon geometry with for color correction, but
you use it on arbitrary geometry.

But this only works with displayable framebuffers (i.e. Windows). For 16
bit you need to open a PBuffer, and then you actually should be able to
use the same method for grabbing into textures. Hm... I'll need to try
that.

        Dirk




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to