Povray

Povray

Post by Bryan Garnett-La » Thu, 13 Aug 1998 04:00:00



Hi

I have a little graphic problem hoping someone in POVRAY field can help
with.  I am wanting to a rope that goes around in a circle (not unlike
nautical emblems sometimes use).  Is anyone aware of something that can do
this?  Any suggestions are welcome ;-)

Cheers,

--
Bryan Garnett-Law
==============================================
Edith Cowan University
Learning Systems
Phone: 9273 8939
Mobile: 0413 769 637

===================================================
A pun is the lowest form of humor, until you get a chance to use it!
===================================================

 
 
 

Povray

Post by Chris Colefa » Fri, 14 Aug 1998 04:00:00



> I have a little graphic problem hoping someone in POVRAY field can help
> with.  I am wanting to a rope that goes around in a circle (not unlike
> nautical emblems sometimes use).  Is anyone aware of something that can do
> this?  Any suggestions are welcome ;-)

Here's something based on the Rope object I created to illustrate
the Spline Generator include file:

   camera {location <2, 2, -15> look_at <0,0,0> angle 30}
   light_source {<10, 10, -100> rgb 1.33}

   #declare Rope = sphere {<0, 0, 0>, .5
      normal {average normal_map {
         [.6 radial .5 scallop_wave frequency 10]
         [.4 gradient y .5 scallop_wave scale .1]}
         rotate <10, 0, -30>
         warp {turbulence .2 octaves 3 lambda 4}}}

   union {#declare C = 0; #while (C < 360)
      object {Rope
         rotate y * C
         translate x * 2.5
         rotate z * C
      pigment {bozo color_map {[0 rgb <.8, .6, .4>] [1 rgb <.6, .4, .2>]}
         scale .3}}

   #declare C = C + (360 / 27) #end }