The design of a large scale space sim

sorry for not making it more clear.



main Actor = cameraLocation


  1. you have the data of where each creature is located.
  2. at rendering step you keep only those adjacent to the main actor. We keep 5 partitions top,left,right,south,center.
  3. the “data space” is position of each creature in partitions, however data here is (x,y,z,partition), jme cant understand 4ples. You convert the “data space” into “rendering space”.

    “Rendering space” will be a coordinate system where the camera is always at (0,0,0), and everything will be located based on that.
  4. You want to create a method that converts from local coordinates of an object into local coordinates of another object (cameraPosition in this case at (0,0,0)).

    4ple ConvertToLocal( 4ple creaturePosition, 4ple cameraPosition )

    {

    }