Shoots a ray through the scene to determine the closest face on any object then sets the viewport transform matrix so the this face is oriented perpendicular to the view.
Script
OrientToFace
By Mike Biddlecombe · 2006-10-21
- Version
- 1.1
- Version requirement
- 8
- Other software required
- Only tested on max8 - should run on earlier versions.
- Date updated
- 2006-07-05
- Votes
- 7
- Download
- Download
Description
Additional Info
CHANGES:
- 1.0 original release
- 1.1 performance tweaks
Works a little differently from similar scripts in that it doesn't need a temporary camera - so it doesn't blow out the current viewport 'zoom' distance.
Bind this macroscript to a key for a quick 'look at the face at the mouse position' tool.
Installation:
Run the script - then bind the macro it generates ('OrientToFace' in the 'biddle's tools' category) to an available key.
- 1.0 original release
- 1.1 performance tweaks
Works a little differently from similar scripts in that it doesn't need a temporary camera - so it doesn't blow out the current viewport 'zoom' distance.
Bind this macroscript to a key for a quick 'look at the face at the mouse position' tool.
Installation:
Run the script - then bind the macro it generates ('OrientToFace' in the 'biddle's tools' category) to an available key.
Tags: transform