![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I was playing with Gilles's mgrass macro over the weekend just to learn
how to use it, and this was one of the results. Right now I'm working
on covering the grass with dew, although it's not as easy as I thought
it would be.
Post a reply to this message
Attachments:
Download 'Grassy.jpg' (88 KB)
Preview of image 'Grassy.jpg'
![Grassy.jpg](/povray.binaries.images/attachment/%3C3d4eda4c%40news.povray.org%3E/Grassy.jpg?ttop=443840&toff=8950&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Andrew wrote:
> I was playing with Gilles's mgrass macro over the weekend just to learn
> how to use it, and this was one of the results. Right now I'm working
> on covering the grass with dew, although it's not as easy as I thought
> it would be.
It looks nitrogen deficient, here is a pic of real grass.
The tips that have light shining through them are light green, but the rest
are that typical grass green.
Post a reply to this message
Attachments:
Download 'grass.jpg' (21 KB)
Preview of image 'grass.jpg'
![grass.jpg](/povray.binaries.images/attachment/%3C2213353.VBhrYfX2DV%403-e.net%3E/grass.jpg?ttop=443840&toff=8950&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Daniel Matthews <dan#@3-e.net> wrote in news:221### [at] 3-e net
> It looks nitrogen deficient, here is a pic of real grass.
hehe :) I was just going to say "woow that fantastic render"
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Yes - I didn't alter the example texture much in a quest for realism, as
this was merely a test image to figure out the right density of grass to
use! Still, it turned out so well I might go ahead and work on the
texture, even though the project I have in mind won't be focussing on
the grass so much.
I decided to leave the dew idea alone until I can get some sleep (next
year? ;) The maths turned out too hard for my tired brain, not that it
is that difficult in reality...
"Daniel Matthews" <dan#@3-e.net> wrote in message
news:221### [at] 3-e net...
> Andrew wrote:
>
> > I was playing with Gilles's mgrass macro over the weekend just to
learn
> > how to use it, and this was one of the results. Right now I'm
working
> > on covering the grass with dew, although it's not as easy as I
thought
> > it would be.
>
> It looks nitrogen deficient, here is a pic of real grass.
> The tips that have light shining through them are light green, but the
rest
> are that typical grass green.
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3d502963@news.povray.org>,
"Andrew" <ast### [at] hotmail com> wrote:
> I decided to leave the dew idea alone until I can get some sleep (next
> year? ;) The maths turned out too hard for my tired brain, not that it
> is that difficult in reality...
Sounds like you are making it too hard. Seems like the simplest way to
do it would be to use the trace() function...just trace at random points
in the grass and use the intersection point and normal to place little
water spheres. Very little math involved.
--
Christopher James Huff <chr### [at] mac com>
POV-Ray TAG e-mail: chr### [at] tag povray org
TAG web site: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Quite. Like I said, I'm real tired ;)
#declare loop=0;
#while (loop<100)
Yawn()
#declare loop=loop+1;
#end
> Sounds like you are making it too hard. Seems like the simplest way to
> do it would be to use the trace() function...just trace at random
points
> in the grass and use the intersection point and normal to place little
> water spheres. Very little math involved.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |