I understand I can do that with the ShowZBuffer followed by ViewCaptureToFile, but searching through the forums it seems there isn’t a good way to set your output resolution via that method.
Instead (on WinRhino) there seems to be a button in the render window for saving a ZBuffer image at high res.
I’ve dug around in MacRhino and thus far haven’t been able to find anything similar, anyone know where that might be? (or if its definitively unsupported/unavailable?)
Please try the dashed version of the command -ViewCaptureToFile (this is the scriptable version of the command). Once you specify the file name, you should be able to set the resolution. Sorry this is “less-than-discoverable” …it is something we are tuning up significantly for Rhino 6.
I’ve tried the command and I’m not quite sure how to get to the place where I can set the resolution, hopefully this will be visible in the included gif
Try hitting the “Browse” button, then save Test.png (or something) to your desktop…then next options screen should show some settings for resolution.
We have already made a lot of headway fixing this workflow for Rhino 6, but for lots of complicated reasons we’ve not yet been able to backward port this to Rhino 5 for Mac. I’m going to take another look at MR-1114 soon.
Your right about the process, using browse did pop up another set of settings after the file was set, the output though seems a bit odd. Here is the settings that popped up:
I tried setting the scale to 5 and here is the output I got:
The image should be smooth, the sharp lines in the image look like it reset the z brightness in different quadrants of the scaled image. Here is the image when I don’t change the scale:
Well… as far as I can tell, the workflow for saving viewport to bitmaps might have been changed for RH6 but that does not solve the issue with the tiling of the Z-buffer output.
Sorry for the delayed reply here. It took me a little while to chase this one down. This is an issue that will not likely be fixed in Rhino 5 for Mac. We have this bug on our list for Rhino 6 (for both Windows and Mac) - RH-37442 - and we hope to get it fixed there as soon as we can. I wish I could deliver better news.