Dirk Reiners wrote:
        Hi Estee,

On Fri, 2005-04-22 at 10:03 +0900, [EMAIL PROTECTED] wrote:

Hi all,

I want to render to a texture for my two pass rendering. :)
I heard that someone used an external PBuffer wrapper lib successfully
in OpenSG.
If you did it, could you please give me an example or a clue how to
use it in OpenSG?

there are (at least) two ways of doing that. One is using a
PassiveWindow on a PBuffer (somebody else can hopefully answer that).

Yup. Using a passive window is quite easy, so if you grab some pbuffer wrapper lib, it becomes a breeze. (nvidia has some useful code for the latter, I can send you some if you don't have their SDK or the pbuffer example.)

I haven't yet done both, but I've used each (nvidias pbuffer lib in glut app, and passive window with context controlled by myself) so it's definetely possible. (Will implement myself soon :)

Best regards
/Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to