View Full Version : Photoshop files
Hi, Anybody here has a function or procedure that loads a photoshop file and then uses it like a texture.
cyclone
09-10-2001, 09:15 AM
Convert it to the TGA, BMP, PNG or TIFF file ...
Or save directly your picture in photoshop with one of this formats ...
They already exist a lot of OpenGL texture loaders for this warious formats, so why reinvent the wheel for nothing ???
@+
Cyclone
Would you tell me where I could find some examples? I have an example from nehe website that loads a bmp file... but I really want to know how to load the other file formats.
Thanx.
cyclone
09-11-2001, 01:53 AM
You can find somes examples for .png, .jpg and .bmp here (it's Delphi sources, but this is easy to convert this in C/C++).
http://delphigl.cfxweb.net/
Or you can find various file formats infos at
http://www.dcs.ed.ac.uk/home/mxr/gfx/2d-hi.html
or at
http://www.wotsit.org/
@+
Cyclone
Thank you Cyclone, I have been loooking for that as well
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.