How to texture a cube?

Started by
3 comments, last by zip7000 20 years, 10 months ago
hi, what is the best way to texture a cube using a bmp image? I would like to apply this image on each face. Should I use the triangle strip?
Advertisement
use a series of quads.. if your go to nehe.gamedev.net and have a look at tutorial number 6, this shows a simple way to texture a cube. which leads nicely to teh later toturials showinf lighting and blending.
thank you!!

I can see the code but it duplicates points. I would like to use a minimum of points. That''s why I would like use ''triangle strip'' method.

thanks
Just make it work first. If you don''t know how to do texture mapping then triangle strips are a bit further down the road.
I already put a texture(bmp image) on the top face on a cube. but I can''t put my image on the others face. that''s why I would like to use ''triangle strip''

thank you for your answers!!

This topic is closed to new replies.

Advertisement