Seamless3d - Seamless3d Format

Seamless3d Format

Seamless3d format (smls) is a text-based human readable format with some aspects common to VRML.

The following example shows the code (containing SeamlessScript) for an animated spinning box:

#SMLS V2.127 utf8 Seamless{ effect ColorEffect{} skeleton DEF part Part{} build BoxBuild{ part USE part } } Anim{ play TRUE pause FALSE loop TRUE period 4 void onFrame(float v){ part.rotation = Rotation(0, 1, 0, PI * 2 * v); } }

Read more about this topic:  Seamless3d