|
|
Le 18-06-19 à 06:36, Bald Eagle a écrit :
> "jr" <cre### [at] gmailcom> wrote:
>
>> you mean like WF Pokorny suggests in
>> http://news.povray.org/5b279884%241%40news.povray.org?
>
> Yeah - I just got around to reading through his code before to see that that's
> what he was actually doing. I had a hard time implementing it from scratch, as
> I'm still struggling with the context and syntax for using patterns in
> functions.
>
> POV-Ray didn't like this:
> density {
> function {pattern {
> object {Intersector
> color_map {
> [0.0 rgb 0]
> [0.5 rgb 0]
> [0.5 rgb 1]
> [1.0 rgb 1]
> }
> }}
> }
> }
>
Obviously, it don't like that. The object pattern don't support
color_map, but demand 2 colours.
function{pattern{object{Object Colour1, Colour2}}}
Post a reply to this message
|
|