POV-Ray : Newsgroups : povray.text.scene-files : Grass Routine Server Time
5 Nov 2024 13:24:05 EST (-0500)
  Grass Routine (Message 1 to 2 of 2)  
From: Gordon
Subject: Grass Routine
Date: 31 Dec 1998 01:51:21
Message: <368b1ee9.0@news.povray.org>
I noticed a couple of threads in this and other groups on this server
regarding "grass" (the mowing kind that is). For those who are interested,
here is my method of doing grass.

It uses a mesh object which is then copied several hundred times.  The
result is fairly realistic even with a basic texture. The rendering speed is
also pretty good.

The files attached will create around 4 million blades of grass. I have done
scenes with several hundred million!!!

Please note these files are version 3.0, I have not tried them in 3.1. I may
get to that this weekend, otherwise, any enterprising POVer is welcome to
take my code and do with it what they will!

Regards and Seasons Greetings to all POVers,

Gordon
<gor### [at] hotmailcom>


Post a reply to this message


Attachments:
Download 'Reed Plugin.inc.txt' (5 KB) Download 'Reeds.pov.txt' (4 KB)

From: Chris McCrae
Subject: Re: Grass Routine
Date: 1 Jan 1999 18:04:52
Message: <368D5496.A05F79CE@home.com>
Hi Gordon,
	As I write, I am rendering your sample file supplied with version 3.1
(MSDOS).  I had to make some simple changes in order for this to render
nicely.  The first was to change the name of your include file.  I
suspect that this is because of the DOS limitation for naming.  The only
other thing that I changed was to add a semi-colon to the end of each
#declare statement that declares a value (as opposed to declaring an
object).  Povray would run, but would generate MANY error messages
(multiple messages for each blade), without adding the semi-colons. 
Other than that, it appears to be rendering fine.

Chris

Gordon wrote:
> 
> I noticed a couple of threads in this and other groups on this server
> regarding "grass" (the mowing kind that is). For those who are interested,
> here is my method of doing grass.
> 
> It uses a mesh object which is then copied several hundred times.  The
> result is fairly realistic even with a basic texture. The rendering speed is
> also pretty good.
> 
> The files attached will create around 4 million blades of grass. I have done
> scenes with several hundred million!!!
> 
> Please note these files are version 3.0, I have not tried them in 3.1. I may
> get to that this weekend, otherwise, any enterprising POVer is welcome to
> take my code and do with it what they will!
> 
> Regards and Seasons Greetings to all POVers,
> 
> Gordon
> <gor### [at] hotmailcom>
> 
>                          Name: Reed Plugin.inc
>    Reed Plugin.inc       Type: INC File
(application/x-unknown-content-type-INC_auto_file)
>                      Encoding: x-uuencode
> 
>                    Name: Reeds.pov
>    Reeds.pov       Type: POV File (application/x-unknown-content-type-POV_auto_file)
>                Encoding: x-uuencode


Post a reply to this message

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