View Single Post
# 4 29-08-2007 , 01:08 AM
t1ck135's Avatar
Registered User
Join Date: May 2004
Location: UK
Posts: 1,991
Thanks AlphaFlyte user added image
Yeah I'm glad they incorporated Python into Maya as it is a powerful language and is incorporated into loads of things now - I used to play Eve-online and it was good to hear that they use it lots in that.
The actual catalyst to using Python and not Mel was because I still do a little work at my old job writing custom elements for a Content Management System called Plone - and it is written in Python user added image
I also had a play with Mel and once you know a C style language (PHP in my case) then it is real easy to pick up and use.

No books, it was all online (and therefore free)
I just visited the Python website and started reading a few things in the beginners section https://wiki.python.org/moin/BeginnersGuide/
and guess what? I even went through the good old hello world stuff user added image Still havent gone through tuples and dictionaries yet tho..

If you want to rip out the UI code and have a play with it then please do - it is really quite straightforward, the only problems I had was that some of the options/methods dont seem as clear as in Mel but thats probably because its newer. There are comments in the code that might help understand it a bit better.

Some kind of caching is definitely the next step as realtime playback can be really bad if there are lots of boids/objects

Si


Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net