|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I wonder how to make spirals in povray.......
I have seen some examples of it in pictures but I wonder how it is done if
it is spirals
is it bending the objects or is it a nuber of objects placed very smartly?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
There is no spiral object in POV, so you have to place objects (or points)
'smartly'. A blob or many spheres would do the trick in official POV. The
Superpatch has the sphere_sweep object which is ideally suited for spirals.
Calculating the points for a straight spiral is easy; bent spirals are something
I'll leave to others.
Margus
AC wrote:
>
> I wonder how to make spirals in povray.......
> I have seen some examples of it in pictures but I wonder how it is done if
> it is spirals
> is it bending the objects or is it a nuber of objects placed very smartly?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Margus Ramst <mar### [at] peakeduee> wrote:
: There is no spiral object in POV
But there's a spiral pattern if that's enough.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
No he wants an actual 3D helical spiral...
Nieminen Juha <war### [at] cctutfi> wrote in message
news:37e60bfa@news.povray.org...
> Margus Ramst <mar### [at] peakeduee> wrote:
> : There is no spiral object in POV
>
> But there's a spiral pattern if that's enough.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch <lan### [at] usanet> wrote:
: No he wants an actual 3D helical spiral...
How do you know? Strictly speaking he didn't actually say that he wants
a helical _object_ but a helical form. Perhaps he was referring to a
helical pattern of colors.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ta da... ;)
Remco de Korte <rem### [at] xs4allnl> wrote in message
news:37E79B5D.D2555C74@xs4all.nl...
> Nieminen Juha wrote:
> >
> > Lance Birch <lan### [at] usanet> wrote:
> > : No he wants an actual 3D helical spiral...
> >
> > How do you know? Strictly speaking he didn't actually say that he
wants
> > a helical _object_ but a helical form. Perhaps he was referring to a
> > helical pattern of colors.
> >
>
> ...
> is it bending the objects or is it a nuber of objects placed very smartly?
> ...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch <lan### [at] usanet> wrote in message
news:37e7a6da@news.povray.org...
> ta da... ;)
>
> Remco de Korte <rem### [at] xs4allnl> wrote in message
> news:37E79B5D.D2555C74@xs4all.nl...
> > Nieminen Juha wrote:
> > >
> > > Lance Birch <lan### [at] usanet> wrote:
> > > : No he wants an actual 3D helical spiral...
> > >
> > > How do you know? Strictly speaking he didn't actually say that he
> wants
> > > a helical _object_ but a helical form. Perhaps he was referring to a
> > > helical pattern of colors.
> > >
> >
> > ...
> > is it bending the objects or is it a nuber of objects placed very
smartly?
> > ...
>
>
Think of a spring.... somthing like that....
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Coil Generator available from Chris Colefax is probably a fine enough
example : ) but here's another one (courtesy Dave Dunn):
/* Spiral Tap */
// INPUTS
#declare Clockwise = true;
#declare Number_Of_Rotations = 3;
#declare Start_Radius = 10;
#declare Spiral_Height = 30;
#declare Blob_Radius = 1;
#declare Spiral_Color = Red;
#declare Invert = false;
#declare Tip_Over = false;
// DECLARATIONS
#declare Spiral = union {
#declare Count = 0;
#while(Count<360*Number_Of_Rotations)
blob {
threshold .5
sphere
{<Start_Radius-(Count*(Start_Radius/(360*Number_Of_Rotations))),0,0>,B
lob_Radius,1}
#if (Clockwise = true)
rotate y*Count
#else
rotate y*-Count
#end
translate <0,Count*(Spiral_Height/(Number_Of_Rotations*360)),0>
pigment {Spiral_Color}}
#declare Count = Count+1;
#end
#if(Invert = true)
translate <0,-Spiral_Height/2,0>
rotate z*180
translate <0,Spiral_Height/2,0>
#end
#if(Tip_Over = true)
rotate x*90
#end}
object {Spiral}
Bob
AC <amb### [at] teliacom> wrote in message news:37e7baa2@news.povray.org...
>
> Lance Birch <lan### [at] usanet> wrote in message
> news:37e7a6da@news.povray.org...
> > ta da... ;)
> >
> > Remco de Korte <rem### [at] xs4allnl> wrote in message
> > news:37E79B5D.D2555C74@xs4all.nl...
> > > Nieminen Juha wrote:
> > > >
> > > > Lance Birch <lan### [at] usanet> wrote:
> > > > : No he wants an actual 3D helical spiral...
> > > >
> > > > How do you know? Strictly speaking he didn't actually say
that he
> > wants
> > > > a helical _object_ but a helical form. Perhaps he was
referring to a
> > > > helical pattern of colors.
> > > >
> > >
> > > ...
> > > is it bending the objects or is it a nuber of objects placed
very
> smartly?
> > > ...
> >
> >
> Think of a spring.... somthing like that....
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lance Birch <lan### [at] usanet> wrote:
: ta da... ;)
:> ...
:> is it bending the objects or is it a nuber of objects placed very smartly?
:> ...
He asked for a helical form and then suggested a couple of solutions to
the problem using objects. Perhaps he didn't know that you can also do it
with patterns.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
AC wrote:
> Think of a spring.... somthing like that....
http://www.geocities.com/SiliconValley/Lakes/5675/utilities.html
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |