ivanmunguia / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Car skins and vinyls #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm dreaming of a larger system for visual customization, but I'll put 
texturing in its own issue. Customizing cars with images is one of the most 
obvious aspects of car personalization apart from selecting a body color. There 
are two modes in which I imagine this could be implemented:

- Easy way: Doing what VDrift did. Each car can have multiple skin images, 
containing the same UV layout as the body texture but with the images at their 
respective locations against a transparent background. The engine would allow 
overlaying those over the body texture (like brake light textures but not 
additive). Comparative to VDrift however, we could allow more than one skin to 
be selected, and the player to choose an order in which to overlay them (which 
skin covers which if the graphics intersect).

- Awesome way: Adding a vinyl system like those in the latest Need for Speed 
titles. All graphics are located in a common folder. The player has a car 
customization screen in which the can pick an image, drag it to any spot on 
their car, rotate it and scale it. Obviously this would be a lot harder to do, 
since it would require offsetting a texture in realtime over the surface of a 
mesh. It would totally be worth it if possible though, but I'm not getting 
hopes up. Here's a video showing this method in NFS World: 
http://www.youtube.com/watch?v=rKNxAoBRjk0

For either approach, I also suggest allowing skins to be colorized. One problem 
with skins in VDrift is that they have a fixed color, and you can't match it to 
your selected body color. Some images might contain their own colors though, so 
the custom color should be applied over the image in its original state (fully 
white meaning don't change the original colors). Skins meant to be colorized 
should preferably be grayscale. It would be nice if each skin could have 
different color layers like in NFS.

Original issue reported on code.google.com by MirceaKi...@gmail.com on 12 May 2013 at 6:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by Cry...@gmail.com on 2 Apr 2014 at 11:42