Thursday, July 10, 2008

Quick and dirty textures for TriangleMeshEnvironment entities

I have not found a nice way of doing this yet. So this blog is subject to serious revision. If you want a texture applied to a TriangleMeshEnvironment entity, I recommend you create the TriangleMeshEnvironment entity as described [HERE].

You will notice you can't load a mesh. But I did find one way. Create a new floorplan entity. Then click 'Edit Entity' (YOU MUST CLICK IT) --> Edit the Entity state and select the same mesh ('.obj' file) as you did for the TriangleMeshEnvironment entity and also the texture you want. Then just click on the 'Wall' button and the 'Ok' button. I created the FloorPlan 10m higher so I can tell the difference between the two.

Then all I did was remove the FloorPlan entity. The TriangleMeshEnvironment entity keeps the texture. But it will not reload properly. For now I recommend sticking with just the effects.

0 incoming messages (comments):