Hide non visible objects (frustum culling)

I would like a script that would hide all faces or objects outside of the camera view. It would save lots of ram and there so many cases where the result will be exactly the same if we hide everything not in view.

there is a script here tha create a frustum box, maybe it could be extended to do what I'm looking for. ( http://www.scriptspot.com/3ds-max/scripts/viewfrustum )

thanks