|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is quite easy with the trace() function. Given a starting point and a
direction vector, the function will shot a ray towards a pre-declared
object. It then returns the coordinates of where that ray converged with
the object. This is an unofficial feature so you'll need MegaPOV of course.
-Chris-
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mick Hazelgrove wrote:
>
> If you need an example I'll send one to you but be warned it's messy!
Could you, please? It'd be easier to figure out with some working code
to dissect.. thanks!
-Xplo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |