|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How can I figure out where a given line defined by two points intersects a
plane defined by three points?
Thank you, -Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 8 Feb 2002 11:37:57 -0800, "Shay" <shi### [at] houstonrrcom> wrote:
1. Please do not send empty posts.
2. Please just cancel your posts if they are no more valid.
Thank You
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tell me how outlook express and consider it done.
-Shay
news:m2276u8cjfukndhp0nn3vtvv0v1f3e4n4q@4ax.com...
> On Fri, 8 Feb 2002 11:37:57 -0800, "Shay" <shi### [at] houstonrrcom> wrote:
>
> 1. Please do not send empty posts.
> 2. Please just cancel your posts if they are no more valid.
>
> Thank You
>
> ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Shay" <sah### [at] simcopartscom> wrote in message news:3c63e462@news.povray.org...
> Tell me how outlook express and consider it done.
Too late! (you've had replies).
For future ref:
select message and go to message/cancel message
Anyway, it's not so bad - someone might see you message, run into the same
problem, and mail you or post to ask how you resolved it....
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 8 Feb 2002 08:45:29 -0600, "Shay" <sah### [at] simcopartscom> wrote:
>Tell me how
AFAIK there is a help (aka manual) in MS Outlook Express
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Shay wrote:
> How can I figure out where a given line defined by two points intersects a
> plane defined by three points?
Within POV-Ray, you could simply use "trace"...
Fabien.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 2. Please just cancel your posts if they are no more valid.
That's not a good idea. People might download and see the message before
it's cancelled and then spend time writing a reply. OE doesn't show if a
message has been cancelled.
But besides, whenever you ask a question and then find the answer yourself,
please tell what it was. Other's might be interested.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Trace would have been the best way, math the second. I did it the worst way
(too long at the computer makes your brain go funny.)
I rotated the whole problem onto the x plane and extended my vector to y=0.
-Shay
Shay <shi### [at] houstonrrcom> wrote in message
news:3c634d9d$1@news.povray.org...
> How can I figure out where a given line defined by two points intersects a
> plane defined by three points?
>
> Thank you, -Shay
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I answered your question anyway:
The following macro should calculate the intersection if it exists
Note that it does not determine if the line intersects the triangle
defined by your three points. If the line segment doesn't intersect the
plane it will still find the solution
// --------------------------------------
#declare pa = <-1,-1,-1>;
#declare pb = <1,0,1>;
#declare pc = <-1,0,0>;
triangle { pa pb pc pigment { rgbf <1,1,0,0.5> } }
#declare la = <1,1,1>;
#declare lb = <-0.5,-1,-0.2>;
cylinder { la lb 0.01 pigment { rgb x } }
#macro PlaneAndLine(a,b,c,d,e)
// a,b,c are on the plane
// d and e are on the line
#local pn = vnormalize(vcross(a-b,c-b));
#local ld = vnormalize(d-e);
#local test = vdot(ld,pn);
#local ps = <0,0,0>;
#if ( abs(test) < 0.00001 )
#debug "Line does not intersect plane"
#else
#local mu = vdot((a-d),pn)/vdot(ld,pn);
#local ps = d + mu*ld;
#end
ps
#end
#declare ps = PlaneAndLine(pa,pb,pc,la,lb);
sphere { ps 0.05 pigment { rgb y } }
Josh English
eng### [at] spiritonecom
http://www.spiritone.com/~english
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |