Mathematica Mathematica - Lines in 3D figure

AI Thread Summary
To create a line from one point to another in Mathematica for a 3D image, the "Line" graphic primitive is utilized, which takes two points as arguments. For the specific scenario involving a 3D pyramid and a plane, the goal is to draw lines from each corner of the pyramid to a point behind the plane, representing an "eye." To determine where these lines intersect the plane, further calculations involving the plane's equation and the line equations will be necessary. Users are encouraged to consult the Mathematica help documentation for detailed guidance on using the "Line" function and related 3D graphics techniques.
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.
 

Similar threads

Replies
3
Views
2K
Replies
1
Views
7K
Replies
2
Views
4K
Replies
2
Views
4K
Replies
2
Views
3K
Replies
2
Views
7K
Replies
7
Views
3K
Back
Top