POV-Ray : Newsgroups : povray.pov4.discussion.general : A yuqk fork seedfi example. : Re: A yuqk fork seedfi example. Server Time
20 May 2024 05:26:47 EDT (-0400)
  Re: A yuqk fork seedfi example.  
From: William F Pokorny
Date: 30 Oct 2023 15:45:45
Message: <654007e9$1@news.povray.org>
On 10/30/23 15:02, William F Pokorny wrote:
> 

And this image demonstrates the just added 'blend_mode 5' to go with 
'blend_mode 4'. The new to yuqk fork modes 4 and 5 don't operated on the 
color channel values, but rather the two internal weight values of the 
interpolation between the end points of each blend range. In other words 
the gamma adjustment is getting applied to the weighting factors. Mode 4 
accentuates the end parts of the blend while 5 the middle part.

(a)

> #declare ColorMap = color_map {
>      [ -1 CarmineRed ]
>      [  0 Black ]
>      [  1 ChalkGreen ]
> }
> 

For the attached image, the map above was changed to:

#declare ColorMap = color_map {
     blend_mode 5  blend_gamma 0.667
     [ -1 CarmineRed ]
     [  0 Black ]
     [  1 ChalkGreen ]
}

Bill P.


Post a reply to this message


Attachments:
Download 'seedfi_00a.jpg' (204 KB)

Preview of image 'seedfi_00a.jpg'
seedfi_00a.jpg


 

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