Mathematica - Lines in 3D figure

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
chrismeister
Messages
1
Reaction score
0
Hi!

How do I make a line from a point to another point in Mathmatica, a 3D image?

Also, if you got any tips on how to do this:
I have a 3D pyramid and a plane("a window"). Behind the plane there is a point "An eye looking at the pyramid". I need a line from every corner of the pyramid, to go to this point behind the plane, and explain where in the plane the the lines will hit.

Any tips will be of help!

PS: Sorry for my bad English
 
Physics news on Phys.org
Hi chrismeister, welcome to PF

There is a graphic primitive "Line", which accepts two points as arguments. Unfortunately, I cannot be more specific right now (my computer with Mathematica is down), but look up the help topic on "Line" and it should get you started.