Posts

Showing posts from November, 2013

Maya- Bake Vertex colors to Texture using Mental Ray.

Image
This is a technique to get the Vertex colors from your model baked to a texture using a Mental Ray bakeset. One method of getting vertex colors from a mesh to a texture is using the Paint Vertex Color tool's 'export' option under 'attribute maps'. This is pretty good for higher poly models, but falls apart on low poly models that might have vertex colors assigned per face rather than per Vert. On these models, the results will look muddy, as there are not enough verts to carry the info. The other draw back of the Paint Vertex Color tool's export option is that it has no texture padding built in, so whatever colors you get out will be riddled with seams. I like to use the Mental Ray bake sets to get lighting and color information from Maya to Photoshop. Although it doesn't handle vertex color straight off the shelf, its pretty easy to set it up by making a shader that reads the model's vertex colors. On left- Sharp details preserved, padding enabled. On r

Model Monkey: Now with Configs!

Image
I've decided to use ini files to make it easier to port my Maya exporter across different projects with as little fuss as possible, using the standard Python ConfigParser module. The last time I really played around with .ini files was to mess with Command and Conquer Red Alert, and that was some time ago. It's really awesome that the .ini file format is still worth using today. There is a bug where you can add new file rules until the tool grows so long it is bigger than the screen. Time to add a scroll bar... Part of getting this to work includes creating a GUI interface to minimize the manual file editing that you might expect. Being my first major use of an .ini for a tool (I did use a teeny tiny .ini on Texture Monkey) I suddenly realized that I had to re-work a lot of my previous configuration code in order to make my tool flexible enough to be re-configurable without breaking into a million different lame parts. BUT! It's working now, whoo! A couple of things have to

Unity4.3 Released

Image
Unity 4.3 has just been released ! As a Unity Developer this is awesome news, especially with the new native 2d toolkit that has been included with this release. The new 2d tools... spritey goodness.  We have been using the Unikron Software 2d toolkit for all of our sprites in game so far, and it is a pretty well fleshed out package, although a little cumbersome to use. I'm very interested to see how the new native 2d toolkit performs on mobile devices, and if it does perform well, what kind of workflow enhancements it will provide.