Cross posting from the maxscript forum on CG Talk I've written a script that takes lighting from a skylight and bakes ambient occlusion in the (any) vertex colour channel of a mesh. I can't seen a problem with the script, however when I first run it I always get a pure black bake on the mesh UNLESS I manually assign the…
I recently mixed a script that uses vertex colors and then bake it using RTT - and it works in just 1 click. It is based on this script: http://www.scriptspot.com/3ds-max/pits-peaks the order of things is something like this:for i = 1 to $.numVerts do( local colr = color (random 0 255) (random 0 255) (random 0…
Max has died at home, so I can't test if that 'update $' line will do the trick. I don't bake to a texture, I bake the AO into a vertex colour channel. I think it's just an initialisation thing, because after I manually assign the vertex colours once to any mesh in the scene the script works perfectly after that, and works…