POV-Ray : Newsgroups : povray.binaries.images : Samuals grass-lots of it Server Time
20 Oct 2026 02:08:06 EDT (-0400)
  Samuals grass-lots of it (Message 1 to 25 of 25)  
From: Mick Hazelgrove
Subject: Samuals grass-lots of it
Date: 26 Jun 2000 02:34:31
Message: <3956f977@news.povray.org>
There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
45 mins to parse!

Mick


Post a reply to this message


Attachments:
Download 'tester.jpg' (130 KB)

Preview of image 'tester.jpg'
tester.jpg


 

From: Christoph Hormann
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 03:01:50
Message: <3956FFDC.FA2DEBE5@schunter.etc.tu-bs.de>
Mick Hazelgrove wrote:
> 
> There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
> 45 mins to parse!
> 
> Mick

Wow! That's really big.  How much memory did it use?

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Tony[B]
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 08:38:50
Message: <39574eda@news.povray.org>
Does this use the source I sent you? Looks nice. I wonder what this would
look like on a far away hill? (Maybe you should borrow some RAM from a
couple friends, and give a full scene a try. :)


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 11:24:19
Message: <395775a3@news.povray.org>
Yep, my next project - I want to create some rocks based on samuals basalt
columns and about 2 million blades of grass on a HF using your mod and some
of mine on Samuals code. Then I'll throw in some media, a few rocks and
radiosity and go on holiday for a month!!!!!

Mick


"Tony[B]" <ben### [at] panamac-comnet> wrote in message
news:39574eda@news.povray.org...
> Does this use the source I sent you? Looks nice. I wonder what this would
> look like on a far away hill? (Maybe you should borrow some RAM from a
> couple friends, and give a full scene a try. :)
>
>


Post a reply to this message

From: Chris Huff
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 11:34:12
Message: <chrishuff-D09E25.10384226062000@news.povray.org>
In article <395775a3@news.povray.org>, "Mick Hazelgrove" 
<mic### [at] mhazelgrovefsnetcouk> wrote:

> Yep, my next project - I want to create some rocks based on samuals 
> basalt columns and about 2 million blades of grass on a HF using your 
> mod and some of mine on Samuals code. Then I'll throw in some media, 
> a few rocks and radiosity and go on holiday for a month!!!!!

Don't forget focal blur, and a bunch of transparent and reflective 
objects with blurred reflections. And maybe you could fit my proximity 
pattern in there somewhere, too. :-)

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Bugs74
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 12:13:08
Message: <39578114@news.povray.org>
When I create a field of grass with 50.000 objects or up my computer runs
out of memory! I use a PIII-600 with 256Mb ram! That should be enough,
shouldn't it?

Greetings, Bugs74


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 12:25:01
Message: <395783dd$1@news.povray.org>
Should be more than enough - I used to regulary use a million or two objects
in experiments on my old 300 mhz P2 with 128 mb of ram

Mick

"Bugs74" <bug### [at] wanadoonl> wrote in message
news:39578114@news.povray.org...
> When I create a field of grass with 50.000 objects or up my computer runs
> out of memory! I use a PIII-600 with 256Mb ram! That should be enough,
> shouldn't it?
>
> Greetings, Bugs74
>
>


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 12:37:15
Message: <395786F5.5EEB9BA4@unforgettable.com>
Mick Hazelgrove wrote:
> 
> There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
> 45 mins to parse!

Looks impressive, but the shadows are a bit harsh in places. If you put
in a good looking sky and filled in the shadows a bit with some
radiosity, this could be an awesome pic...

...going on vacation anytime soon? ^_-;

-- 
Xplo Eristotle
http://start.at/xplosion/

"And then one day you find ten years have got behind you
No one told you when to run, you missed the starting gun"
    -Pink Floyd


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 12:45:40
Message: <395788b4$1@news.povray.org>
When I've spent a couple of months of my spare time working out the
code!!!!!!


"Xplo Eristotle" <inq### [at] unforgettablecom> wrote in message
news:395786F5.5EEB9BA4@unforgettable.com...
>
>
> Mick Hazelgrove wrote:
> >
> > There are 400005 blades of grass in this pic - took 5 hrs to render -
3hrs
> > 45 mins to parse!
>
> Looks impressive, but the shadows are a bit harsh in places. If you put
> in a good looking sky and filled in the shadows a bit with some
> radiosity, this could be an awesome pic...
>
> ...going on vacation anytime soon? ^_-;
>
> --
> Xplo Eristotle
> http://start.at/xplosion/
>
> "And then one day you find ten years have got behind you
> No one told you when to run, you missed the starting gun"
>     -Pink Floyd


