PDA

View Full Version : Rendering a ZBuffer image from 3DSMAX



SevenCubed
08-10-2009, 08:21 PM
Hey... So I had someone ask me to discuss technique on here, and I reckoned I could throw up my usual "3D-to-carving pattern" process.

Note: I got used to this technique before the STL importer was implemented, so this may not be especially useful. But let's get down to brass tacks! It's as simple as A, B, C:

A.) Camera! First step in this process, once you've got a 3D Scene and a composition in mind, is to find out what your Z-Buffer range is gonna be. Once you've got your camera lined up the way you want it, click on the "Show" box for "Environment Ranges" in the modifier panel for your camera. Once this has been done, you should be able to move around two little rectangles. Adjust these until they represent what you want to be the shallowest and deepest part of your carving. In the picture I included, I was very generous, because I'd rather get too much in the scene than not enough.

B.) Z-Buffer! This is where the magic happens. In your Renderer dialogue, you can click on the "Render Elements" tab and press that "Add" button there. When you do that, you'll get a whole list of stuff, but you wanna scroll down to "Z-Buffer" and add it. While still in the "Render Elements" area, scrub down to the Z-Buffer options, and use the Near and Far values you plugged into your camera. Whatever's near will be white, whatever's far will be black. You're familiar with the drill, I'm sure.

C.) Profit! That's it, really. Press the render button. It'll render the scene like normally, and then a window will pop up showing the Z-Buffer window. Render your scene in Stupid-high resolution, and she's good to go! You can save the Z-Buffer image with an alpha channel, in case you wanted to post-process a little bit in Photoshop.

That's basically it! It's a very uncomplicated process. Hopefully this is useful to folks! I'm kinda assuming that you have general familiarity with 3DS MAX and whatnot, but feel free to ask me questions if you get stuck anywhere.

Steven Alford
08-10-2009, 08:46 PM
So how much does this 3D Max software cost?

SevenCubed
08-10-2009, 08:51 PM
Oh, it's rediculous. I think it's in the thousands. I've been fortunate to work at game companies where I had access to the software, and I know many college students have access to it, too. You CAN download a free 30 day trial from Autodesk, but it's generally outside the reach of the hobbyist, I fear. 3DS MAX is sort of a one-stop shop; that's why it's so expensive. Rendering, modeling, animation, post-processing... it's a fancy piece of work.

HighTechOkie
08-10-2009, 08:53 PM
About $3,500
http://store.autodesk.com/DRHM/servlet/ControllerServlet?Action=DisplayProductDetailsPage&SiteID=adsk&Locale=en_US&ThemeID=1293100&Env=BASE&productID=121501300

Rob

Steven Alford
08-10-2009, 08:56 PM
Oh, well at that price give me three of them!!:lol:

Steven Alford
08-10-2009, 08:57 PM
Anyone want to trade a copy of it for AutoCad??

James RS
08-11-2009, 03:42 AM
Thanks, I'll give it a try tonight