POV-Ray : Newsgroups : povray.binaries.images : Q on working with height_field's Server Time
18 Aug 2024 10:24:17 EDT (-0400)
  Q on working with height_field's (Message 1 to 4 of 4)  
From: Thomas Lake
Subject: Q on working with height_field's
Date: 17 May 2001 20:14:40
Message: <3b046970@news.povray.org>
I'm wondering if it is possible to access any of the elevation data that
pov-ray creates when parsing a height_field. When I say elevation data I
simply mean all the y components of the triangles that pov-ray produces from
a heightfield. This would be useful for placing objects on heightfiels, for
example a grass macro that placed a blade of grass at the same height as the
triangles on a heightfield.


Post a reply to this message

From: Bob H 
Subject: Re: Q on working with height_field's
Date: 17 May 2001 21:31:02
Message: <3b047b56$1@news.povray.org>
Nothing that will "in" POV-Ray as of version 3.1g, although MegaPoV does
have a 'hf_height_at' and 'trace' and version 3.5 will have the trace at
least.  Both ways make it possible to retrieve a point (vector) on the
surface.
I have a feeling you wouldn't get exactly perfect positions but close enough
perhaps.

Bob H.

"Thomas Lake" <tla### [at] homecom> wrote in message
news:3b046970@news.povray.org...
> I'm wondering if it is possible to access any of the elevation data that
> pov-ray creates when parsing a height_field. When I say elevation data I
> simply mean all the y components of the triangles


Post a reply to this message

From: Thomas Lake
Subject: Re: Q on working with height_field's
Date: 18 May 2001 00:12:42
Message: <3b04a13a$1@news.povray.org>
> although MegaPoV does
> have a 'hf_height_at'

Thanks this looks a lot like what I was looking for, although not as
flexible as it could be I think it could be used.
>
> Bob H.
>
> "Thomas Lake" <tla### [at] homecom> wrote in message
> news:3b046970@news.povray.org...
> > I'm wondering if it is possible to access any of the elevation data that
> > pov-ray creates when parsing a height_field. When I say elevation data I
> > simply mean all the y components of the triangles
>
>


Post a reply to this message

From: Josh English
Subject: Re: Q on working with height_field's
Date: 18 May 2001 14:24:44
Message: <3B05680A.360B8312@spiritone.com>
Thomas Lake wrote:

> I'm wondering if it is possible to access any of the elevation data that
> pov-ray creates when parsing a height_field. When I say elevation data I
> simply mean all the y components of the triangles that pov-ray produces from
> a heightfield. This would be useful for placing objects on heightfiels, for
> example a grass macro that placed a blade of grass at the same height as the
> triangles on a heightfield.

I'm working on a new version of my grass macro that can use the trace function
to place grass on any object. It works quite well.

Josh English


Post a reply to this message

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