POV-Ray : Newsgroups : povray.binaries.images : My grass vol x.xx : Re: My grass vol x.xx Server Time
5 Oct 2024 03:22:32 EDT (-0400)
  Re: My grass vol x.xx  
From: Remco de Korte
Date: 27 Jan 1999 17:34:06
Message: <36AF91AC.87C86E35@xs4all.nl>
(In reply to the other posts as well:)

The image posted previously was a small patch of grass tiled to file a larger
area. I rotated the grass at random, but still there seems to be some sort of
pattern. I saw that and don't know what is causing it. Anyway, you could easily
avoid this in more then one way. The most simple way is to translate each line
of patches a little bit. The code is not a macro (yet) but all parameters are
variables that define the length and width of the patch. So, you could, for
instance make a larger patch. I don't know how this would affect the amount of
required memory (I thought at first that the patch would be declared once, and
after that you only needed some pointers for each time you use it, but this
obviously isn't the case - but that's more something for the
preogramming-newsgroup).

As for the 'glossiness': the colour might be totally off, I just put in some
random green, no finish or other subtleties, but that shouldn't be a problem.
I've seen very nice grass-images on this group already, but I needed some grass
for a couple of scenes I'm making and what I'm looking for is something that
looks like it could be real but very much isn't. Sort of like a cartoon, but
then not too simplistic.
I guess I could add some nice extras ore refine the grass-texture, but that
shouldn't affect the render time too much.

The previously posted image took 15 seconds to parse and about five hours to
render.
I've attached a new image, which is a close-up of one larger patch, which took 3
minutes to parse and 3:20 hours to render.
I also just finished a new 'pasture' with about 50 patches which took 31 minutes
to parse and 7 hours to render (109Mb peak memory usage).
This all on a Pentium 266 with 64M, so there's room for improvement there.

Regards,

Remco

Spider wrote:
> 
> A good grass example, I've seen and made far worse..
> 
> But... isn't grass a bit more glossy ????? Just thinking, depends on the sort, of
course..
> 
> There seems to eb a bit too much regularity in this one(lines). and I don't think
It'd
> look that great in a distance..
> 
> Perhaps if you scaled all the plants a bit in a random way ?? and then placing them
in a
> spiral pattern, should be possible.... and it'd remove some of the lines, and
instead add
> others ;-)
> 
> //Spider
> Remco de Korte wrote:
> >
> > So, I'm not the first... :-)
> >
> > Attached is a sample of grass I cooked up. It's built from smaller squares
> > rotated randomly to create this patch. I tried a larger size but my computer
> > (64Mb) refused to swallow it on account of the memory it needed. I'll try it on
> > another system, but the limitations are already obvious. I don't really
> > understand this, but I'll do some experimenting.
> >
> > No flowers (yet).
> >
> > Remco
> >
> >  
------------------------------------------------------------------------------------------
> >  [Image]


Post a reply to this message


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

Preview of image 'grass.jpg'
grass.jpg


 

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