PDA

View Full Version : Capturing camera views while modeling?


TiKiMoN
05-01-2003, 02:22 AM
Are there any MEL commands or is there a plugin or tool that will allow me to capture a camera view upon saving? I was wanting to make a shelf button which would allow me to save my scene incrementally and make a screen capture of the current state of my model through a perspective camera created solely for capturing the model progress. I have seen some modeling movies produced by a few members here, or found by them, and I was hoping to do the same for my upcoming project, so I might learn how I do things and what I could change about my technique, or what I could learn from how I did something in particular. However, I am hoping to do all the work myself, meaning I would rather write the MEL for it myself instead of using something that currently exists, but if you know of a MEL script that performs something like this function, I might be able to learn how someone else's works and then create my own through that knowledge. If anyone could help out with this, I'd really appreciate it. Thanks! :)

jadamburke
05-01-2003, 07:05 AM
You can use the playblast mel command like this:

playblast -startTime 01 -endTime 01 -format image -filename "modelA" -clearCache 0 -viewer 1 -showOrnaments 0 -percent 100 -widthHeight 720 480;

The options should be self explanatory. The image format used is whatever image format is specified in the render globals. You would have to write a script that gets the filename of your.mb file and uses that for the playblast's filename option to prevent a shelf button from constantly overwriting one file.

CGTalk Moderation
01-15-2006, 12:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.