The next version of the UV Scatter plugin has just been released. The surface orientation bug as pointed out in the comments section has been fixed. A new feature to hide objects invisible to the camera has been added in order to improve playback of heavy scenes. A debug mode was added for anyone who wants to play with the code of the plugin. To activate it, set debugMode to True in the debug.py file. I’ve also modularized the code and added a meta node. The meta node allows easy access through the messages connection to all the LOD groups created by the scatter plugin.
Just a quick message to say after a brief hiatus from working on the scatter script I am going to get development going on it again 🙂
I intend to:
Look into the issues with orienting of objects to normals.
Add camera culling
Add a meta node for easy access to the lodGroups from user scripts
Look into 2012 support (I am still trying to find someone with a copy so i can sit down and fix it)
I recently completed a course on photogrammetry – The process of solving a camera position in order to model the environment in the photo. The course was given my Paul McWilliams through CGSociety. I have posted some work in progress shots
The idea behind a histogram is fairly simple: A graph of how many pixels of each value you have in your image. That being said, histogram manipulation is actually a very powerful tool in image analysis and manipulation (brightness, contrast, matching the luminance of two images, gamma correction etc).
In our second week of class, we covered the topic of JPEG lossless compression, and the prediction technique it employs to reduce the file size.
The technique is actually very simple, it takes the the current pixel f(x) and compares it to the pixel to its right f(x+1), and calculates the mean square error: the square root of (f(x+1) – f(x))^2 (it seems to me the process of squaring and then finding the square root is to make sure the value returned is always positive, so one could reasonably say something along the lines of Mathf.Abs(colour2-colour1) – if my reasoning is wrong please let me know!).
I have been experimenting with procedural animation this week for work and during my research I saw some demo’s involving the Lorenz Attractor. I REALLY liked the look of them so I thought I would write my own (live unity demo at the bottom of the page – unity player required).
So I recently started a course in image processing to improve my understanding of how computers process images, and more specifically how the underlying features of compositing applications like nuke work.
Just a quick post about how to access the playback range in the maya time slider using python.
Using Maya environment variables in your python scripts is a very convenient way to access files that your scripts need, such as UI files, or xml settings files etc. The basic principle is: Get a string of all the directories in the environment variable, split them by the separator, and then search each directory in the list for the file you are look for:
Quickly recenter objects with frozen transforms back onto the origin. Download re-center plugin 0.1 Installation Copy reCenter.py into your plugins directory Activate the plugin in the maya plugin manager window Usage Place the pivots of the objects you want to re-align in a logical position (usually at the center or base of the object). This […]