Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 15-12-2002 , 01:58 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154

utility for poly modeling

For those of you digging into low-poly modeling, here is a good MEL script that I use to display triangle counts for selected objects. It only works on poly surfaces, but it'll allow you to see accurate triangle counts for objects that contain quads and n-sided faces.

Note: This script is actually part of A|W's Bonus Game Tools. You can get the entire package in their Community downloads section.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job
# 2 15-12-2002 , 03:28 AM
Kurt's Avatar
Registered User
Join Date: May 2002
Location: Niagara Falls, Canada
Posts: 5,310
I give it a try=)


I am enough of an artist to draw freely upon my imagination, knowledge is limited, imagination encircles the world. (Albert Einstein)

https://www.artstation.com/kurtb
# 3 15-12-2002 , 03:33 AM
Kurt's Avatar
Registered User
Join Date: May 2002
Location: Niagara Falls, Canada
Posts: 5,310
Danny whats the right procedure to load thoughs plugins? I can never get them to work.


I am enough of an artist to draw freely upon my imagination, knowledge is limited, imagination encircles the world. (Albert Einstein)

https://www.artstation.com/kurtb
# 4 15-12-2002 , 03:55 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
Well, this a mel script and it works differently from plugins. In general, mel scripts go in your scripts directory (generally in My Documents -> Maya -> 4.5) and they are executed from Maya's command line or the script editor. Plugins get dropped in your plugins directory inside the main Maya program directory, and then you have to load them via the plugin manager preferences panel.

For this particular script, drop it in your scripts directory, and execute the script from within Maya (type toggleTriCountHUD in the command line and press Enter). What I've done is make a shelf button that executes this command. Most of the time, the name of the mel script file is the command you need to execute. Best thing to do is open the script in a text editor and read the comments.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads