|
|
Ger <No.### [at] ThankYou> wrote:
> > Ger <No.### [at] ThankYou> wrote:
> >> Not really that hard to do.
> >> You know the value of the "sky" color (the blue) so you can fairly easily
> >> determine what is not part of the sky. If it is not then raise the block
> >> by 1 lego-unit.
> >
> > Is there a POV-Ray function that will return the RGB value at a particular
> > point in an external image?
>
> #if ((COL.blue < LowerColLimit) | (COL.blue > HighColLimit))
This may cause problems for the code as it only polls the blue channel for
comparison. Colours that have a high blue value but aren't blue may get
caught by it (i.e. white<1,1,1>, cyan<0,1,1>, magenta<1,0,1>). A method to
filter the other channels as well should be added as well.
-tgq
Post a reply to this message
|
|