POV-Ray : Newsgroups : povray.binaries.images : WIP Geodesic Take two 124K Server Time
18 Aug 2024 06:14:26 EDT (-0400)
  WIP Geodesic Take two 124K (Message 1 to 9 of 9)  
From: Dan Johnson
Subject: WIP Geodesic Take two 124K
Date: 23 Jun 2001 04:57:19
Message: <3B345906.AF9FA496@hotmail.com>
Not finished yet, I think it has potential.  Anyone want my spaghetti
code?  
-- 
Dan Johnson 

http://www.geocities.com/zapob


Post a reply to this message


Attachments:
Download 'geodesic.jpg' (124 KB)

Preview of image 'geodesic.jpg'
geodesic.jpg


 

From: Bill DeWitt
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 07:36:54
Message: <3b347f56$1@news.povray.org>
I was playing with geodesics last week... what does your setup do?


Post a reply to this message

From: Dan Johnson
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 08:30:44
Message: <3B348C48.83AA4B8@hotmail.com>
Bill DeWitt wrote:
> 
>     I was playing with geodesics last week... what does your setup do?

The basic function takes three points two define a spherical triangle. 
Then it divides each of the sides evenly by a number you specify, and
stores them in a two dimensional array. 

x
|\
x-x
|\|\
x-x-x
|\|\|\
x-x-x-x
|\|\|\|\
x-x-x-x-x

The x's are points in the array, and the lines represent how a function
might access the array to find the points of a triangle or edges.  I use
lots of little functions.  One to find points, one to store them in an
array, one to find edges.  I only generate 1/20 of the sphere, and then
rotate it to complete the job.  It also builds an octahedron -
tetrahedron spaceframe onto the group of triangles.  My translation
functions should be able to handle struts other than cylinders
appropriately, so I am trying to think about what I want to replace them
with.  
-- 
Dan Johnson 

http://www.geocities.com/zapob


Post a reply to this message


Attachments:
Download 'geo_patch.jpg' (33 KB)

Preview of image 'geo_patch.jpg'
geo_patch.jpg


 

From: Tek
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 09:07:36
Message: <3b349498@news.povray.org>
That looks really good!

I once read the maths behind geodesic domes, but never got round to actually
trying it. I'd definitely like to see your source.

--
Tek
http://www.evilsuperbrain.com


Post a reply to this message

From: Bill DeWitt
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 10:34:05
Message: <3b34a8dd$1@news.povray.org>
"Dan Johnson" <zap### [at] hotmailcom> wrote :
> My translation
> functions should be able to handle struts other than cylinders
> appropriately, so I am trying to think about what I want to replace them
> with.


    What I want to be able to get is something that will divide a solid
sphere into triangles (actually pyramids) so that you have each part go down
to a little point in the center of the sphere.


Post a reply to this message

From: Dan Johnson
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 20:29:55
Message: <3B3534F4.DD05014E@hotmail.com>
Bill DeWitt wrote:
> 
> "Dan Johnson" <zap### [at] hotmailcom> wrote :
> > My translation
> > functions should be able to handle struts other than cylinders
> > appropriately, so I am trying to think about what I want to replace them
> > with.
> 
>     What I want to be able to get is something that will divide a solid
> sphere into triangles (actually pyramids) so that you have each part go down
> to a little point in the center of the sphere.

Do you want the face of the pyramid on the surface to be a curve or a
flat face?  What do you want to do with the pyramids after you have
them?  Do you want them to be csg solids, or triangles, or a solid
triangle mesh?  I could probably adapt my code to do what you want if
you could be specific.
-- 
Dan Johnson 

http://www.geocities.com/zapob


Post a reply to this message

From: Bill DeWitt
Subject: Re: WIP Geodesic Take two 124K
Date: 23 Jun 2001 21:17:41
Message: <3b353fb5$1@news.povray.org>
"Dan Johnson" <zap### [at] hotmailcom> wrote :
>
> I could probably adapt my code to do what you want if
> you could be specific.

    What I really want to do is subdivide an isosurface made with a map of
the Earth so that I can explode it along the geodesics then re-assemble it.
I can do it with a dodecahedron (12 parts?) but I want to do it in much
smaller sections and I don't know how (whimper).

    I would appreciate any help but please don't go too far out of your way.


Post a reply to this message

From: Dan Johnson
Subject: Re: WIP Geodesic Take two 124K
Date: 25 Jun 2001 06:44:36
Message: <3B371689.A67FF34C@hotmail.com>
Bill DeWitt wrote:
> 
> "Dan Johnson" <zap### [at] hotmailcom> wrote :
> >
> > I could probably adapt my code to do what you want if
> > you could be specific.
> 
>     What I really want to do is subdivide an isosurface made with a map of
> the Earth so that I can explode it along the geodesics then re-assemble it.
> I can do it with a dodecahedron (12 parts?) but I want to do it in much
> smaller sections and I don't know how (whimper).
> 
>     I would appreciate any help but please don't go too far out of your way.

I was going to try, and do that, but the code is being stubborn.  It is
not working in so many strange ways that I have no clue how to debug.  I
am on code writing strike, until I am sane again.  I just uploaded my
code to p.b.s-f.  Hope it helps...
-- 
Dan Johnson 

http://www.geocities.com/zapob


Post a reply to this message

From: Bill DeWitt
Subject: Re: WIP Geodesic Take two 124K
Date: 25 Jun 2001 09:28:44
Message: <3b373c8c$1@news.povray.org>
"Dan Johnson" <zap### [at] hotmailcom> wrote :>
> I was going to try, and do that, but the code is being stubborn.

    Not a problem, I've been working on it off and on for about a year.

> I
> am on code writing strike, until I am sane again.

    I know how that feels. I got sane again once in the middle 80's. A nice
rest but vastly over-rated.


Post a reply to this message

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