Page 1 of 1

Right Square Frustum

Posted: Thu 21. May 2015, 20:20
by NormanGraf
Hello, can anyone point me to an efficient implementation of a right square frustum (truncated square pyramid)? I'm interested in creating a model of an object composed of several hundred such volumes. All have the same shape, but are placed at different positions.
Thank you.

Re: Right Square Frustum

Posted: Fri 4. Sep 2015, 16:51
by gunn
I'm pretty sure the most efficient implementation would be an IndexedFaceSet. You could take the cube as defined in the tutorial here and just change four of the coordinates to convert it into the desired right square frustrum.