Jump to content
  • Advertisement
Sign in to follow this  
666_1337

render to texture example

This topic is 5396 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. Can anyone please point me how to use SGIX_FBConfig & SGIX_PBuffer or is there some other way to render into a texture on X? I've tried anything, but everything I got were either Segmentation faults or a BadAlloc when trying to make the PBuffer's Context the current one. None of the ( 5? ) examples google found worked for me.

Share this post


Link to post
Share on other sites
Advertisement
Hmm.

Your card doesn't support the ARB version of the pbuffer extension? (no clue what it is, I'm not an openGL guru.)

This would probably be better answered in the OpenGL forum. OpenGL doesn't do anything special on *nix except use GLX instead ffo WGL or AGL.

Share this post


Link to post
Share on other sites
Quote:
Original post by C-Junkie
Your card doesn't support the ARB version of the pbuffer extension? (no clue what it is, I'm not an openGL guru.)

There is no platform independent ARB pbuffer extension. SGIX_pbuffer is the "accepted" and commonly supported pbuffer extension under X.

I managed to figure out SGIX_pbuffer just from the specification (it was rather easy, really), but my having done that hardly helps you any. If you'd like to see my code (working last time I tried it ;), I don't get much time to program anymore), it is a bit overly complex as it's part of a larger framework, I'll upload it somewhere...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!