POV-Ray : Newsgroups : povray.binaries.images : Concave shapes (43KB) : Re: truncated cubes. Server Time
29 Apr 2024 00:02:36 EDT (-0400)
  Re: truncated cubes.  
From: Tor Olav Kristensen
Date: 9 Oct 2000 14:43:37
Message: <39E210D5.A2979329@online.no>
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'
truncatedcube03.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.