CenterPivot;makeIdentity -apply true -t 1 -r 1 -s 1 -n 0;xform -q -piv -ws;move -a (-1 * xform query x) (-1*xform query y ) (-1*-xform query z) ; YAY it works. My first script, well not done yet. Need to figure out how to save a query to a vector variable then Ill be golden :) EDIT: Guess I should say what the script does…
some volumetric ambient shading the more adjacent "points" there are the darker the shading. It uses the boost rtree and then creates some spherical segments (basically and 18pt octahedron) to query the tree from each point summing and negating depending on the results you can vary the effect volume of each point and the…
I was looking for a better way to rig quadruped legs. I found this link. Too bad that Max doesn't have a Spring IK Solver, so I started to write one. Just use a comma or semicolon. When saving the string check for comma's and if there is one just give a "No commas in the name warning." Personally, I use the built in Max…
Sbsar are binary files (or almost), while sbs file are just in xml. So you can read an sbs file manually if you need. Otherwise if you have access to substance designer you can use our batch tools to automate some task (like querying basic information). We (Allegorithmic) provide a framework in case an engine needs a way…
Started learning the python api in maya. Wrote a skin saving/loading tool which i have needed for awhile(i use comet but its slow), I query the node for the weights and use set attr to set the weights back instead of MFn.SkinCluster.get/setWeights and then save the data to a xml file so its nicely readable. You can save…
Ok so my material tool isn't finished yet. I failed my own personal deadline because I've been moving furniture around and been cleaning for the past two weeks (helped dad move out his stuff from his apartment, then moved in my stuff because I'm now renting it). Either way, I promised you a screenshot about 2 weeks ago -…
Interactive tools are the best! Here's how you'd write one with GraphN: https://www.youtube.com/watch?v=_FscRL045z4 The nodes responsible for interactivity are Viewport Event and Viewport Event Meta. Viewport Event allows you to run any piece of code on mouse move, press, release or modifier press. Viewport Event Meta is…
I have tried to become familiar with Photoshop JavaScript and made a mini-animation toolset for Photoshop. 2D animation has always been awkward in the program so I tried to do it in a way I like. I have never worked with such a frustrating scripting system before. Some parts can only be accessed by an event listener, which…
@r_fletch_r: that would be the right way to do it, but since I am only scanning for simple characters or strings I avoided regular expressions as they are a pain to figure out. Just a simple string query find / mark function that loops through string using something like string.indexOf(key,lastOffset)... Fast enough for…