|
|
"Kirk Andrews" <kir### [at] tektonartcom> schreef in bericht
news:web.473d9998b3ad60bdd21a49b0@news.povray.org...
>
> One thing I might suggest trying: to add more interest to your grass, try
> using
> a pigment function to vary the length and color of the grass. For
> example:
>
> #declare TheFunction =
> function {
> pigment {
> bumps
> poly_wave 4
> color_map {
> [0 rgb 0 ]
> [1 rgb 1 ]
> }
> }
> }
>
>
> And then, when you are planting your grass (through whatever method you
> prefer):
>
> (if POS is the current grass position)
>
> object {GRASS scale (1+TheFunction(POS.x,POS.y,POS.z).red) translate POS}
>
>
> Depending on how you've done your Grass object, you can use a similar
> method to
> vary the color of your grass.
>
> Just something you might try.
>
Another, alternative, method you might like to try, is using RRand(A,B,seed)
for putting some randomness in scale, position and color.
Thomas
Post a reply to this message
|
|