POV-Ray : Newsgroups : povray.newusers : Where in a height field? Server Time
1 Nov 2024 13:20:18 EDT (-0400)
  Where in a height field? (Message 1 to 7 of 7)  
From: JZ
Subject: Where in a height field?
Date: 18 Jun 2005 09:40:00
Message: <web.42b4239c6bc6c8f55f5399470@news.povray.org>
I got the height field tutorial to work for me.  Now, how do I place an
object at a specific place in (on) the height field?  Is there a way to
query for a x,z to find out what the value of the height field y is?


Post a reply to this message

From: Warp
Subject: Re: Where in a height field?
Date: 18 Jun 2005 11:23:00
Message: <42b43c54@news.povray.org>
JZ <nomail@nomail> wrote:
> I got the height field tutorial to work for me.  Now, how do I place an
> object at a specific place in (on) the height field?  Is there a way to
> query for a x,z to find out what the value of the height field y is?

trace()

-- 
                                                          - Warp


Post a reply to this message

From: Florian Brucker
Subject: Re: Where in a height field?
Date: 18 Jun 2005 14:50:22
Message: <42b46cee$1@news.povray.org>
There is an article including macros and sample scenes at the WikiPOV:

http://www.wikipov.org/ow.asp?DropOnSurface


HTH,
Florian
-- 
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/


Post a reply to this message

From: JZ
Subject: Re: Where in a height field?
Date: 18 Jun 2005 15:15:00
Message: <web.42b471d5f97157eb5f5399470@news.povray.org>
Florian Brucker <tor### [at] torfboldcom> wrote:
> There is an article including macros and sample scenes at the WikiPOV:
>
> http://www.wikipov.org/ow.asp?DropOnSurface
>
>
> HTH,
> Florian
> --
> camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
> #local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
> *10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
> /******** http://www.torfbold.com ******** http://www.imp.org ********/

I first tried the help button for trace.  gosh that is a really helpless way
to find anything.

your DropOnSurface was spot on. Thanks for the direction.


Post a reply to this message

From: Warp
Subject: Re: Where in a height field?
Date: 19 Jun 2005 08:23:04
Message: <42b563a8@news.povray.org>
JZ <nomail@nomail> wrote:
> I first tried the help button for trace.  gosh that is a really helpless way
> to find anything.

  What was so difficult about it?

-- 
                                                          - Warp


Post a reply to this message

From: JZ
Subject: Re: Where in a height field?
Date: 21 Jun 2005 21:05:01
Message: <web.42b8b82cf97157eb5f5399470@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> JZ <nomail@nomail> wrote:
> > I first tried the help button for trace.  gosh that is a really helpless way
> > to find anything.
>
>   What was so difficult about it?
>
> --
>                                                           - Warp
 First I searched on "trace"  ... too many hits and I never found the right
reverence.

When I went to index tab, the trace entry was also just what I should have
found first.

Since my learning mechanism is based on creating and solving errors.  I am
learning a lot.


Post a reply to this message

From: Warp
Subject: Re: Where in a height field?
Date: 22 Jun 2005 00:03:33
Message: <42b8e315@news.povray.org>
JZ <nomail@nomail> wrote:
>  First I searched on "trace"  ... too many hits and I never found the right
> reverence.

  If you are using winpov, just write "trace" on the editor (ie in the
pov-file you are editing) and press F1. It will take you directly to
the appropriate subsection.

-- 
                                                          - Warp


Post a reply to this message

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