Game Development Community

Forest Editor LOD texture problem

by Jason Campbell · in Torque 3D Beginner · 03/29/2014 (11:39 pm) · 2 replies

I'm using Ron Kapaun's Conifer Forest trees(Thank you Ron) and I finally got the Forest Editor to place them with the correct materials and alpha settings but when I get further away from the trees it turns to the "warning" texture. This doesn't happen when I manually place the tree in the Object Editor.

Any help would be appreciated,

Thanks

#1
03/30/2014 (5:46 pm)
(As an Example I am using Sequia_02)

Make sure that Sequia_02.cs is in the same folder as the model and material file as well as Sequia_02.DAE.imposter.dds and Sequia_02.DAE.imposter_normals.dds

Make sure the Sequia_02.cs reads as follows:

singleton TSShapeConstructor(Sequia_02DAE)
{
baseShape = "./Sequia_02.DAE";
loadLights = "0";
};

function Sequia_02DAE::onLoad(%this)
{
%this.addImposter("128", "4", "0", "0", "256", "1", "0");
}

IF all of these files are in the correct location then the .cs tells the engine to use the .dds billboard textures.

Hope that helps.

Ron



#2
03/30/2014 (9:49 pm)
Thanks Ron, I made sure I had that and had to delete the cached.dts. Everything seems to be working now. The forest editor is troublesome for me and I'm praying it will save correctly.

Thank you,
Jason