POV-Ray : Newsgroups : povray.binaries.images : Stained Glass Revisited : Re: Stained Glass Revisited Server Time
14 Aug 2024 05:18:47 EDT (-0400)
  Re: Stained Glass Revisited  
From: hughes, b 
Date: 5 Dec 2002 11:05:44
Message: <3def7958@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3def0a88@news.povray.org...
>
> "hughes, b." <omn### [at] charternet> schrieb im Newsbeitrag
> news:3dee8c98@news.povray.org...
> >
> > Yeah, a different color within each of the interiors of the cells is
> > probably not possible since they are all of the same index of that
> pattern.
>
> Isn't this, what the "solid"-keyword is meant for? "Causes the same value
to
> be generated for every point within a specific cell." This way you get one
> index for one cell - but you still have to find out a way to map the
wanted
> colors to the color-indices. Perhaps some "eval_pigment" in a loop?
Evaluate
> the index of the cell, evaluate the color for this cell, safe that color
in
> an array at the specified index. Use that array to create the color_map
for
> the cracle pattern. Might work or not :-)

Oops, yes, right you are. And the lead framing can be added with the regular
crackle in a texture layer. I still don't see a way you could ever get the
values into the right positions. That would require some kind of
paint-by-number method plus placement. Crackle randomly positions the cells
so you would only get random colors. You need a paint tool filler sort of
thing to do what is needed for this. Unless there's something I'm
overlooking.


Post a reply to this message

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