Mesh Section

Progressive sections through a topographic mesh of Zermatt, Switzerland This sketch adds to the Half-Edge Mesh sketch, a function sectionHEM() for cutting a planar section through a mesh. It also uses the Mesh Import function to instantiate the topography from a pair of .txt files (included in the .zip file below). The section function is … Continue reading

Quaternion Rotation

As always, Paul Bourke has some excellent information on Quaternions. Additionally some examples of Quaternion operations represented in code can be examined at the Game Programming Wiki. This definition is primarily concerned with using Quaternions to represent axis-angle rotation and has two methods: one rotates the point by a given angle, the second rotates the … Continue reading