Jump to content

Making A Box Like The Camera Frustum


Recommended Posts

Hi all,

I am trying to create a box in the shape of the full frustum when you turn it on for a camera in the viewport. I wish there was a way to get that information striaght from the camera. Theinformation is clearly there because the area is drawn in the viewport!

In any case, given that I have access to all the standard camera parms (focal length, aperture, camera position, near clipping plane, far clipping plane, aspect ratio, etc.) how can I recreate that box?

I have been scouring the net and my books and have come up with things about frustum clipping planes but I can't quite pull of the pieces together to build my box!

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...