POV-Ray : Newsgroups : povray.general : 2D function to 3D tube : Re: 2D function to 3D tube Server Time
24 Mar 2023 14:56:09 EDT (-0400)
  Re: 2D function to 3D tube  
From: Bald Eagle
Date: 21 Dec 2022 19:05:00
Message: <web.63a39f26560d61681f9dae3025979125@news.povray.org>
Add this to your scene:

#for (N, 0, tau, tau/180)
 #local X = FX (N);
 #local Y = FY (N);
 sphere {<X/4, Y/4, 0> 0.01 pigment {rgb y}}
 cylinder {0, x 0.05 pigment {rgb z} rotate z*degrees(PHI (N)) translate <X/4,
Y/4, 0>}

Then do the u/2 in the PHI calc

There's a clue in there for sure.

Post a reply to this message

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