The code might look OK, but, sadly, the results don't look good at all. I want what you get in the first screenshot you posted - the 2007 18:49 one - the guy (with a non-white head) wearing jeans and a blue jacket. As you know, I definitely do want the four textures to be applied to this model. Instead, I get the following results with different bits of code removed / changed:
With no normals:
With normals, and three calls to glTexCoord2f instead of six calls to glMultiTexCoord2f:
With the normals and the six calls to glMultiTexCoord2f in place:
With fTexture.bind; removed:
So, the white head is the one common thing among all three outcomes. This is particular to using gl3ds for me I'm afraid, the same model (in ASCII format) is rendering OK, i.e. it has a textured head, when using the Sulaco program, it is rendering OK when being imported in to Milkshape, also my own loader (in ms3d format) renders the head OK.
What results are you getting? Something like that, but with a non-white head? Is it time to give up, or do we try more things?
You know what it feels like..? It feels like I'm only rendering three textures... somehow the program can only handle three, or the last one in the .txt file is not being counted or something - this feels more right because it is the last one in the file. I wonder if it used five textures I would only see four? I know it can't be something like this - but it's what it feels like.
I looked at this again today, it's been some time since I last had a look at this.
I noticed the face.jpg was a nPoT texture size... so on a whim, I used Paint Shop Pro to scale it to both a 256x256 and 512x512 .jpg and I see the head in the character using the program this thread was relating to all those months ago. I see the head with the 256x256 .jpg or the 512x512 .jpg.
Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.