pX SpritesRender: Renders sprite sheet from animated 3D model in 3ds Max


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-09-09: Fixed compatibility with new camera types (Physical camera).
-2017-02-24: Added functionality to join the images as Sprite Sheet. Learn more.

Comments

  1. Very useful script, I've been thinking about many ways to use it. Thanks Denys!

    ReplyDelete
  2. Thanks!! Can't wait to see your games! ;)
    I have edited the post I forget to add the support of Render Elements try it, you can save other channels like Opacity, shadows, Object ID... just configure the Render Elements tab.

    ReplyDelete
  3. Sr. i try to drag it in 3Dsmax 2011 and 2012 but nothing happend =.=. I tried to download on both tuborsqid and scripspot but still the same. do you know how to fix it ? ;(

    ReplyDelete
  4. Same for 2013 64bit. Someone knows how to fix this?

    ReplyDelete
    Replies
    1. Hi Giskebon, can you please tell me more details of how you installed it? Did you tried to locate the tool in Maxscript Utilities?

      Delete
  5. When i select a biped as root object it crashes! help!

    ReplyDelete
    Replies
    1. Do not select directly the biped root, make another helper object parent of biped root then use this helper object as root for the script tool.

      Delete
  6. This is exactly what I'm looking for. Thanks very much.

    ReplyDelete

Post a Comment