Tutorial: Away3D TypeScript: Primitives


Primitives: the building blocks of any 3D environment. So useful and so common, it would be impractical to try to import these geometric figures on a regular basis. Fortunately the good guys at The Away Foundation have done us a favor by including several of the most common shapes for us to pull, stretch, squeeze, flatten, inflate, etc. etc.

As of this writing, there are 7 basic primitive geometries that are defined in the Away3D TypeScript library. Click on a link below for a more detailed example of each primitive.

As well as Wireframe counterparts for 5 of the above basic geometries plus a couple extras.

The LineSegment I feel is a special Primitive, so I have separated it from the rest.

Posted in Away3D TypeScript, HTML, JavaScript Tagged with: , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *