POV-Ray : Newsgroups : povray.binaries.images : hf_normal_at (36k) Server Time
2 Oct 2024 10:19:00 EDT (-0400)
  hf_normal_at (36k) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Christoph Hormann
Subject: hf_normal_at (36k)
Date: 13 Jun 2000 09:48:10
Message: <39463B99.C3A9334B@gmx.de>
Just did a small macro for "hf_normal_at" (similar to hf_height_at)

I do not know, if someone has done this before, if anybody is interested
in the code, let me know.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message


Attachments:
Download 'hf_norm1.jpg' (36 KB)

Preview of image 'hf_norm1.jpg'
hf_norm1.jpg


 

From: Bob Hughes
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 10:00:30
Message: <39463e7e@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:39463B99.C3A9334B@gmx.de...
|
| Just did a small macro for "hf_normal_at" (similar to hf_height_at)
|
| I do not know, if someone has done this before, if anybody is interested
| in the code, let me know.

That's good and all but the obvious question would be "Why?" since 'trace()'
already does this.
Even so, I had thought before that the normal vector would be a great addition
to 'hf_height_at' anyway.  Most of all though I'm curious as to how you
managed to do this with a macro (because I am always curious).

Bob


Post a reply to this message

From: Christoph Hormann
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 11:18:09
Message: <394650B2.3210C72C@gmx.de>
Bob Hughes wrote:
> 
> That's good and all but the obvious question would be "Why?" since 'trace()'
> already does this.
> Even so, I had thought before that the normal vector would be a great addition
> to 'hf_height_at' anyway.  Most of all though I'm curious as to how you
> managed to do this with a macro (because I am always curious).
> 
> Bob

Ooops, 
I already expected, that there would be another way, because it seems to
be a quite useful function, not only for heightfields. 

Anyway, code is in p.t.s-f.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Jamie Davison
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 15:28:57
Message: <MPG.13b091c56a8b3cd19896e6@news.stmuc.com>
On Tue, 13 Jun 2000 08:59:29 -0500, Bob Hughes wrote...
> "Christoph Hormann" <chr### [at] gmxde> wrote in message
> news:39463B99.C3A9334B@gmx.de...
> |
> | Just did a small macro for "hf_normal_at" (similar to hf_height_at)
> |
> | I do not know, if someone has done this before, if anybody is interested
> | in the code, let me know.
> 
> That's good and all but the obvious question would be "Why?" since 'trace()'
> already does this.

You're making one rather large assumption there...  

You're assuming that everybody uses MegaPOV, since AFAIK, trace() isn't 
yet an official POV function :)

I still use plain old 3.1g on the grounds that if I ever get a scene I 
feel is worth releasing the code for, then I don't want people to be 
unable to trace it just because they haven't downloaded a patched version 
of POV.

Bye for now,
     Jamie.


Post a reply to this message

From: Bob Hughes
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 15:42:07
Message: <39468e8f@news.povray.org>
"Jamie Davison" <jam### [at] dh70qdu-netcom> wrote in message
news:MPG### [at] newsstmuccom...
| >
| > That's good and all but the obvious question would be "Why?" since
'trace()'
| > already does this.
|
| You're making one rather large assumption there...
|
| You're assuming that everybody uses MegaPOV, since AFAIK, trace() isn't
| yet an official POV function :)
|
| I still use plain old 3.1g on the grounds that if I ever get a scene I
| feel is worth releasing the code for, then I don't want people to be
| unable to trace it just because they haven't downloaded a patched version
| of POV.

Yeah, how true.  I've been persuaded very much into the realm of <commanding
echo>MegaPov</commanding echo>.
Although, Christopher's hf_normal_at macro is also using it  :-)

Bob


Post a reply to this message

From: Christoph Hormann
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 18:02:45
Message: <3946AF84.69357ADC@gmx.de>
Bob Hughes wrote:
> 
> Yeah, how true.  I've been persuaded very much into the realm of 
> <commanding echo>MegaPov</commanding echo>.
> Although, Christopher's hf_normal_at macro is also using it  :-)
> 
> Bob

<angry>My name is Christoph</angry> :-)

Would have been quite a lot of work manually reading the height file...  

I don't see anything wrong using megapov if it helps making things
easier and/or better.  Of course it is difficult to download for those
who only have slow internet connection. 

<small try> 
And somewhere along the way there will be Version 3.5... ;-) 
</small try>

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Bob Hughes
Subject: Re: hf_normal_at (36k)
Date: 13 Jun 2000 23:54:48
Message: <39470208@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3946AF84.69357ADC@gmx.de...
|
| > Yeah, how true.  I've been persuaded very much into the realm of
| > <commanding echo>MegaPov</commanding echo>.
| > Although, Christopher's hf_normal_at macro is also using it  :-)
| >
| > Bob
|
| <angry>My name is Christoph</angry> :-)
|
| Would have been quite a lot of work manually reading the height file...
|
| I don't see anything wrong using megapov if it helps making things
| easier and/or better.  Of course it is difficult to download for those
| who only have slow internet connection.
|
| <small try>
| And somewhere along the way there will be Version 3.5... ;-)
| </small try>
|
| Christoph

Nay, 'tis but just a mere 3/4 megabyte or there abouts.  If I had only a 14.4K
modem I'd have gotten it anyway (oh, I do have a connection near to that :))
The anticipated POV-Ray 3.5 will most certainly be a couple megabytes or more
if history proves to be repeated.

Bob


Post a reply to this message

From: Bob Hughes
Subject: Re: hf_normal_at (36k)
Date: 14 Jun 2000 00:06:49
Message: <394704d9@news.povray.org>
| | <angry>My name is Christoph</angry> :-)

| | Would have been quite a lot of work manually reading the height file...

Whoa, terribly sorry! I only just now realized what you were doing by saying
this part.  I thought you were angry at the "a lot of work" thing.  Somehow I
completely skipped over what you had said.  And I swear to you I was seeing
Christopher written/signed everytime.  This might mean I'll need to start
wearing my glasses at home.  Oh I hope not.
Let me try this now... <practice> Christoph </practice>  There, I did it.
Yea!

Bob


Post a reply to this message

From: Christoph Hormann
Subject: Re: hf_normal_at (36k)
Date: 14 Jun 2000 05:05:56
Message: <39474AF3.FFB8E1D5@gmx.de>
Bob Hughes schrieb:
> 
> | | <angry>My name is Christoph</angry> :-)
> 
> | | Would have been quite a lot of work manually reading the height file...
> 
> Whoa, terribly sorry! I only just now realized what you were doing by saying
> this part.  I thought you were angry at the "a lot of work" thing.  Somehow I
> completely skipped over what you had said.  And I swear to you I was seeing
> Christopher written/signed everytime.  This might mean I'll need to start
> wearing my glasses at home.  Oh I hope not.
> Let me try this now... <practice> Christoph </practice>  There, I did it.
> Yea!
> 
> Bob

Don't worry about it, you are not the first one to make this mistake...
AKAIK Christoph is not a very common name in english speaking countries,
so if anybody feels irritated i would prefer Chris to Christopher.  

Concerning the question of official/unofficial version, I think it is
mostly a question of standards and compatibility.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: hf_normal_at (36k)
Date: 14 Jun 2000 05:21:40
Message: <39474ea4@news.povray.org>
Jamie Davison <jam### [at] dh70qdu-netcom> wrote:
: You're assuming that everybody uses MegaPOV, since AFAIK, trace() isn't 
: yet an official POV function :)

  Neither is hf_height_at, which the macro uses.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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