Ron Parker wrote:
> ...
> So what you want is a cube with beveled edges. The size of the bevel is a
> factor in finding the corners.
>
> What used to be a square face will still be a square face, but it will be
> moved inward on all sides by the size of the bevel. What used to be an edge
> will now be a rectangular face; connect corresponding edges of the new square
> faces to find the twelve new faces. What used to be a vertex will now be a
> triangular face; connect corresponding corners of the new square faces to
> find the eight new faces. The final object will have 26 faces, with a total
> of 44 triangles.
Are you sure about all this ? :)
See enclosed image.
To Greg:
When I've cleaned up the source code (that I believe
solves your problem), I'll post it.
Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html
Post a reply to this message
Attachments:
Download 'truncatedcube03.jpg' (18 KB)
Preview of image 'truncatedcube03.jpg'
|