Game Development Community

How to combine model and texture?

by Gomes812 · in Technical Issues · 08/25/2008 (10:28 am) · 5 replies

So I've got ready dts model and I've got ready texture. How can I combine them?

#1
08/25/2008 (10:40 am)
Well, you apply the texture when you're modeling. It depends which modelling package you use. In Milkshape, there are materials that you apply to groups. Or, you can create your model and UV map it. Start here for a good start on tutorials.
#2
08/25/2008 (10:40 am)
In your 3d model application, apply your material to your Mesh.
Export your mesh as a DTS.
Place Mesh and material in the same folder.
Place that folder in the 'data/shapes/ folder
In game, in the world editor (f11) then (f4) to place objects.
Goto your folder and select your DTS.
You should see your DTS with the texture applied.
#3
08/25/2008 (11:46 am)
Yes but the problem is that I'm using Cinema 4D. And when i export the model it doesn't show the texture.
#4
08/25/2008 (11:52 am)
Check your conole.log to see if it cannot locate the texture file.
#5
08/25/2008 (12:03 pm)
There is no error in console. I think it is because of bad exporting.