PDA

View Full Version : texturing pointers



eckiller
04-17-2000, 03:46 PM
Ggrrr...I've been trying to texture a quake 2 model for sometime without any luck. I'm using texture arrays and indices but i beleive i may be using them wrong. Can someone give me an example of perhaps a cube textured using glTexPointer and glVertexPointer, also use indices for the vertices and for the texture coordinates. Thanks.

Frank

Nate
04-17-2000, 06:38 PM
Take a look at this demo, http://nate.scuzzy.net/valdemo/valdemo.zip (http://nate.scuzzy.net/valdemo/valdemo.zip,) it does exactly what you are looking for.

Nate Miller http://nate.scuzzy.net

[This message has been edited by Nate (edited 04-17-2000).]