Post a reply to this message

From: Equiprawn
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 13:17:34
Message: <3957902e@news.povray.org>
Are you talking about the trace() modification? I would be real greatful if
you could post the changes that are necessary to the code.

Thanks,

Equiprawn

Tony[B] <ben### [at] panamac-comnet> wrote in message
news:39574eda@news.povray.org...
> Does this use the source I sent you? Looks nice. I wonder what this would
> look like on a far away hill? (Maybe you should borrow some RAM from a
> couple friends, and give a full scene a try. :)
>
>


Post a reply to this message

From: SamuelT
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 13:28:10
Message: <39579386.268B1DA3@aol.com>
Wow Mick... I haven't even tried that many yet.... I guess the grass isn't so
fast when so many are used :) I wonder if making one smaller square of grass
and then copying it would save memory? You'd have to make sure nobody could
see the repetitions.

~Sam

Mick Hazelgrove wrote:

> There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
> 45 mins to parse!
>
> Mick
>
>  [Image]


Post a reply to this message

From: Bugs74
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 13:33:39
Message: <395793f3@news.povray.org>
I'm sorry, I wasn't very clear in my message: does anybody know what I'm
doing wrong? When I try to render a pic with 50.000 or more blades of grass
I get a mesagge that says POVray is reclaiming memory. I use 256 MB of
memory, so that should be enough.

I hope someone can help me!

Greetings, Bugs74


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 14:03:54
Message: <39579b0a@news.povray.org>
That's the usual technique but you'd loose the advantage of eval_pigment. I
don't think youd save much memory either. As most of the parsing time was
spent on creating bounding slabs, I guess that manual bounding is the way to
go when I work out how to do it!

Mick

"SamuelT" <STB### [at] aolcom> wrote in message
news:39579386.268B1DA3@aol.com...
> Wow Mick... I haven't even tried that many yet.... I guess the grass isn't
so
> fast when so many are used :) I wonder if making one smaller square of
grass
> and then copying it would save memory? You'd have to make sure nobody
could
> see the repetitions.
>
> ~Sam
>
> Mick Hazelgrove wrote:
>
> > There are 400005 blades of grass in this pic - took 5 hrs to render -
3hrs
> > 45 mins to parse!
> >
> > Mick
> >
> >  [Image]
>


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 14:03:55
Message: <39579b0b@news.povray.org>
When do you get that message, normally you only get that when you stop the
rendering.
I can't off hand think why you are running out of memory - when I first
stared using Povray I had a 486 and regularly went up to 100,000 objects
with no apparent problems other than a loss of patience!
Mick

"Bugs74" <bug### [at] wanadoonl> wrote in message
news:395793f3@news.povray.org...
> I'm sorry, I wasn't very clear in my message: does anybody know what I'm
> doing wrong? When I try to render a pic with 50.000 or more blades of
grass
> I get a mesagge that says POVray is reclaiming memory. I use 256 MB of
> memory, so that should be enough.
>
> I hope someone can help me!
>
> Greetings, Bugs74
>
>


Post a reply to this message

From: Eric Freeman
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 15:56:05
Message: <3957b555@news.povray.org>
"Chris Huff" <chr### [at] maccom> wrote in message
news:chrishuff-D09E25.10384226062000@news.povray.org...
>
> In article <395775a3@news.povray.org>, "Mick Hazelgrove"
> <mic### [at] mhazelgrovefsnetcouk> wrote:
>
> > Then I'll throw in some media, a few rocks and
> > radiosity and go on holiday for a month!!!!!
>
> Don't forget focal blur, and a bunch of transparent
> and reflective objects with blurred reflections.

Also add a few dozen area lights (using fade_distance, of course).

Eric
--------------------
http://www.datasync.com/~ericfree
--------------------
"I don't like it, and I'm sorry I ever had anything to do with it."
- Erwin Schrodinger talking about Quantum Mechanics.


Post a reply to this message

From: ryan constantine
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 15:57:24
Message: <3957B67A.EEACDBD2@yahoo.com>
wouldn't distance-dependent grass be better on render times?  like if
the quality stuff was up front, then not so good, but faster, ending
with a regular texture far out?  is there a not-so-good grass macro?  or
are they all made for close up inspection?  i've seen trees that are
supposed to be used far away, but not grass.

