In this blog post, see how to create customizable chart graphs. You'll see multiple examples and different techniques that you can pick and choose from in order to build template based graphics.
i tried to cover a wide range of techniques so that's why the post is a bit long. But if you try to build customizable templates, i think you'll find a lot of valuable information. It's almost a Master Class all for free!!!
I chose 4 examples for this post:
- Bars Graph
- Static Pie Graph
- Growing Pie Graph
- Line Chart
What we will build in this post.
Building the scene
creating the control node & connecting colors
scripted controllers to adjust the height of the bars depending on values entered by users
updating text with change handlers and callback scripts
create enhanced menu items and icons using macrocripts
changing project and load files using max script commands
Part 7: addendum
i forgot a detail in the script described in Part 4. Omission explained in this video:
Static Pie Graph
create the Pie Graph with Text aligned in camera space
create the control object and connect material colors
update text using change handlers and callbacks
update pie sections size with scripted controllers
package Pie Graph for enhanced menu library
Growing Pie Graph
create the graph and growing animation
shell for adding custom attributes with a script
creating the paramters and the user interface for the control object with scripting
Methods to react to user interaction
Package for template library in the enhanced menus
create the revealing 3D line chart
shell to execute a Python script from 3ds Max
Python modules and reading a CSV file
updating 3ds Max objects from Python Scripts
Embedding the Python script in the 3ds Max scene
Packaging the scene for the enhanced menus
Here is a .zip file containing all the scripts i have written in this post.
3ds Max Project
Here is a .zip file with the scenes i created in the blog post.
Template Based Graphics at Autodesk University 2014
Also of note, Gary Davis is presenting a class at AU on using templates in your workflow. If you are attending AU, take a look at his class on the AU web site.