POV-Ray : Newsgroups : povray.binaries.images : Heightfield CSG query Server Time
16 Nov 2024 18:20:58 EST (-0500)
  Heightfield CSG query (Message 1 to 4 of 4)  
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------


Post a reply to this message


Attachments:
Download 'heightfield csg test.jpg' (12 KB)

Preview of image 'heightfield csg test.jpg'
heightfield csg test.jpg


 

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.


Post a reply to this message

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...


Post a reply to this message

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------


Post a reply to this message

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