From: Timothy R Cook
Subject: Heightfield CSG query
Date: 11 Dec 2002 23:48:36
Message: <3df81524@news.povray.org>
Observe attached image with a cube differenced from a heightfield.
How do I get the cube to completely difference from the heightfield
without leaving the planar surface? Also, if I enlarge the cube
being differenced along the vertical axis, it effectively 'pushes'
the surface of the heightfield...
--
Tim Cook
http://empyrean.scifi-fantasy.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
From: hughes, b
Subject: Re: Heightfield CSG query
Date: 12 Dec 2002 02:07:07
Message: <3df8359b@news.povray.org>
"Timothy R. Cook" <tim### [at] scifi-fantasycom> wrote in message
news:3df81524@news.povray.org...
> Observe attached image with a cube differenced from a heightfield.> How do I get the cube to completely difference from the heightfield> without leaving the planar surface? Also, if I enlarge the cube> being differenced along the vertical axis, it effectively 'pushes'> the surface of the heightfield...
If you want to leave the HF surface only and not have any parts of the box
shape showing then use clipped_by instead of difference. I don't know what
you meant by that last sentence.
From: Marc Jacquier
Subject: Re: Heightfield CSG query
Date: 12 Dec 2002 02:59:46
Message: <3df841f2$1@news.povray.org>
Hi Tim
As planes, height fields have an interior which extends at infinite
your difference reveals that interior.
You may do an intersection between the hf and a surrounding big box before
doing the difference between this CSG and your small box
Marc
news: 3df81524@news.povray.org...
> Observe attached image with a cube differenced from a heightfield.> How do I get the cube to completely difference from the heightfield> without leaving the planar surface? Also, if I enlarge the cube> being differenced along the vertical axis, it effectively 'pushes'> the surface of the heightfield...
From: Timothy R Cook
Subject: Re: Heightfield CSG query
Date: 12 Dec 2002 05:34:36
Message: <3df8663c$1@news.povray.org>
Marc Jacquier wrote:
> As planes, height fields have an interior which extends at infinite> your difference reveals that interior.> You may do an intersection between the hf and a surrounding big box before> doing the difference between this CSG and your small box
aha, that solved it. thanks!
--
Tim Cook
http://empyrean.scifi-fantasy.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------