The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Full car coloring with skins - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Feature Requests (https://www.vdrift.net/Forum/forumdisplay.php?fid=6) +--- Thread: Full car coloring with skins (/showthread.php?tid=1277) Pages:
1
2
|
- NaN - 05-09-2010 I got it. We need a normalized lightness texture. ![]() Lab colorspace Lightness channel + normalize: ![]() @MirceaKitsune Do you mind to update the color textures. Extract lightness channel. Normalize it. Store as lightness.png. - NaN - 05-09-2010 Looking at the normalized lightness texture right now. What we need is actually an ambient occlusion texture. edit: The rendering would go like: 1. Alpha blend color with skin. 2. Multiply by ambient occlusion. - NaN - 05-09-2010 Any volunteers to bake ambient occlusion textures for our cars? - NaN - 05-09-2010 @joe How fit are you in fixed function OpenGL? Alpha + multiply blend should be possible without shaders too I think. - NaN - 05-09-2010 Here is a tutorial how to bake AO in Blender: http://www.youtube.com/watch?v=L8YL2qKe1R8 Edit: The AO map for the 360 took me like 5 minutes. Import body.joe+body00.png. Assign a material. AO with 10 samples. ![]() - MirceaKitsune - 05-09-2010 Yeah. I just converted the current skins to a grayscale png and renamed them to color.png, then made a copy of it the body01 with the parts that musn't be colored. Hope it is ok and working now. - NaN - 05-10-2010 I checked in the color selection gui (rev 2708). It is non functional for the moment. Comments are welcomed. - NaN - 05-27-2010 I've got the skins ready (needed some fixes here and there). Should I overwrite the current body textures with the new ones or give them another name, body-00.png instead of body00.png? I would tend to overwrite the existing ones and point last release users to the previous vdrift-data revision and update cars.vdrift.net accordingly. - joevenzon - 05-27-2010 I agree. - NaN - 05-28-2010 The new skins are in trunk(r554). There are still a number of cars using old skins, need some more work to get them ready for coloring: G4, M3, M3D, NS, TC, XM, Z06. Volunteers are welcomed. |