Mathematica > Visualization and Graphics > Graphics Options & Styling > 3D Graphics Options >

ViewMatrix

ViewMatrix
is an option for Graphics3D and related functions that can be used to specify an explicit homogeneous transformation matrix for 3D coordinates.
  • ViewMatrix can be set to a 4×4 matrix m which is applied to the list {x, y, z, 1} for each point.
  • If the result is {tx, ty, tz, tw}, then the screen coordinates for each point are taken to be given by {tx, ty}/tw.
Orthographic view of a sphere from the negative z direction:
In[1]:=
Click for copyable input
Out[1]=
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team