POV-Ray : Newsgroups : povray.binaries.images : Spaghetti code 34+41K Server Time
13 Aug 2024 13:20:44 EDT (-0400)
  Spaghetti code 34+41K (Message 1 to 7 of 7)  
From: Alf Peake
Subject: Spaghetti code 34+41K
Date: 20 Mar 2003 16:40:53
Message: <3e7a3565@news.povray.org>
Any knot addicts know what this one is called? Hand coded 'coz I
didn't know how else to get one and I was bored.

101 lights and 8004 spheres. Around 1.5 hours for both on a Celeron
500 (must get a new box).

--
Alf

http://www.peake42.freeserve.co.uk/
http://www.qsl.net/gw3srg/


Post a reply to this message


Attachments:
Download 'knot2.jpg' (41 KB) Download 'knot1.jpg' (34 KB)

Preview of image 'knot2.jpg'
knot2.jpg

Preview of image 'knot1.jpg'
knot1.jpg


 

From: Timothy R  Cook
Subject: Re: Spaghetti code 34+41K
Date: 20 Mar 2003 19:16:04
Message: <3e7a59c4@news.povray.org>
Alf Peake wrote:
> Any knot addicts know what this one is called? Hand coded 'coz I
> didn't know how else to get one and I was bored.
> 101 lights and 8004 spheres. Around 1.5 hours for both on a Celeron
> 500 (must get a new box).

Hand coded?  You manually placed 80004 spheres?

I stand in awe.  ^_^;;

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: Spaghetti code 34+41K
Date: 20 Mar 2003 19:17:31
Message: <3e7a5a1b@news.povray.org>
Timothy R. Cook wrote:
> Hand coded?  You manually placed 80004 spheres?

Er, typo, 8004.

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Fernando Gonzalez del Cueto
Subject: Re: Spaghetti code 34+41K
Date: 20 Mar 2003 19:43:43
Message: <3e7a603f$1@news.povray.org>
Wow... It is impressive.

What algorithm did you use?

Fernando.


Post a reply to this message

From: Alf Peake
Subject: Re: Spaghetti code 34+41K
Date: 21 Mar 2003 11:16:28
Message: <3e7b3adc@news.povray.org>
"Timothy R. Cook" <z993126bellsouth.net> wrote in message
news:3e7a59c4@news.povray.org...
> Hand coded?  You manually placed 80004 spheres?
>

Nah, guess I oversimplified.
I put around 30 points in a spline to give a decent 2D XZ object, then
tweaked the Y values around the crossover points. Spline range is 0 to
1 and all I then had to do was put a sphere every 0.0005 along the
path.

Guess I could have used sphere_sweep but didn't think of that.

Alf


Post a reply to this message

From: Alf Peake
Subject: Re: Spaghetti code 34+41K
Date: 21 Mar 2003 11:16:30
Message: <3e7b3ade@news.povray.org>
"Fernando Gonzalez del Cueto" <fgd### [at] hotmailcom> wrote in
message news:3e7a603f$1@news.povray.org...
> Wow... It is impressive.

Thank you.

> What algorithm did you use?

I looked for symetry and could see that I only needed to define a
quarter of the knot, and then rotate copies 90/180/270 deg to make the
full object.

See also my reply to Tim.

I'll post the source if anyone is interested.

Alf


Post a reply to this message

From:
Subject: Re: Spaghetti code 34+41K
Date: 1 Apr 2003 19:50:19
Message: <3e8a33cb$1@news.povray.org>
--------------( oo )--------------
I've publish a StairKnot. We are about to build that structure in a Park. I
was looking for a another equation for this parametric stair. The one I used
was a simple Trefoil Knot. I'm looking for another parametric equations,a
knot, or other equations. You could have look at;

--( Trefoil Knot Stairs )-- in povray.binairies.images

--------------( oo )--------------

Architecture CAAO

"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:3e7a3565@news.povray.org...
> Any knot addicts know what this one is called? Hand coded 'coz I
> didn't know how else to get one and I was bored.
>
> 101 lights and 8004 spheres. Around 1.5 hours for both on a Celeron
> 500 (must get a new box).
>
> --
> Alf
>
> http://www.peake42.freeserve.co.uk/
> http://www.qsl.net/gw3srg/
>
>
>
>


Post a reply to this message

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