Having problems skinning models in ms3d
by Patrick Avella · in Torque Game Engine · 02/23/2004 (7:41 am) · 8 replies
Yes, ANOTHER topic. sorry, but I have no where else to turn. I just got done reading through the 3 tutorials on garagegames.com I could find, and even though I (afaik) followed the directions, my materials/skins are not taking.
This is what I've done. I open milkshape3d. I create a box. I go to the materials tab, i create a new material. I click the 'none' box, and select 'smileyface.jpg' (also tried with bmp and png...), the material shows up on the little orb. I click on assign. I export to dts with the exporter and don't change anything. I put smileyface.jpg into the same directory as the model (i'm replacing ammo.dts in shapes/crossbow).
i open the game, and it's just a white box. :(
what am I missing/doing wrong? Thanks so much.
This is what I've done. I open milkshape3d. I create a box. I go to the materials tab, i create a new material. I click the 'none' box, and select 'smileyface.jpg' (also tried with bmp and png...), the material shows up on the little orb. I click on assign. I export to dts with the exporter and don't change anything. I put smileyface.jpg into the same directory as the model (i'm replacing ammo.dts in shapes/crossbow).
i open the game, and it's just a white box. :(
what am I missing/doing wrong? Thanks so much.
#2
02/23/2004 (8:11 am)
Yes I am, and the texture is completely viewable in the view port. But when i replace ammo.dts and put the texture in the folder, I just get a white box.
#4
this is beginning to be frustrating......
02/23/2004 (8:48 am)
The smile texture is 80x80, and is named ammo.png and resides in the same folder as ammo.dtsthis is beginning to be frustrating......
#5
Matt
02/23/2004 (8:51 am)
In order for it to work it will need to be something like 32x32, 64x64, 128x128 etc. It doesn't have to be square in order to work but it has to be a power of two. :)Matt
#6
02/23/2004 (8:52 am)
Doh. i remember that in another engine... i'll try now.
#7
02/23/2004 (9:08 am)
Yep, works! thanks man. Odd how it doesn't say that requirement any where :P (that i've seen anyway). the transparent areas of my png come out as black, is that normal? (shouldn't a transparent area be invisible?)
#8
02/23/2004 (9:27 am)
Hey no problem, glad I could help. :) Not sure about the transparent area, maybe an alpha layer? Also the second slide in MS allows you to set the transparent value for a material, though that might not be what you are looking for.
Torque 3D Owner Michael Cozzolino
Big Monk Games