Google Groups Home
Help | Sign in
pov-ray: Interesect finite object with half space
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
S M Ryan  
View profile
 More options 7 Jul, 03:46
Newsgroups: comp.graphics.rendering.raytracing
From: S M Ryan <wyrm...@romeo-alfa-whiskey-bravo-whiskey.com>
Date: Sun, 06 Jul 2008 19:46:10 -0700
Local: Mon 7 Jul 2008 03:46
Subject: pov-ray: Interesect finite object with half space
I want to intersect a finite object with the half space above or below a plane.
The only thing I can think of is a box that big enough so that only one side
(representing the plane) intersect the object the the other faces are outside
the object; but that requires figuring out a just large enough box. Are there
simpler ways to do this?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
 More options 7 Jul, 04:24
Newsgroups: comp.graphics.rendering.raytracing
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Mon, 7 Jul 2008 04:24:35 +0100
Local: Mon 7 Jul 2008 04:24
Subject: Re: pov-ray: Interesect finite object with half space
Wasn't it S M Ryan who wrote:

>I want to intersect a finite object with the half space above or below
>a plane.
>The only thing I can think of is a box that big enough so that only one side
>(representing the plane) intersect the object the the other faces are outside
>the object; but that requires figuring out a just large enough box. Are there
>simpler ways to do this?

Intersect it with the plane. One side of a plane is the "inside" and the
other is the "outside" for the purpose of CSG.

Which side of the plane is the "inside" isn't intuitively obvious, and
whenever I try to work it out I always end up getting it wrong. However,
since there are only two sides to choose from, you can try one and when
it turns out to be the wrong one you can inverse it.

--
Mike Williams
Gentleman of Leisure


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S M Ryan  
View profile
 More options 7 Jul, 05:48
Newsgroups: comp.graphics.rendering.raytracing
From: S M Ryan <wyrm...@romeo-alfa-whiskey-bravo-whiskey.com>
Date: Sun, 06 Jul 2008 21:48:47 -0700
Local: Mon 7 Jul 2008 05:48
Subject: Re: pov-ray: Interesect finite object with half space
In article <m6RycQHzxYcIF...@econym.demon.co.uk>,
 Mike Williams <nos...@econym.demon.co.uk> wrote:

> Wasn't it S M Ryan who wrote:
> >I want to intersect a finite object with the half space above or below
> >a plane.
> >The only thing I can think of is a box that big enough so that only one side
> >(representing the plane) intersect the object the the other faces are outside
> >the object; but that requires figuring out a just large enough box. Are there
> >simpler ways to do this?

> Intersect it with the plane. One side of a plane is the "inside" and the
> other is the "outside" for the purpose of CSG.

> Which side of the plane is the "inside" isn't intuitively obvious, and
> whenever I try to work it out I always end up getting it wrong. However,
> since there are only two sides to choose from, you can try one and when
> it turns out to be the wrong one you can inverse it.

Thanks. A quick check shows the direction the normal vector points to is the
outside half space.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lilith  
View profile
 More options 14 Aug, 15:10
Newsgroups: comp.graphics.rendering.raytracing
From: Lilith <lil...@dcccd.edu>
Date: Thu, 14 Aug 2008 09:10:51 -0500
Local: Thurs 14 Aug 2008 15:10
Subject: Re: pov-ray: Interesect finite object with half space
On Sun, 06 Jul 2008 19:46:10 -0700, S M Ryan

<wyrm...@romeo-alfa-whiskey-bravo-whiskey.com> wrote:
>I want to intersect a finite object with the half space above or below a plane.
>The only thing I can think of is a box that big enough so that only one side
>(representing the plane) intersect the object the the other faces are outside
>the object; but that requires figuring out a just large enough box. Are there
>simpler ways to do this?

Isn't that what clipped_by {} is for?

--
Lilith


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google