Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Reading Specific Data from Buffer

4: Adsense

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   

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?

#2 zedzeek   Members   

528
Like
Likes
Like

Posted 18 June 2001 - 10:47 AM

use glReadPixels(..)

http://members.xoom.com/myBollux

#3 Metus   Members   

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.