POV-Ray : Newsgroups : povray.newusers : Fluted Columns in POV 3.x : Re: Fluted Columns in POV 3.x Server Time
6 Sep 2024 06:24:23 EDT (-0400)
  Re: Fluted Columns in POV 3.x  
From: Andrew Cocker
Date: 18 Dec 1998 14:18:18
Message: <367aaa7a.0@news.povray.org>
HI Joseph,
    What I would do is use a CSG difference to chop out each of the flutes from your
column. Use an #while...#end loop to control the number of flutes, something like
this:

#declare Flute_Radius=0.25;
#declare Column_Radius=2;
#declare Number_Of_Flutes=20;
#declare Flute=
union {
cylinder { <0,-10,0>,<0,10,0>,Flute_Radius}
sphere { <0,-10,0>,Flute_Radius}
sphere { <0,10,0>,Flute_Radius}
}

#declare Column=
difference {
cylinder { <0,-10.5,0>,<0,10.5,0>,Column_Radius } // Un-fluted column
// Set up a loop
#declare Count=0;
#while ( Count<=Number_Of_Flutes)
object { Flute
translate x*Column_Radius
rotate y*(Count*(360/Number_Of_Flutes))
}
#declare Count=Count+1;
#end
}

object { Column
scale .5
rotate x*45
 texture { pigment {Red} finish {Shiny}}
}


I hope this helps you. Incidentally, the last time I posted any code, half of it went
missing, so I've attatched the code as well.

Andy.


Joseph Prever wrote in message <368E27DB.28B7CE6B@turbont.net>...
>What is the technique in POV 3.x for making fluted columns (or fluted
>anything)?  Or do I need a help app?
>Any response will be greatly appreciated.  Thank you for your time.
>
>-Joe Prever
>


Post a reply to this message


Attachments:
Download 'Column.pov.txt' (2 KB)

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