UVWOMG

I have just two words for 3DS MAX 6’s UVW Unwrap modifier:

Jesus Christ.

I don’t think the thing could be less productivity-inducing if they tried, really. It’s tedious, rather shoddy about breaking up meshes for mapping, and can be incredibly flakey. I just hope they’ve made improvements to it in MAX 7 and 8, because in 6 and undoubtedly any version before that, it’s rather torturous. Took me 3 hours today trying to figure out the best way to map the terrain using said mapping tool, and let me tell you, it’s a bitch. I finally decided the best way to do it would be to start with the terrain mesh’s default mapping coordinates, then grab the areas that were near-vertical in the scene and move their corresponding UVW coordinates farther out so that basically what I’m doing is trying to melt the mesh’s coordinates into a plane. I’m not super concerned with there being a little bit of warping going on, partly because it’s a terrain, and rock textures tend to stretch pretty well without being terribly noticeable, and also partly because most of the areas where warping would be a problem are on the rim of the island, not very visible to the player anyway.

Unfortunately, I’m probably going to lose a lot of the work I did learning how to use the UVW system because the terrain is still missing a rather large cavern for some power generators to be stashed in, plus it needs a couple more holes drilled for drive shafts to be run through. I probably have about two hours to go in trying to get the mesh all prettified for textures, and then I have to figure out how to get Cyan’s method of doing texture decals to blend between surface materials working in MAX. That should be loads of fun.

I also figured out how to do texture baking in MAX today… I knew the process existed and what it was for, I just didn’t know where to access it and what steps it entailed. As it turns out, it’s rather simple to do, you just pick the object(s) you want to bake, and hit the button. Piece of cake! And for those who don’t know what texture baking is, here you go: it’s a method of adding lighting and shadow data to an object’s texture map so that the light no longer has to emit shadows (or even exist at all) in order for the object to appear lit by said light in the scene. It’s how Cyan did pretty much ALL of the shadows in Uru (save for the select few that were done in realtime by the engine, such as the avatars, a few other objects, and most of Eder Gira), and it enables you to get the appearance of some rather high-end lighting (including soft shadows and whatnot) without having to compute that stuff in realtime, thus drastically improving your game’s framerate. It’s amazing what old-school tricks still work to create a convincing effect in modern games…

Also, slightly off the subject of UVW maps, I’d like to say that my current terrain mesh weighs in at under 1200 polygons, and it looks pretty damn good for such a low-res mesh. It’d probably work pretty well in Uru without much effort at all (save the nightmare of importing it to Blender…). This is, I should note, in stark contrast to the terrain mesh for Pahket, which weighs in at almost 30,000 polygons. Yes, I did leave my brain somewhere else during the three days I was building that terrain, and I promise it will never happen ever again. I’m rather proud of the terrain I’ve created, and I’m aiming at keeping it below 2,000 polys total after the remaining holes are punched into it. Since I’ve now figured out how to make UVW maps that will work for the terrain, I want to focus on getting the terrain finished and then move on to building the final versions of all of the island’s various machines and other objects. Once all of the machines, buildings, objects, etc. are placed in the scene, I’ll finalize the texture on the terrain, because any terrain editing may disrupt the UVW map, which would suck.

I’m also slightly terrified of the thought of having to UVW map a 30,000-poly mesh *shudder*. Maybe I should stay out of the film industry for my own good ;).


Leave a Reply