Eventually I'd like to be able to render trees in CE based on a point shapefile that contains attributes such as tree species and trunk diameter.
As a learning exercise I've imported a shapefile into CE that contains points that represent trees. I have a 3D model of a tree that I exported from Sketchup as a Collada file. I used this rule to simply replace a point (CE shape) with the tree model:
tree --> i( "models/simpletree.dae" )
However the scale of the tree changes when I import into CE and so I'm wondering if it is possible to retain the original scale of the 3D model when replacing a shape?
To ensure that you import the static models at the right scale I have found that if you set the scale to 0 before you insert the object it will import at the scale at which the model is stored ( in my case 1 unit = 1 m). See below:
Tree --> s(0,0,0) i("models/simpletree.obj") Simple_Tree