2D sprite from 3D animated model
Help you to rendered sprites of animated 3D model from multiple view angles. Create a Sprite Sheet and separated images to use them in your 2D Games.

Installation

Download and install the script copy the file pxSpritesRender.ms in your 3ds Max Startup Scripts folder and restart max. If you want  to try the script just once without installing it,  open the file using MAXScript -> Run Script... (this way the script will be available at current session only). 

Using utility:

To acess pX SpritesRender  open utilities panel, click MAXScript button and select it from Utilities drop down list.

Pick Root Object button: First select the root object of your animated model, the script uses this object to rotate your model creating the different views. (Note: Selecting Biped COM directly as root object may crash, select a parent helper or shape object instead )

Pick Camera button: Select a camera from where you want to create the renders. 

Angular Views: Set the number of views the model will be rotated, default value is 8, this mean your model animation will be rendered each 360 / 8 = 45 degrees.

Render button: 

Before clicking Render button, be sure your render settings are setup correctly, the script uses the current settings you have already configured with the standard 3ds Max Render Setup dialog (F10). Set there your desired image dimension, rendered plugin, file name, file format and everything else. Set the start and end of your current animation Active Segment to the corresponding animation you want to render.

NOTE: Close the Render Setup dialog before clicking Render button. MAXScript can't acces the updated values if the dialog is still opened.   

Now click Render button and the script will render current animation as many times as Angular Views, rotating your model, rendering only the Active Segment. 

Example of Saved files names: MyCharcterWalk_0003_0023.png, where first number correspond to angle view and second is the animation frame. 

Render Elements: 
The script support "Render Element" settings, so it will render and save images of defined channels like opacity, diffuse, etc.

Download:

- From Google Drive

Example 3d character used:
Cartoon Kid Isabella


Updates:

-2017-02-24: Added functionality to join the images as Sprite Sheet. Learn more.

Share To:
Denys Almaral

Denys Almaral

Denys is a 3D artist with an old passion for game development

Post a Comment