ScriptSpot

Forum topic · General Scripting

Physical render extents

By Lareon · 2013-06-19

Description

If i wanted to get the position of each corner of the render extents of a camera how would i go about it?

for example i have a camera looking down at unspecified angle i want to create a square that fits exactly in world space over the camera extents

how do i get the world position of this extent (preferably without being in the camera viewport and using screen pixels.)

Comments (2)

Lareon · 2013-06-20

i found the answer in the vertex render section of the maxscript help :)
case closed!

Lareon · 2013-06-19

maybe a better explanation would be a physical representation of the frustrum when it fills the cameras viewport