Big and small objects

My understanding was that the position should be (0,0,0) at render time when the float64 of view and projection are sent to the gpu as float32 :thinking: Following that I thought that moving everything back after rendering (for animation purposes or even for physics continuous collision detection) would work as long as we ensured the camera is at the origin when rendering?

The idea was to do the following:

  1. Perform the animation (which sets the position of the planet far away from the origin)
  2. Translate the camera to the origin alongside everything else
  3. Render the scene
  4. Put everything back in place

This makes me confused as of why using onBeforeAnimationsObservable instead of onBeforeRenderObservable. In that case it seems like step 1 and step 2 are reversed and it leads to the camera being far away from the origin when rendering in step 3 :thinking: