Advertisement

Help! Newbie about textures and stuff!

Started by August 22, 2001 04:30 PM
5 comments, last by Moogle 23 years, 6 months ago
I have been trying to ad more than one texture for lesson 6, but neithier of my mothods work. How can I do this? I tried to make a background by simply making a quad with a texture on it -50.0f away and 50x50 big. This didn''t appear. What was I doing wrong? I want to make a demo with several sequences or "scenes", but I dont see how I can make one scene display for a while until the next one appears. How can I do this? Thanks in beforehand, Sebastian Jensen
-=Moogle=-
See on my site.

I''ve a little example for loading BMP files.
The BMP''s path is a text file and the program loads automaticaly the BMP.

========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
Advertisement
Is the polygon you''re texturing white in colour? (a.k.a. did you call glColor4f(1.0f, 1.0f, 1.0f, 1.0f) before drawing the quad?)

~ Dragonus
Thanks for the site eaven though it was french

Yes it was white
-=Moogle=-
Now it''s both.

French and english

========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
I think, and I could be wrong here, but I think that NeHe''s method for that only worked for bmp''s with a power of 2 for width and height? (256x256 etc)
Advertisement
I also had trouble with this at first. Read one of nehe''s later tutorials(I forgot which one). It explains how to load more than 1 texture.

This topic is closed to new replies.

Advertisement