Using a <Transform> in an Egg file I'm writing myself

I’ve been doing some digging around in this forum, paricularly this post: Egg "Transform" node cancelled by loader - #6 by drwr

From this I gather that in Egg files:

  • vertices are in world coordinates (as stated in the docs)
  • the in memory models derived from the Egg files keep their contents in “local” coordinates, from which world/rendering coordinates are derives from the transforms applied to the node they’re in
  • therefore the transforms in a <Group> are a record of how the world coordinates were arrived at, if only to reverse these to get the in memory local coordinates

So it’s sounding like the approach I’ll take is to provide a sequence of transforms to the sphere (or whatever I make) which (a) apply the transform to the vertices and (b) record the transform for transcription in the Egg file when written.

Is that sane?

Cheers,
Cameron Simpson