terrachild
09-10-2006 13:05:00
In my .osm file, exported from 3dsMax, I see the omni light that exists in my 3ds scene.
<lights>
<light name="Omni01" type="omni" on="true" CastShadows="no" intensity="1">
<position x="-12.163" y="34.691" z="18.192" />
<rotation x="0" y="0" z="-0" w="-1" />
<scale x="1" y="1" z="1" />
<color r="1" g="1" b="1" />
<specular r="1" g="1" b="1" />
</light>
</lights>
But, when I load the .osm file and check ogre.log, I see everything else loaded except the light. The light does work though.
Where is the light data stored?
Also, When I export my .osm file from 3dsMax, and use meshes and material subdirectories, Ogre doesn't find the material folder even though it does find the exported meshes folder.
Here is the .osm entry:
<locations auto="no">
<subDir path="meshes/" />
<subDir path="materials/" />
</locations>
What's up?
chris
<lights>
<light name="Omni01" type="omni" on="true" CastShadows="no" intensity="1">
<position x="-12.163" y="34.691" z="18.192" />
<rotation x="0" y="0" z="-0" w="-1" />
<scale x="1" y="1" z="1" />
<color r="1" g="1" b="1" />
<specular r="1" g="1" b="1" />
</light>
</lights>
But, when I load the .osm file and check ogre.log, I see everything else loaded except the light. The light does work though.
Where is the light data stored?
Also, When I export my .osm file from 3dsMax, and use meshes and material subdirectories, Ogre doesn't find the material folder even though it does find the exported meshes folder.
Here is the .osm entry:
<locations auto="no">
<subDir path="meshes/" />
<subDir path="materials/" />
</locations>
What's up?
chris