160 likes | 182 Views
Making 3D Game Production Faster Using Scripting in 3D Studio Max #. Augustine John. Augustine John Sr. Technical Artist, Indiagames Ltd. # He has been in the graphics industry for 11 years – before joining Indiagames 4 years ago.
E N D
Making 3D Game Production FasterUsing Scripting in 3D Studio Max# Augustine John
Augustine John Sr. Technical Artist, Indiagames Ltd.# He has been in the graphics industry for 11 years – before joining Indiagames 4 years ago. He started his 3D career doing modelling and rigging, and has lead the 3D character art team. He has been instrumental in streamlining the production pipeline – developing 3D Studio Max scripts and plug-ins for the artists. Currently as a Senior Technical Artist, he contributes his experience to Indiagames proprietary ICE 3D# platform.
Agenda • Short Introduction to Maxscript • Maxscript in action • Modeling • Animation • Exporting • Level Design
What is Maxscript? • Maxscript is the built-in scripting language for 3Ds Max • Allows to control 3Ds Max • Allows to customize and extend 3Ds max user interfaces
Modeling & Texturing • Texture Finder • Assigns the latest texture from the specified folder and its sub-folders
Modeling & Texturing • Adjust UV • Transforms the UV as specified 256 x 256 texture Resized to 128 x 128 * Texture from Project Asoka
Modeling & Texturing • Change Texture Format
Animation • Problem faced • Change in Bone Count or Hierarchy • Change in Character’s Proportion • Change in Character’s Overall Dimensions • Animator’s file may be initial rough model • So, animator has to • Save all the animations one-by-one • Load these animation files into the final model
Animation • Batch Save and Load Animations Batch save ‘bip files’ from max files Batch load ‘bip files’ on finalized model
Exporting • Process for our earlier MascotCapsule v3 rendering engine in our game development pipeline • All animations 1st frame be positioned at x = 0 & y = 0 • Insert a new 1st frame common for all animations • Export this max file to fbx format (This process is to save data) • Import the fbx file • Change the fps as required for the target phone • Adjust the ‘main key poses’ – which may be lost in fps reduction • Collapse the trajectory to 1 key per frame • Place BAC axis in (0,0,0) to take care of y-z axis and origin. • At last, export the file to bac and tra
Exporting • Approx. export time per animation manually = 4 minutes(Ignoring the potential human errors) • Impractical to export manually • Approx. export time per animation using script = 8 seconds(Plus gives detailed report witherrors and warnings)
Level Design • Level Editor (Predator) Level Editor used for the mobile game “3D Predator: Bad Blood”
Uses of Maxscript • Automate repetitive tasks • For e.g.. Batch save & load animations • Simplify the workflow • For e.g.. Save and load biped animations script • Export assets for game programmers • For e.g.. Level editor, Camera exporter • Eliminates the human error • ‘Time’ factor – faster job completion
How to learn Maxscript? • Maxscript documentation • Study others’ scripts from sites like www.scriptspot.com • Search / ask questions in online forums • DVD video tutorials
Questions & Answers Thank You!