|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm thinking of a "bin" that is sort of like an open-top box, but one side
is lower and tipped forward, so
it's easy to grab stuff if it's sitting on a shelf.
I don't want sharp angles like it's made of 5 flat slabs. A real plastic
bin has rounded edges. Since one of the faces is at an angle, how might I
do that?
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
John M. Dlugosz wrote:
>
> I'm thinking of a "bin" that is sort of like an open-top box, but one side
> is lower and tipped forward, so
> it's easy to grab stuff if it's sitting on a shelf.
>
> I don't want sharp angles like it's made of 5 flat slabs. A real plastic
> bin has rounded edges. Since one of the faces is at an angle, how might I
> do that?
Hmm, what are those things called that look like rounded-off cubes?
Super-something?
Well, anyway, if you can use those in CSG, then your problem is solved:
Add a tilted one to a straight one, cut off the top at an angle, and
subtract a smaller version from it to make it hollow inside.
Alternatively, you can get the same effect using boxes, cylinders, and
spheres. Your CSG code will be a bit more complex, though.
-Xplo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
'superellipsoid' can slow when used in some CSG but that may be the
best way anyhow. If a need for speed going with alternative two, as
Xplo suggests, would be my advice.
For nearly square "super L's" use low numbers like <0.1,0.1>
Bob
Xplo Eristotle <inq### [at] unforgettablecom> wrote in message
news:37D### [at] unforgettablecom...
> John M. Dlugosz wrote:
> >
> > I'm thinking of a "bin" that is sort of like an open-top box, but
one side
> > is lower and tipped forward, so
> > it's easy to grab stuff if it's sitting on a shelf.
> >
> > I don't want sharp angles like it's made of 5 flat slabs. A real
plastic
> > bin has rounded edges. Since one of the faces is at an angle, how
might I
> > do that?
>
> Hmm, what are those things called that look like rounded-off cubes?
> Super-something?
>
> Well, anyway, if you can use those in CSG, then your problem is
solved:
> Add a tilted one to a straight one, cut off the top at an angle, and
> subtract a smaller version from it to make it hollow inside.
>
> Alternatively, you can get the same effect using boxes, cylinders,
and
> spheres. Your CSG code will be a bit more complex, though.
>
> -Xplo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In my macro collection(binaries.utilities, posted by Ken) there are
macros for making rounded objects out of boxes, cylinders, and cones.
They are CSG objects with the edges rounded with torii or cylinders, or
the end caps with spheres for the cone. I have a newer version almost
finished which does a better job-I will try to get it ready for upload,
but school is starting tomorrow, and I have several other projects
going.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Xplo Eristotle <inq### [at] unforgettablecom> wrote in message
news:37D### [at] unforgettablecom...
> Hmm, what are those things called that look like rounded-off cubes?
> Super-something?
>
> Well, anyway, if you can use those in CSG, then your problem is solved:
> Add a tilted one to a straight one, cut off the top at an angle, and
> subtract a smaller version from it to make it hollow inside.
>
> Alternatively, you can get the same effect using boxes, cylinders, and
> spheres. Your CSG code will be a bit more complex, though.
A superellipoid is square, a three-d "round rect". Cutting the top off at
an angle won't give me the rounding within the edge exposed by that cut.
But that does give me an idea: make a cube structure (either method) and
then use a matrix scale to shear it. I'll see what that does for me
shortly.
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
John M. Dlugosz <joh### [at] dlugoszcom> wrote in message
news:37d423e2@news.povray.org...
> But that does give me an idea: make a cube structure (either method) and
> then use a matrix scale to shear it. I'll see what that does for me
> shortly.
That worked. Making a smooth rectangular prisim with spheres and cylinders
doing the smoothing, then shearing it, gives the correct effect. See the
results at http://www.dlugosz.com/POV/dryad_dreams.html .
I'll submit the "bin" macro (configurable dimensions, thickness, angle of
opening, and corner smoothing) to the PILE and the POV Objects collection
shortly. Are those the best places to send it, or are there others I should
know about?
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"John M. Dlugosz" wrote:
> John M. Dlugosz <joh### [at] dlugoszcom> wrote in message
> news:37d423e2@news.povray.org...
> > But that does give me an idea: make a cube structure (either method) and
> > then use a matrix scale to shear it. I'll see what that does for me
> > shortly.
>
> That worked. Making a smooth rectangular prisim with spheres and cylinders
> doing the smoothing, then shearing it, gives the correct effect. See the
> results at http://www.dlugosz.com/POV/dryad_dreams.html .
>
> I'll submit the "bin" macro (configurable dimensions, thickness, angle of
> opening, and corner smoothing) to the PILE and the POV Objects collection
> shortly. Are those the best places to send it, or are there others I should
> know about?
>
> --John
If it's a macro, zap it on over to the new Twysted Net.
http://www.twysted.net/
--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jon A. Cruz <jon### [at] geocitiescom> wrote in message
news:37D51F75.7CD90D14@geocities.com...
> If it's a macro, zap it on over to the new Twysted Net.
> http://www.twysted.net/
>
Nice database, but the macro file is not suitable for anything major (e.g.
long listings, docs and illustrations, example files). I'll check out his
Object library, though.
--John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|