allen-cell-animated / agave

Other
34 stars 6 forks source link

Feature/transformable objects #145

Closed toloudis closed 11 months ago

toloudis commented 12 months ago

This code change accomplishes the following:

  1. begin to introduce an object hierarchy so that scene objects can be associated with transforms. e.g. SceneObject is a container for a transform. SceneLight is a SceneObject (which has a transform) that has a Light.
  2. manipulators can operate on those transforms
  3. fix several bugs with the rotation tool
  4. split large files into separate files per class (AreaLightTool, MoveTool, RotateTool etc)
  5. fix one floating-point shading bug on Windows in the gui shader
  6. Area lights are currently manipulated by rotation of their direction vector only (as seen in SceneLight::updateTransform)