![]() |
|
Ambient Occlusion Maps - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11) +--- Thread: Ambient Occlusion Maps (/showthread.php?tid=480) |
Ambient Occlusion Maps - joevenzon - 12-20-2006 I've used the techniques found in this tutorial: http://cgkit.sourceforge.net/tutorials/baking/baking.html to bake some ambient occlusion maps. They're handy for adding some quick shading to models. It works best if the UV coordinates are mapped such that every point on the model has its own unique location on the UV map. So far I've just done this for the 3S, although because of the UV mapping it doesn't look as good as it could (I might redo the UV mapping when I get a chance). - joevenzon - 12-21-2006 Okay, SVN R1444 has the new 3S texture with modified UV mapping to make the occlusion mapping really shine. It's pretty nifty looking. You can see, for example, how the rear spoiler now has some shading underneath it. Also, I realized that there was virtually no ambient lighting on the cars before, and it made them look quite odd. I've implemented a work-around in R1444 that renders the models properly. - joevenzon - 12-21-2006 Okay, I adjusted the G4 uv mapping and baked some occlusion maps. Checked in as rev 1445. - kcid - 12-21-2006 Ah, it looks very nice indeed
- thelusiv - 12-21-2006 This does look very nice. Can we get this done to all our cars? That would be awesome. - joevenzon - 12-21-2006 A few things to beware of: The plane that's included by default is rotated so that Y is up. I had to comment out that rotation line. Also, the plane will be at Z=0 so you might have to move the car model temporarily up to do the baking or move the plane down as appropriate. - thelusiv - 12-22-2006 So, anyone interested in working on some car textures?
|