POV-Ray : Newsgroups : povray.binaries.animations : Roll-athon (455 kbbu) : Re: Roll-athon (455 kbbu) Server Time
5 Nov 2024 01:26:09 EST (-0500)
  Re: Roll-athon (455 kbbu)  
From: Bob Hughes
Date: 11 Jul 2000 23:53:21
Message: <396bebb1@news.povray.org>
"Denis Corbin" <cor### [at] wanadoofr> wrote in message
news:396B8439.35FC4830@wanadoo.fr...
| Hi Greg,
|
| nice animation, but a lot of questions arise !
| spheres rolling and not flying over the surface ? In fact I'm looking
| for a way, given a height_field object, to know what will be the height
| (z axis) of a point given its coordinates (x,y). I suppose it would be
| not so much simple to read the source picture used to make the
| height_field (considereing the different format possible in use). I
| haven't been able to find anything embeded in POV-Ray that let the user
| access this value from a povray source file (within a macro in
| particular), maybe I have missed it ?

I'll let Greg answer too  :-)  but you obviously haven't heard about MegaPov,
or it's 'hf_height_at' keyword which allows you to find any points y
coordinate on the surface of a height field.  HF is along x and z, not x and y
as you had said and the y value is it's height.  Check at:
http://www.nathan.kopp.com/patched.htm

Bob


Post a reply to this message

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