POV-Ray : Newsgroups : povray.binaries.images : Concave shapes (43KB) Server Time
23 Apr 2024 17:08:14 EDT (-0400)
  Concave shapes (43KB) (Message 11 to 20 of 25)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 5 Messages >>>
From: David Fontaine
Subject: Re: truncated cubes.
Date: 8 Oct 2000 23:21:54
Message: <39E1376B.51EDCFE6@faricy.net>
"Greg M. Johnson" wrote:

> I want the coordinates for a truncated cube, in terms of triangles.

If you have a cube going from <-1,-1,-1> to <1,1,1> and you want to truncate
it so each of the original six faces becomes a regular octagon, then the
vertices would be at





(2^3+2^3+2^3=24 vertices)

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Ken
Subject: Re: Concave shapes (43KB)
Date: 9 Oct 2000 02:19:05
Message: <39E1622C.580FBDDA@pacbell.net>
"Bob H." wrote:
> 
> "Tor Olav Kristensen" <tor### [at] hotmailcom> wrote in message
> news:39E0F73A.B0E029C8@hotmail.com...
> |
> | I'll look into it. Where can I find these
> | rock making includes ?
> 
> I'm having no luck finding the rock includes or macros, sorry.  One thing is
> John Van Sickles and it seems Chris Huff may have something too (not sure),
> and at the POV Objects Collection...  Steve Pidgeon was another person that
> did one I know.
> 
> Bob

If I'm not mistaken John has removed his rock include from his
website but he may have included it with his subdivision surface
suite - http://users.erols.com/vansickl/sss.htm which is in it's
own right a fun toy to play with.

Steve's site is at:
http://www.iro.umontreal.ca/~pigeon/pub/PovPage/RockGen/RockGen.html

See also:
http://www.rahul.net/endl/mallan/html/rocks.htm
http://www-personal.umich.edu/~mstock/pages/rocktools.html

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Jamie Davison
Subject: Re: Concave shapes (43KB)
Date: 9 Oct 2000 06:06:24
Message: <MPG.144ba8e7cb24f838989804@news.povray.org>
On Sun, 08 Oct 2000 23:14:04 -0700, Ken wrote...
> If I'm not mistaken John has removed his rock include from his
> website but he may have included it with his subdivision surface
> suite - http://users.erols.com/vansickl/sss.htm which is in it's
> own right a fun toy to play with.

I had a look at that URL, and it seems that the Surface Subdivision Suite 
page has moved to /dev/null <grin>, as the URL you posted points to a new 
page, which gives a 404...

John? 
 
Bye for now,
     Jamie.


Post a reply to this message

From: Philip Cowley
Subject: Re: Concave shapes (43KB)
Date: 9 Oct 2000 08:21:28
Message: <39e1b848@news.povray.org>
> Yesterday I did some more work on some CSG-macros of mine.
> They will "round off" any concave shape made with intersections
> of planes, like the upper left shape.

Any chance of you posting the macro code itself...

Rarius


Post a reply to this message

From: Greg M  Johnson
Subject: Re: truncated cubes.
Date: 9 Oct 2000 08:33:04
Message: <39E1B9BD.60A199EA@my-dejanews.com>
Thanks, but what I meant is this:

Take  perfect cube.  set each edge on a grinding wheel such that the normal of
the two faces on this edge make a 45 degree angle with the normal of the
grinding wheel.  Do it for just a second or two.



David Fontaine wrote:

> "Greg M. Johnson" wrote:
>
> > I want the coordinates for a truncated cube, in terms of triangles.
>
> If you have a cube going from <-1,-1,-1> to <1,1,1> and you want to truncate
> it so each of the original six faces becomes a regular octagon, then the
> vertices would be at
>



>
> (2^3+2^3+2^3=24 vertices)
>
> --
> David Fontaine  <dav### [at] faricynet>  ICQ 55354965
> My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Ron Parker
Subject: Re: truncated cubes.
Date: 9 Oct 2000 11:22:58
Message: <slrn8u3ohq.1jk.ron.parker@fwi.com>
On Mon, 09 Oct 2000 08:27:41 -0400, Greg M. Johnson wrote:
>Thanks, but what I meant is this:
>
>Take  perfect cube.  set each edge on a grinding wheel such that the normal of
>the two faces on this edge make a 45 degree angle with the normal of the
>grinding wheel.  Do it for just a second or two.

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.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.
Proudly not helping RIAA and SDMI steal my rights -- 
  http://www.eff.org/Misc/EFF/Newsletters/EFFector/HTML/effect13.08.html


Post a reply to this message

From: Ken
Subject: Re: Concave shapes (43KB)
Date: 9 Oct 2000 11:56:16
Message: <39E1E972.407515C7@pacbell.net>
Jamie Davison wrote:

> I had a look at that URL, and it seems that the Surface Subdivision Suite
> page has moved to /dev/null <grin>, as the URL you posted points to a new
> page, which gives a 404...

Hmmm.... I'll see if I can track it down.

-- 
Ken Tyler


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: truncated cubes.
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


 

From: Tor Olav Kristensen
Subject: Re: Concave shapes (43KB)
Date: 9 Oct 2000 16:58:39
Message: <39E23080.DA437FE3@online.no>
Philip Cowley wrote:

> > Yesterday I did some more work on some CSG-macros of mine.
> > They will "round off" any concave shape made with intersections
> > of planes, like the upper left shape.
>
> Any chance of you posting the macro code itself...

Yes I will. -But it needs some more work first.

Right now I'm too tired to do this work.


Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

From: David Fontaine
Subject: Re: truncated cubes.
Date: 9 Oct 2000 17:12:37
Message: <39E23260.EB784E5@faricy.net>
"Greg M. Johnson" wrote:

> Thanks, but what I meant is this:
>
> Take  perfect cube.  set each edge on a grinding wheel such that the normal of
> the two faces on this edge make a 45 degree angle with the normal of the
> grinding wheel.  Do it for just a second or two.

Ah, that's bevelled, not truncated :) (Besides i think my data was wrong, it
should have been (2-sqrt(2)) for perfect octagon)
so you want a perfect octagon for the cross section? hmm...






24 vertices, 18 faces, 60 triangles

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 5 Messages >>>

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