POV-Ray : Newsgroups : povray.newusers : can't i rotate a pigment? : Re: can't i rotate a pigment? Server Time
28 Apr 2024 16:29:02 EDT (-0400)
  Re: can't i rotate a pigment?  
From: Stephen
Date: 7 May 2015 16:11:32
Message: <554bc6f4$1@news.povray.org>
On 07/05/2015 19:04, Anton Sherwood wrote:
> On 2015-5-07 10:16, Anton Sherwood wrote:
>> I'll try this:
>>
>>     object {
>>         ...
>>         rotate -N*y
>>         pigment { Tufte }
>>         rotate N*y
>>         }
>
> No luck.
>
Try changing the direction vector

pigment {
   slope {
     < 0.500, 0.000, 0.500 >  // <- Direction
   }
   color_map {
     [0.000 rgbft <1.000,0.000,0.000,0.000,0.000>]
     [0.534 rgbft <0.000,1.000,0.000,0.000,0.000>]
     [1.000 rgbft <0.000,0.000,1.000,0.000,0.000>]
   }

}


-- 

Regards
     Stephen


Post a reply to this message

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