POV-Ray : Newsgroups : povray.newusers : Howto: Wire-wrapped hilt Server Time
27 Dec 2024 03:06:46 EST (-0500)
  Howto: Wire-wrapped hilt (Message 1 to 4 of 4)  
From: Dawn McKnight
Subject: Howto: Wire-wrapped hilt
Date: 14 Jun 2002 23:54:30
Message: <3D0ABA75.7030706@mac.com>
Does anyone have a suggestion for how to model a wire-wrapped hilt with 
two colors of wire?


Post a reply to this message

From: Brendan Ryan
Subject: Re: Howto: Wire-wrapped hilt
Date: 15 Jun 2002 13:42:50
Message: <3D0B7B09.7050608@global2000.net>
For simple winding, a gradient pigment scaled to make small stripes 
might work.
Or maybe a row of lots of thin cylinders of alternating colors would 
work.  Maybe patterns in the winding could be created by rotating and 
changing the sizes of the cylinders a little bit.  The larger ones would 
look like wire that overlaps other wire.  Macros would help here with 
the placing and transformations of the cylinders.
Brendan

Dawn McKnight wrote:

> Does anyone have a suggestion for how to model a wire-wrapped hilt with 
> two colors of wire?
>


Post a reply to this message

From: Philippe Debar
Subject: Re: Howto: Wire-wrapped hilt
Date: 16 Jun 2002 07:27:48
Message: <3d0c7634@news.povray.org>
I think this should do the trick :


cylinder {
  0, 2*y, .25

  texture{
    pigment{
      spiral1 2
      color_map{
        [0.00 color rgb <1,0,.1>]
        [0.50 color rgb <1,0,.1>]
        [0.50 color rgb <.1,0,1>]
        [1.00 color rgb <.1,0,1>]
      }
    }
    normal{
      average
      normal_map{
          [1.00 spiral1 2, 30 scallop_wave ]
          [1.00 spiral1 -50, .1 scallop_wave]
      }
    }
  rotate 90*x scale .1
  }
}



"Dawn McKnight" <blu### [at] maccom> wrote in message
news:3D0### [at] maccom...
> Does anyone have a suggestion for how to model a wire-wrapped hilt with
> two colors of wire?
>


Post a reply to this message

From: Florian Pesth
Subject: Re: Howto: Wire-wrapped hilt
Date: 17 Jun 2002 10:07:11
Message: <3d0ded0f@news.povray.org>
"Dawn McKnight" <blu### [at] maccom> schrieb im Newsbeitrag
news:3D0### [at] maccom...
> Does anyone have a suggestion for how to model a wire-wrapped hilt with
> two colors of wire?
>
With Povray 3.5: Maybe combination of two splines, one for rotating and the
other one for the wire?
Florian


Post a reply to this message

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