#47 Optional Detail Color Algorithm PLEASE READ

closed
nobody
None
5
2008-08-26
2007-05-29
Anonymous
No

Provide an optional alternative coloring algorithm

Assume during rendering a pixel has a CurrentColor.

When an iteration of the flame "hits" the pixel by a transformation change the color of the pixel according to the following:

A*CurrentColor + B*TRANSFORMcolor

Where TRANSFORMcolor is the color associated with the particular transform which "hit" the pixel, and where

A + B = 1

And the user can set B for example

and if this is the first contribution for the pixel
A = 0 and B = 1

This should produce some very interesting colors based mostly on the most recent applied transform not just the average of all applied transforms.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Also, instead of a fixed color sequence that can be afterwards manipulated (with hue, contrast and so on), it could be helpfull to be able to produce a color sequence from scratch procedurally.
    For instance:
    Rn=Ri+sin(n) (Rn=Is a value, contrained between 0-255, corresponding to the Red value in a determined part of the pallete, Ri is a starting value, n is the index of that part of the pallete, contrained between 0 and 100%)
    Gn=Gi+2n
    Bn=Bi*n

     
  • Peter Sdobnov

    Peter Sdobnov - 2008-08-26
    • status: open --> closed
     

Log in to post a comment.