PDA

View Full Version : 2D textures & API question



Kullgen
11-10-2004, 12:24 PM
Is there support for displaying and manipulating 2D flat textures in open GL?

Also im looking for good API reference for OpenGL. Is there a clean, searchable refrence for OpenGL, im looking for basically a java-doc style documentation.

Aeluned
11-10-2004, 12:52 PM
Is there support for displaying and manipulating 2D flat textures in open GL?
yeah...map the texture to a quad and draw the quad.

what do you mean by manipulating a texture?
load the image data into system memory and then do whatever you want with it.

this is probably the best reference you can get your hands on:
http://www.opengl.org/documentation/red_book_1.0/

marco_dup1
11-11-2004, 12:17 AM
Originally posted by Kullgen:
Is there support for displaying and manipulating 2D flat textures in open GL?

Also im looking for good API reference for OpenGL. Is there a clean, searchable refrence for OpenGL, im looking for basically a java-doc style documentation.Maybe you should read the OpenGL Programming Guide before you try something. Don't take this old version on the net. Try to get a newer one.
From your question I believe that you haven't understand OpenGL, so a API reference would help you. And yes, there ist some stuff to do that you want. But I believe its much more low level as what you want.