Talk:Space.as

From Organic Design wiki
  1. The general role of 3D in the project
  • Organisational rendering
  • Geoscope
  • Avatars
  1. The SWF 3D space implementation

This script is for inclusion in other ActionScript scripts which gives them the ability to instantiate their symbols into the 3D space. This version of the space was developed for Amanda's SIC-Games project, but was designed also to accomodate the difficult recursion requirements of the project.

This space not only handles the z-ordering and the usual x,y,z → x,y,scale coordinate reduction, but also allows for a hierarchy (tree) of 3D objects who's coordinates and dynamics are relative to their parent.

3D object classes can be defined which include an init and dynamics method which are called by the space on object instantiation and per-frame. Modular motion-classes can be defined which can be pushed onto a motion-classes list contained in each 3D object.

Currently the space has the following 3D objects and motion classes defined:

  • StarBurst
  • Torus
  • Implode
  • StarField
  • Float


Notes
  • The dynamics of this space are based on real-time, not on frames.

See also