Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Reading Specific Data from Buffer


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Metus   Members   -  Reputation: 168

Like
Likes
Like

Posted 17 June 2001 - 10:04 PM

Hi! I''m Using OpenGL to read from an emulator videobuffer (unsigned int 288*224)! I don''t want to read the FIRST 32 and LAST 32 bytes per line. so the buffer will be 256*224, but i can''t get it to work? Can someone please help me?

Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 18 June 2001 - 10:47 AM

use glReadPixels(..)

http://members.xoom.com/myBollux

#3 Metus   Members   -  Reputation: 168

Like
Likes
Like

Posted 18 June 2001 - 07:52 PM

hmm..glCopyPixels..isn''t that used with the frame buffer?
How do I use the glCopyPixels(...) to ignore the 16 first bytes and the 16 last bytes at each row and copy the rest into a GLuint GLTexture??

Someone. please?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS