|
|
Rune S. Johansen schrieb:
> It is quite simple, still I don't quite know how to explain it.
> If the keyword was spherize [float] the following:
> box {
> <-1,-1,-1>, <+1,+1,+1>
> spherize 1.5
> }
> should make a rounded box from <-2.5,-2.5,-2.5> to <+2.5,+2.5,+2.5>.
> It should sort of extrude any shape in a spherical way so things get bigger
> and rounded.
If your initial body is a polyhedron, just make a macro which shifts
the faces outward by the given distance, add cylinders for the edges,
and spheres for the corners.
This is probably hard for generic shapes, but should be easy for cubes.
If the shape is not a polyhedron, you are sort of lost: The set of
all points in the r-environment (for positive r) of a polynomial
surface might again be a polynomial, but of much higher order.
Ralf
Post a reply to this message
|
|