POV-Ray : Newsgroups : povray.newusers : lathe gradient : Re: lathe gradient Server Time
27 Apr 2024 21:51:44 EDT (-0400)
  Re: lathe gradient  
From: aelgoa
Date: 26 Apr 2014 12:40:00
Message: <web.535be0f85b0a48473762c720@news.povray.org>
"aelgoa" <nomail@nomail> wrote:
> I want to colour a lathe object with a gradient going around the surface, so at
> a particular point, start and end colors clash along a vertical line. How do I
> do this?

To clarify, right now my gradient cy cles twice, no mater how I scale it.


 lathe {
    linear_spline

    2,

    <5.7, .1>,
    <6.3, -.1>


    pigment {
       gradient x
    color_map {
      [0.00 color Black]
      [1.00 color rgb <1.0, 0.5, 0.2>
]
    }
    scale 12
    }


Post a reply to this message

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