Replace Shape with Static Model

12-08-2011 11:57 AM
New Contributor
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? 

Esri CityEngine 2011.1 build 1021 (release, win32-64bit)
Tags (2)
0 Kudos
1 Reply
New Contributor II

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 -->
0 Kudos