Blender Git Commit Log

Git Commits -> Revision bb7ad80

Revision bb7ad80 by Ben Batt (master)
November 22, 2006, 15:09 (GMT)

Upgrades to the UVProject modifier:
- New perspective projection capability. If a camera is used as the
projection object, the modifier detects whether to do perspective or
orthographic projection based on the camera type. If any other object
type is used as the projection object, orthographic projection is used.
- Orthographic projection actually works properly now.
- The projected UVs are scaled and offset so that the image is centred in
the projecting camera's view.
- AspX and AspY inputs have been added to control the aspect ratio of the
projected UVs.

Also:
- I have added the Mat4MulVec3Project() function to BLI_arithb.h; this
function converts a 3-dimensional vector to homogeneous coordinates
(4-dimensional, with the 4th dimension set to 1), multiplies it with the
given matrix, then projects it back to 3 dimensions by dividing through
with the 4th dimension. This is useful when using projection matrices.

Commit Details:

Full Hash: bb7ad80269d76cba98a90c8bf95e2cc47f88820c
SVN Revision: 9021
Parent Commit: 03f4a36
Lines Changed: +108, -33

5 Modified Paths:

/source/blender/blenkernel/intern/modifier.c (+80, -32) (Diff)
/source/blender/blenlib/BLI_arithb.h (+5, -0) (Diff)
/source/blender/blenlib/intern/arithb.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -0) (Diff)
/source/blender/src/buttons_editing.c (+10, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021