POV-Ray : Newsgroups : povray.general : Grass on height fields? : Re: Grass on height fields? Server Time
9 Aug 2024 03:21:42 EDT (-0400)
  Re: Grass on height fields?  
From: Mick Hazelgrove
Date: 24 Aug 2000 04:02:06
Message: <39a4d67e$1@news.povray.org>
Hi

Two ways to get the grass to follow the contours

1) Use Leveller which outputs a grid of points for you.

2) Use the trace function.

You must create a bunch of grass blades as a  triangle mesh file ( not a
union)
and place this on the HF Gille's grass macro does this by exporting triangle
data to a file for you. or if you prefer it's easy enough to do this
yourself. You can then use this file as an include file.

By creating a mesh file you can have many more blades of grass I have
rendered a 10x10 patch of grass 300,000 times giving 30,000 000 blades of
grass!

If you use any other method you are limited to about 100,000 blades of grass
(depending on your system) before parsing times become ludicrous.

If you need an example I'll send one to you but be warned it's messy!

Mick

"Xplo Eristotle" <inq### [at] unforgettablecom> wrote in message
news:39A47238.8C87B6CD@unforgettable.com...
> Some time back, Mick Hazelgrove was posting a bunch of images (in the
> images NG, of course) with grass on height fields. I'm looking to do
> something similar, but reading through those posts and looking at
> Gilles' grass macro, I can't fathom how he got it to follow the contours
> of the HF.
>
> Could anyone out there lend me a clue? I wouldn't even know where to
> start experimenting with this...
>
> -Xplo


Post a reply to this message

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