POV-Ray : Newsgroups : povray.binaries.images : Grass a la Tran Server Time
18 Nov 2024 14:27:27 EST (-0500)
  Grass a la Tran (Message 1 to 6 of 6)  
From: Andrew
Subject: Grass a la Tran
Date: 5 Aug 2002 16:04:28
Message: <3d4eda4c@news.povray.org>
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


 

From: Daniel Matthews
Subject: Re: Grass a la Tran
Date: 5 Aug 2002 20:50:52
Message: <2213353.VBhrYfX2DV@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


Attachments:
Download 'grass.jpg' (21 KB)

Preview of image 'grass.jpg'
grass.jpg


 

From: Rafal 'Raf256' Maj
Subject: Re: Grass a la Tran
Date: 5 Aug 2002 20:54:21
Message: <Xns92621CF2787BCraf256com@204.213.191.226>
Daniel Matthews <dan#@3-e.net> wrote in news:221### [at] 3-enet

> 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

From: Andrew
Subject: Re: Grass a la Tran
Date: 6 Aug 2002 15:54:11
Message: <3d502963@news.povray.org>
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-enet...
> 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

From: Christopher James Huff
Subject: Re: Grass a la Tran
Date: 6 Aug 2002 16:02:34
Message: <chrishuff-A37D11.14523206082002@netplex.aussie.org>
In article <3d502963@news.povray.org>,
 "Andrew" <ast### [at] hotmailcom> 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] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

From: Andrew
Subject: Re: Grass a la Tran
Date: 6 Aug 2002 16:06:08
Message: <3d502c30$1@news.povray.org>
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

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