Game Development Community

Texture problems

by Mr Tithlyon · in Torque Game Engine · 09/12/2004 (3:43 pm) · 6 replies

Im using max 5.0, and I cant seem to export textures. I followed the documentation, ticking the mapping coords box, making a detail node with a number that matches the model's number. The .png is in the same folder I am expoting too. The model exports all right, but texture doesnt come through. Here is the bottom of the .dmp file:

Shape Hierarchy:

Details:
detail2, Subtree 0, objectDetail 0, size 2

Subtrees:
Subtree 0
FRWing2 --> Object FRWing with following details: 2

Sequences:

Material list:
material #0: "testtexture".


What am I doing wrong? Is it a max 5.0 problem?

Thanks in advance

#1
09/12/2004 (3:48 pm)
Max has problems with png files. try jpeg or if th png has transparency, make an alpha channel for it and use it for max to understand it correctly.
#2
09/12/2004 (3:52 pm)
Thanks. I'll give that a go
#3
09/12/2004 (4:04 pm)
I used a .jpg, and still no joy.
#4
09/12/2004 (4:17 pm)
If it's a simple shape try avoiding details, altough this can't be the bug. look for the lates exporter for max 5, there is one I know it.
or create a file in max from scratch and start over. texture must be 256x256 (or 128x128), jpeg or png with alpha channel, uv channel 1 (only), uv coordinats, bounds around the shape and export. ime tired so i may be dizzy in my explanations but hope you'll get over it. if not, read the docs, over and overrr again.
#5
09/13/2004 (9:42 am)
Can you see the shape ?
What i can see it looks ok in your dump .
png or jpg doesnt matter it works fine .
Make a double check on the texture so you have all things on the right place
because this should be working !
#6
09/13/2004 (11:29 pm)
I got it! I was using a 400x400 jpeg. I changed it to 128x128 and away it went.

I could see the shape, it was just showed up white.

That had me stumped for weeks. Thanks everyone.