POV-Ray : Newsgroups : povray.binaries.images : Bezier pigment colours : Re: Bezier pigment colours Server Time
2 Oct 2024 06:27:16 EDT (-0400)
  Re: Bezier pigment colours  
From: Tor Olav Kristensen
Date: 3 Jun 2000 17:54:56
Message: <39397EBE.708E1620@hotmail.com>
Margus Ramst wrote:
> 
> I'd like to see some way to specify color_map indices in the macro call.
> Perhaps have the macro take an array as a parameter. Something like:
> 
> array[6][Number of indices]
> {
> {Position, StartP, StartV, EndP, EndV, Nr_of_entries},
> {Position, StartP, StartV, EndP, EndV, Nr_of_entries},
> ...
> }

Would this be for assembling the color_map from several 
Bezier coloured "bands" ?


> > Are there other ways to get smooth transitions
> > between colours in a color_map ?
> 
> MegaPOV has built-in spline functions. They work very much like your
> macro, but IIRC only linear and cubic splines are supported. The basic
> method would still have to be the same, though.

Useful feature !


Thank you for answering.

Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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