This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

3-D Scene Control

Positions of cameras and lights, focal points, light sources and intensity

MuPAD Graphical Primitives

plot::AmbientLight Ambient light
plot::Camera Camera
plot::DistantLight Directed distant light ("sunlight")
plot::PointLight Point light
plot::SpotLight Spot light

MuPAD Graphical Attributes

AffectViewingBox Influence of objects on the ViewingBox of a scene
CameraCoordinates Position of light sources relative to the camera?
LightColor Color of light
Lighting Light schemes for 3D graphics
LightIntensity Intensity of light
OrthogonalProjection Parallel projection without perspective distortion
SpotAngle Opening angle of the light cone of a spot light
ViewingAngle Opening angle of the camera lense
Position, PositionX, PositionY, PositionZ Positions of cameras, lights, and text objects
CameraDirection, CameraDirectionX, CameraDirectionY, CameraDirectionZ Direction of the automatic camera
FocalPoint, FocalPointX, FocalPointY, FocalPointZ Focal point of a camera
Target, TargetX, TargetY, TargetZ Target point of a light
UpVector, UpVectorX, UpVectorY, UpVectorZ, KeepUpVector Up direction of a camera


Cameras in 3D

The MuPAD® 3D graphics model includes an observer at a specific position, pointing a camera with a lens of a specific opening angle to some specific focal point.

Possible Strange Effects in 3D

Starting with the MuPAD Release 3.0, the rendering engine for 3D plots uses the OpenGL® library.


The plot library provides for more than 400 attributes for fine-tuning of the graphical output.

Was this topic helpful?