for the current image, how high up are you from the grass and what is
the length of the grass?  oh, and how far out does it go? (just trying
to get a perspective here)  also, is it one patch of grass or several? 
is it possible to selectively smash down certain areas of the grass;
like alien landing sites in crops or the shape an animal makes when it
lays down?  and what are the units you use?  can you make the light and
dark areas (wind?) more smooth or are you stuck with what you get? 
thanks.

Mick Hazelgrove wrote:
> 
> Yep, my next project - I want to create some rocks based on samuals basalt
> columns and about 2 million blades of grass on a HF using your mod and some
> of mine on Samuals code. Then I'll throw in some media, a few rocks and
> radiosity and go on holiday for a month!!!!!
> 
> Mick
> 
> "Tony[B]" <ben### [at] panamac-comnet> wrote in message
> news:39574eda@news.povray.org...
> > Does this use the source I sent you? Looks nice. I wonder what this would
> > look like on a far away hill? (Maybe you should borrow some RAM from a
> > couple friends, and give a full scene a try. :)
> >
> >


Post a reply to this message

From: Peter Popov
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 16:38:10
Message: <4lfflso0j3b8m93i4e3oqu3j426l8dmcpb@4ax.com>
On Mon, 26 Jun 2000 19:01:42 +0100, "Mick Hazelgrove"
<mic### [at] mhazelgrovefsnetcouk> wrote:

>> Wow Mick... I haven't even tried that many yet.... I guess the grass isn't
>> so fast when so many are used :) I wonder if making one smaller square of
>> grass and then copying it would save memory? You'd have to make sure nobody
>> could see the repetitions.

>That's the usual technique but you'd loose the advantage of eval_pigment.

Not if you use a tileable pigment made with Chris' macro :)
 I
>don't think youd save much memory either. As most of the parsing time was
>spent on creating bounding slabs, I guess that manual bounding is the way to
>go when I work out how to do it!

A quadtree hierarchy of bounding boxes would be a good shot at it, I
guess.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 17:02:35
Message: <3957c4eb@news.povray.org>
Its Samual's grass macro but spacing between grass blades has been reduced
from 1 to .01pov units!!!!

Mick

"ryan constantine" <rco### [at] yahoocom> wrote in message
news:3957B67A.EEACDBD2@yahoo.com...
> wouldn't distance-dependent grass be better on render times?  like if
> the quality stuff was up front, then not so good, but faster, ending
> with a regular texture far out?  is there a not-so-good grass macro?  or
> are they all made for close up inspection?  i've seen trees that are
> supposed to be used far away, but not grass.
>
> for the current image, how high up are you from the grass and what is
> the length of the grass?  oh, and how far out does it go? (just trying
> to get a perspective here)  also, is it one patch of grass or several?
> is it possible to selectively smash down certain areas of the grass;
> like alien landing sites in crops or the shape an animal makes when it
> lays down?  and what are the units you use?  can you make the light and
> dark areas (wind?) more smooth or are you stuck with what you get?
> thanks.
>
> Mick Hazelgrove wrote:
> >
> > Yep, my next project - I want to create some rocks based on samuals
basalt
> > columns and about 2 million blades of grass on a HF using your mod and
some
> > of mine on Samuals code. Then I'll throw in some media, a few rocks and
> > radiosity and go on holiday for a month!!!!!
> >
> > Mick
> >
> > "Tony[B]" <ben### [at] panamac-comnet> wrote in message
> > news:39574eda@news.povray.org...
> > > Does this use the source I sent you? Looks nice. I wonder what this
would
> > > look like on a far away hill? (Maybe you should borrow some RAM from a
> > > couple friends, and give a full scene a try. :)
> > >
> > >


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 17:03:28
Message: <3957c520@news.povray.org>
Care to explain in english!!!!

