Home

modelview

Modelview is a term used in software engineering and computer graphics to describe two related ideas: a software design relationship between data and its presentation, and a graphics transformation concept used in 3D rendering. In software architecture, the modelview concept describes a pattern in which the model stores data and business logic while the view renders that data for the user. The view may observe the model for changes or be updated by a controller or presenter that handles user input and coordinates updates. This separation aims to reduce coupling and to allow multiple views of the same data.

In computer graphics, the modelview term refers to the modelview matrix, the product of modeling and viewing

transformations
that
converts
coordinates
from
object
space
to
eye
space.
The
modeling
transform
positions
and
scales
objects
in
the
world;
the
viewing
transform
applies
the
camera's
position
and
orientation.
Together
they
determine
how
geometry
is
transformed
before
projection
onto
the
screen.
In
legacy
graphics
pipelines
such
as
OpenGL's
fixed-function
pipeline,
a
single
modelview
matrix
is
composed
and
stored
on
a
stack;
modern
pipelines
typically
handle
these
transforms
in
programmable
shaders
with
separate
model,
view,
and
projection
matrices.