script that can get the region where an animated objects move

hello again every one

i need script that can get the region where an animated objects move

i mean i have an object which is animated
then i need to get the region that the object moves in so that i could make render for this only region

thanks alot

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Christopher Grant's picture

Hello again. I can

Hello again. I can understand why it might seem like a good idea to "just" get a region where objects are moving - however it's just not the way 3ds max works... Render region mode isn't designed for the region to change per frame of animation - it's designed for doing quick still renderings of a small rectangular region. Even if you did have a script that did what you asked - it'd most certainly be slower than a full render because it'd have to calculate the region size, render a single frame, exit render mode, calculate a new region size, begin rendering a frame, exit render mode, etc, etc. It'd be very time consuming constantly loading / unloading the geometry & textures every frame.

As I mentioned in a previous thread the best way to do what you're looking to do is:

1. Learn how to optimize max lights, shadows, materials, render settings, textures, etc so you can render each frame in less time.
2. Learn how to use 3ds max "backburner" to create a render farm - connecting multiple pc's together to share the cpu load over all of them.
3. Read up on the "matte/shadow" material in the 3ds max manual. Render in 2 passes - static objects and a second pass with static objects matted rendering only the animated objects.

If you have an aversion to complicating your life with rendering in passes then your best bet is to talk to your classmates / friends about what settings they use to render their scenes. If you can make Max render faster then problem solved. If you can talk to your instructor about setting up a render farm of all the workstations in class - then you're problem will probably be solved that way too...

Chris

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.