Advertisement

Activating Screnshots?

Started by February 14, 2003 02:45 AM
8 comments, last by Alura 22 years ago
Well, i''m basing some code from game tutorial 7, and i want to know how to enable the taking of screnshots, until now, i''ve had no sucess, can someone help me with this?
glReadPixels will read the data from the framebuffer and then you can save it to a file. If you save it as a RAW file there should be no need to process the data first.
Advertisement
I want to save it as a TGA, i''ve got the tga loading code done, but i don''t know how to use glReadPixels and then order it to save to a file.
Use Devil.., it''s easier, and you can choose what file format you want it to save with.
did you already test the print screen key?

i haven t tested it on my own and i can t because i use direct input but i have been told that it works with any application as long you don t use directinput
http://www.8ung.at/basiror/theironcross.html
Basier, Print Screen Key works EVERYWHERE ! You can use it even in windows... Just press print screen key and paste image to paint or other software...
Advertisement
You can''t use Print Screen in windows if you enable DirectInput...
=====================================Regards,Juan Pablo (McKrackeN) Bettini Psychoban Official Site:http://www.psychoban.comPsychoban on iTunes App Store:http://itunes.apple.com/us/app/psychoban/id378692853?mt=8
quote:
Original post by Anonymous Poster
Basier, Print Screen Key works EVERYWHERE ! You can use it even in windows... Just press print screen key and paste image to paint or other software...


as said above^^^it doesn t work with direct input
i suggest you test it on your own

http://www.8ung.at/basiror/theironcross.html
Check on my site :

www.slug-production.be.tf

I''ve a simple example for taking a screenshot.

========================
Leyder Dylan (dylan.leyder@slug-production.be.tf
http://www.slug-production.be.tf/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
Strange... I use DirectInput in my program, and I can use the print screen button...
Why can''t you??

This topic is closed to new replies.

Advertisement