POV-Ray : Newsgroups : povray.binaries.images : Saturn Ring - Second wip : Re: Saturn Ring - Second wip / POV version 3.71 Server Time
5 Jul 2024 06:21:35 EDT (-0400)
  Re: Saturn Ring - Second wip / POV version 3.71  
From: clipka
Date: 24 Jan 2015 15:02:46
Message: <54c3fa66$1@news.povray.org>
Am 24.01.2015 um 16:40 schrieb Thomas de Groot:

> I wanted to test the non-linear gradients but was unable to make it
> work. From Clipka's note I assumed it should be added to the color or
> pigment map blocks but that gives an error, as also added to the pigment
> block. I need some guidance here.

Usage should be like this (as an example):

     pigment {
       gradient -x translate x*0.75 scale 2
       pigment_map {
         blend_mode MODE
         blend_gamma GAMMA
         [0.333 color srgb <1,0,1>]
         [0.667 color srgb <1,1,1>]
       }
     }

Similar syntax should be used for colour_map.


Post a reply to this message

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