I haveshape points with type and height for individual trees.
I would like to know how to write a rule that I can use to place the .obj models using
the attributes from the shape-file. The points are loaded in CE at their right
I manage to
get the right height and rotate them use this rule from the forum, but I get
Unknown Texture… The mtl is in the assets folder.
attr Hojd = 0
attr TREETYPE = "Witch_Hazel_Model_0"
cowTex = ("assets/Trad/Witch_Hazel_Model.mtl")
getAssetPath = ( "assets/Trad/" + TREETYPE + "/Witch_Hazel_Model_0.obj" )
Best regards Tomas