PDA

View Full Version : Create an ICON



djavan
03-18-2003, 09:52 AM
I just wondered if it is possible to save a drawn image by OpenGL such that it can then be used as an Icon?
(VB says it should be *.ico or *.cur!?!?"

Thanks a lot for your help.

Pops
03-18-2003, 02:12 PM
I believe you can render to a texture rather than the screen. Also I believe you should be able to save that texture as a new bitmap. You then could use any drawing package (even paint) to save as an icon.

Hope this helps

djavan
03-18-2003, 06:03 PM
Thanks a lot for the help.

I did some searching on the Internet and found a software called IconForge that can be used to convert a BMP file to an ICO/CUR. So, I saved my OpenGL-generated image (as a BMP file) and then used IconForge to get the ICON.