PDA

View Full Version : drawing simple 2D pic



longan
07-19-2005, 06:01 PM
can someone help me to draw any kind of pic using this open gl/C++? for example to draw the lake view scene....

thanks....

Hylke Donker
07-19-2005, 11:45 PM
Load the file to be renderd.
Create a texture and pass the bits, width and height to glTexImage*D([..]).
Create a geometric primitive with the texture applied to it.
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=2;t=018984
^ You might wanna take a look at that.
Hylke