3D Design

Defntiions

Three.js is the 3D library that interacts with the GPU. All 3D operations are currently executed through Three.js.

ThreeScene - name for the variable that contains the Three.js scene object that 3D objects are added to and removed from to be displayed in 3D.

s

Classes

CM3Object

- ControlObject - the object a user may use to control a CM3Object such as a light. Lights and cameras do appear as visible objects to the user so a control object is used to control the light.

CM3Scene - contains objects that appear in a scene

CM3LayerStack - a stack of layers that are grouped together (i.e. a flat earth or spherical earth set of georeferenced layers)

- Has a projection to convert from the layer stack ref coordinates into 3D coordinates

CM3Layer - a georeferenced layer

 

Actions

Visible:

Hidden: removed from scene: both the CM3Object and the Three geometry