PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Visualization and Graphics
>
Graphics Options & Styling
>
3D Graphics Options
>
Built-in
Mathematica
Symbol
AffineTransform
ViewVector
ViewPoint
ViewCenter
ViewVertical
ViewAngle
ViewRange
See Also »
|
3D Graphics Options
Graphics Coordinates
More About »
ViewMatrix
ViewMatrix
is an option for
Graphics3D
and related functions that can be used to specify an explicit homogeneous transformation matrix for 3D coordinates.
MORE INFORMATION
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
.
With the default setting
ViewMatrix
->
Automatic
, the matrix
m
is found automatically from the settings for options such as
ViewPoint
,
ViewVertical
and
PlotRange
.
With the setting
ViewMatrix
->
Automatic
, explicit forms for the matrix
m
can be found using
AbsoluteOptions
[
g
, ViewMatrix]
.
An explicit setting
ViewMatrix
->
m
overrides settings for
ViewVector
,
ViewPoint
and other view options.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Orthographic view of a sphere from the negative
direction:
In[1]:=
Out[1]=
SEE ALSO
AffineTransform
ViewVector
ViewPoint
ViewCenter
ViewVertical
ViewAngle
ViewRange
MORE ABOUT
3D Graphics Options
Graphics Coordinates
New in 6