|
![](/i/fill.gif) |
On Wed, 07 Aug 2002 20:19:08 -0500, Christopher James Huff
<chr### [at] mac com> wrote:
>I said a box and I meant the built-in "box" primitive.
Yes, first thing I tried.
>I just tried it and it works fine. Under what conditions doesn't it
>work?
When viewed from certain angles? Maybe when the look_at point is
inside the thing? I'll have to test this more comprehensively but I'm
currently using the computer for other things (yeah, real life :( )
>Are you making sure the box sides are "inside" the height field?
Of course, although I tried it the other way around as well since it
shouldn't matter.
>The artifacts you describe sound like coincident surface problem, or the
>box surface being coincident with the height field in/out boundary.
>Either use a slightly smaller box or slightly larger height field.
The HF is scaled 1.1, should be more than enough.
>I really wish you could just put "open false" in the height field
>block...maybe I'll code that up as a patch someday. It should really
>default to on, but having it off by default would preserve backwards
>compatibility.
Yes, I've wished for that as well. Kudos if you get it working.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <8ik4luscie2tt0p7u7grroorrjghs0dkau@4ax.com>,
Peter Popov <pet### [at] vip bg> wrote:
> >I just tried it and it works fine. Under what conditions doesn't it
> >work?
>
> When viewed from certain angles? Maybe when the look_at point is
> inside the thing? I'll have to test this more comprehensively but I'm
> currently using the computer for other things (yeah, real life :( )
I suspect you mean "location", since look_at couldn't possibly cause the
problem. That shouldn't matter...POV should only care what surfaces are
in what volumes. I put the camera inside and it renders fine. "Certain
angles" is a possibility that I can't duplicate, but I don't see any
reason for it to happen. My tests work from above, from below, from the
side, and from inside. Could you post the code you are using?
> >Are you making sure the box sides are "inside" the height field?
>
> Of course, although I tried it the other way around as well since it
> shouldn't matter.
No, it matters quite a bit. Since the height field doesn't have sides,
POV can only check that the sides of the box are inside the height
field. If they are outside, they are ignored with no height field
surface to replace them.
--
Christopher James Huff <chr### [at] mac com>
POV-Ray TAG e-mail: chr### [at] tag povray org
TAG web site: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |