Code: Select all
<mesh>
<name>ajax</name>
<external>
<path>..\Ajax_Jotero_com\Ajax_Jotero_com.3ds</path>
</external>
</mesh>
<model>
<normal_smoothing>true</normal_smoothing>
<rotation>
<matrix>
1 0 0 0 1 0 0 0 1
</matrix>
</rotation>
<pos>-1 -0.8 0</pos>
<scale>0.03</scale>
<mesh_name>ajax</mesh_name>
</model>
There are tags to define materials, or mesh, or model, but what links them alltogether in a renderable object ?
I'm trying to make *.obj files to work, and I believe they don't show up because of material assignements, the geometry is parsed fine tho.
OnoSendai, you said (reported by Arneoog) obj files should work. In obj files the materials are in a separate mtl file, do you see an issue here ?
Then I put a mtl file aside the obj file. The mtl file shows:
Code: Select all
newmtl Default
Ns 32
d 1
illum 2
Kd 0.8 0.8 0.8
Ks 0 0 0
Code: Select all
<material>
<name>lambert1</name>
<diffuse>
<colour>0.5 0.5 0.5</colour>
</diffuse>
</material>
<mesh>
<name>tstobj</name>
<external>
<path>objtst\objtst.obj</path>
</external>
</mesh>
<model>
<pos>0 0 0</pos>
<scale>1.0</scale>
<mesh_name>tstobj</mesh_name>>
</model>
<matoverride matname="Default">
<diffuse>
<colour>0.737255 0.74902 0.709804</colour>
</diffuse>
</matoverride>
I know people using 3ds files won't bother with that, but at least please check the syntax, maybe I misunderstood what <matoverride> is for... atm I've just tried anything I could so any support, even just moral will be of some help

Thx