"Peter Popov" <pet### [at] usanet> wrote in message
news:4lfflso0j3b8m93i4e3oqu3j426l8dmcpb@4ax.com...
> On Mon, 26 Jun 2000 19:01:42 +0100, "Mick Hazelgrove"
> <mic### [at] mhazelgrovefsnetcouk> wrote:
>
> >> Wow Mick... I haven't even tried that many yet.... I guess the grass
isn't
> >> so fast when so many are used :) I wonder if making one smaller square
of
> >> grass and then copying it would save memory? You'd have to make sure
nobody
> >> could see the repetitions.
>
> >That's the usual technique but you'd loose the advantage of eval_pigment.
>
> Not if you use a tileable pigment made with Chris' macro :)
>  I
> >don't think youd save much memory either. As most of the parsing time was
> >spent on creating bounding slabs, I guess that manual bounding is the way
to
> >go when I work out how to do it!
>
> A quadtree hierarchy of bounding boxes would be a good shot at it, I
> guess.
>
>
> Peter Popov ICQ : 15002700
> Personal e-mail : pet### [at] usanet
> TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Peter Popov
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 17:35:36
Message: <1phfls8h3fhhu2a7b3j5a16acdtv3piu81@4ax.com>
On Mon, 26 Jun 2000 22:05:15 +0100, "Mick Hazelgrove"
<mic### [at] mhazelgrovefsnetcouk> wrote:

>Care to explain in english!!!!

About the tileable pigment, Chris Colefax has a macro that would make
any texture tile seemlessly. Granted, a repetition *may* be noticed
but the probability would not be as high.

Now about the bounding quadtree. Imagine you have a big (and
relatively flat) grass patch consisting of, say, 32x32 smaller patches
whose bounds you know. Bound each patch into its own bounding box. You
now have 32x32 bounding boxes. Bow bound them in quads, 2x2 so that
you have 8x8 bounding boxes each of which has 2x2 bounded patches in
it. Then do this again so that you have 4x4 larger bounds, then again
to get 2x2 and finally bound them into a single box.

Why would you want to do that?

Imagine a ray-shape intersection test. A ray is shot from the camera.
If no bounding is used, it would have to be tested against each of the
32x32=1024 patches (consider them single objects for simplicity). With
a hierarchical bounding scheme such as the one described above, the
ray will first be tested against the outermost box, then if there's an
intersection it will be tested against the inner four and so on and
the test will traverse down the quadtree (quad because each 'branch'
has four sub-branches) and only follow those branches which are likely
to result in an actual intersection.

The best results would be achieved if the grass field is viewed from
above because the projections of the bounding boxes on the screen (the
vista buffers) would not overlap. I am sure a more efficient method
can be developed which would incorporate adaptive median subdivision
of the bounding boxes combined with minimizing the vista buffer
overlapping but I would probably leave this for povray.programming or
povray.unofficial.patches ;)

Hope it helps any.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Chris Huff
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 18:09:57
Message: <chrishuff-BD9282.17142726062000@news.povray.org>
In article <3957B67A.EEACDBD2@yahoo.com>, ryan constantine 
<rco### [at] yahoocom> wrote:

> is it possible to selectively smash down certain areas of the grass;
> like alien landing sites in crops or the shape an animal makes when it
> lays down?

Another possible use for the eval_*() functions...

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Tony[B]
Subject: Re: Samuals grass-lots of it
Date: 26 Jun 2000 21:24:32
Message: <39580250@news.povray.org>
BTW, I tried to do some tests of my own using 50,000 blades, and after 3
hours and a half of parsing, the machine gave me an out of memory message.
:-/ How do you do it? I only got as far as "Creating bounding slabs..."


Post a reply to this message

From: Bob Hughes
Subject: Re: Samuals grass-lots of it
Date: 27 Jun 2000 03:39:32
Message: <39585a34@news.povray.org>
Time to kick off the shoes and run barefoot.
That render-time says "no animation, nuh-uh".

Bob


Post a reply to this message

From: Vahur Krouverk
Subject: Re: Samuals grass-lots of it
Date: 28 Jun 2000 04:07:20
Message: <3959B2DE.886BD3F1@aetec.ee>
Mick Hazelgrove wrote:
> 
> There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
> 45 mins to parse!
> 
> Mick
> 

Hmm, I counted only 399968 blades, seems like someone were left out of
frame...
Additionally I don't think that this picture will qualify as excellent
example of lawn: grass is in clumps and too long, seems like it hasn't
been rolled (??) couple of hundred years yet...
<j/k, pulling long face from envy.>


Post a reply to this message

From: Moon47
Subject: Re: Samuals grass-lots of it
Date: 1 Jul 2000 21:51:58
Message: <395D51C2.F1116DC4@earthlink.net>
Suggest:
A white picket fence,
A cute little house,,
And something to do w/ children ( a swing set w/ swirly colors on the metal
or a nice wooden one),,,

Mick Hazelgrove wrote:

> There are 400005 blades of grass in this pic - took 5 hrs to render - 3hrs
> 45 mins to parse!
>
> Mick
>
>  [Image]


Post a reply to this message

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