Archived

This topic is now archived and is closed to further replies.

How to texture a cube?

This topic is 5308 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites
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!!

Share this post


Link to post
Share on other sites