[Ovmsdev] App vehicle images

Mark Webb-Johnson mark at webb-johnson.net
Thu Oct 24 13:34:53 HKT 2013


Chris,

Old eMail on this below. Since then, I've got this done for the other cars and it seems to work well. Now working on integrating to the Apps.

Regards, Mark.

I've spent some time trying this tonight.

I took the basic twizy image, magic wand selected the paint colour part of the vehicle, then cut and paste that as a new layer. I then converted the paint colour layer to grayscale.

Next, using the colorise filter, applied to the grayscale paint layer, I tried colouring it with a colour wheel. It worked beautifully. I could generate all the possible colours, and the paint highlights and shadows looked really good.

I'll now see if I can do this programatically in iOS. If I can, we can dramatically reduce the amount of artwork required for each vehicle. Just a couple of base image layers and a 4-byte ARGB code for each standard vehicle (plus a colour wheel for users to choose their own custom colour).

Proof of concept - some colour suggestions for Renault:

Base grayscale layer:

 +  = 

Colorised:


On 24 Oct, 2013, at 12:28 pm, Christopher Cook <christopher.cook at webprofusion.com> wrote:

> Hi Mark,
> 
> Regarding vehicle images - how were you thinking of handling them in the long term? Is there any way a vector format could be used (svg etc)? I'm guessing your going to do something like a masking image with a transparent silhouette on a given coloured background,  then overlayed with a semi transparent detail layer? A stack of PNGs would do the trick.
> 
> I'm also interested if the car configuration (including images), supported features etc could be expressed in a bundle of configuration files rather than code/static resources?
> 
> Chris
> 
> 
>> Can you hold a few weeks for this? I am working on the Apps to re-work how we do the vehicle images. They are just too large (13MB+ already!), so I am working on a better way of handling the multiple colours and making it easier to add them to the Apps. Once I have this working, I'll let you know what format we need the images in.
>> 
>> Regards, Mark.
>> 
>> 
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-6.tiff
Type: image/tiff
Size: 304166 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0014.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-7.tiff
Type: image/tiff
Size: 306726 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0015.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-5.tiff
Type: image/tiff
Size: 310566 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0016.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 268326 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0017.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 308006 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0018.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.tiff
Type: image/tiff
Size: 305446 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0019.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-4.tiff
Type: image/tiff
Size: 308646 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20131024/959d50b7/attachment-0020.tiff>


More information about the OvmsDev mailing list