PixelTool - Voxel-based Vehicle Editor/Renderer

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
SkiddLow
Route Supervisor
Route Supervisor
Posts: 390
Joined: 09 Jul 2012 00:44
Location: Surabaya
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by SkiddLow »

This is the wagon made by PixelTool

[quote]{"width":32,"height":10,"depth":12,"pixels":[[[0,147,147,147,147,147,147,147,0,0],[12,147,147,144,144,144,144,147,0,0],[11,147,147,144,144,144,144,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[11,147,147,144,144,144,144,147,0,0],[12,147,147,144,144,144,144,147,0,0],[0,147,147,147,147,147,147,147,0,0]],[[11,146,145,145,145,147,151,148,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,151,148,0,0]],[[11,146,145,145,145,147,148,151,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,148,151,0,0]],[[11,146,145,145,145,147,151,148,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,151,148,0,0]],[[11,146,145,145,147,147,148,151,0,0],[10,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,147,147,148,151,0,0]],[[10,146,145,147,147,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,147,147,146,151,148,0,0]],[[10,146,147,147,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,147,147,145,146,148,151,0,0]],[[10,146,147,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,147,145,145,146,151,148,0,0]],[[10,146,145,145,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,148,151,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,145,145,146,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,146,146,148,151,0,0]],[[10,146,145,146,146,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,146,146,146,151,148,0,0]],[[10,146,146,146,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,146,146,145,146,148,151,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,145,145,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,148,151,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,145,145,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,148,151,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,146,146,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,146,146,145,146,148,151,0,0]],[[10,146,145,146,146,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[7,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,146,146,146,151,148,0,0]],[[10,146,145,145,146,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,146,146,148,151,0,0]],[[10,146,145,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,151,148,0,0]],[[10,146,145,145,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[8,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,145,145,146,148,151,0,0]],[[10,146,147,145,145,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,147,145,145,146,151,148,0,0]],[[10,146,147,147,145,146,148,151,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,147,147,145,146,148,151,0,0]],[[10,146,145,147,147,146,151,148,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,146,145,147,147,146,151,148,0,0]],[[11,146,145,145,147,147,148,151,0,0],[10,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[9,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,147,147,148,151,0,0]],[[11,146,145,145,145,147,151,148,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,151,148,0,0]],[[11,146,145,145,145,147,148,151,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,148,151,0,0]],[[11,146,145,145,145,147,151,148,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[10,0,0,0,0,0,0,0,0,0],[11,146,145,145,145,147,151,148,0,0]],[[0,147,147,147,147,147,147,147,0,0],[12,147,147,144,144,144,144,147,0,0],[11,147,147,144,0,0,0,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[147,5,5,5,5,5,5,147,0,0],[11,147,147,144,0,0,0,147,0,0],[12,147,147,144,144,144,144,147,0,0],[0,147,147,147,147,147,147,147,0,0]]]}[/quote]
Attachments
canvas.png
canvas.png (1.54 KiB) Viewed 5632 times
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris »

Nice!
Here are some tips:
The shadowing/shading works better if the carriage is solid rather than hollow.
You picked quite dark colours, in general you are better off picking lighter shades.
Remember that the company colour blue is the last series of shades of blue in the palette, not the vivid ones just over half way through the palette.

Here is your carriage with those tweaks made to make it a little better:
{"width":32,"height":10,"depth":12,"pixels":[[[0,202,202,202,202,202,202,202,0,0],[12,202,202,201,201,201,201,202,0,0],[11,202,202,201,201,201,201,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[11,202,202,201,201,201,201,202,0,0],[12,202,202,201,201,201,201,202,0,0],[0,202,202,202,202,202,202,202,0,0]],[[11,202,201,201,201,203,205,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,205,203,0,0]],[[11,202,201,201,201,203,203,205,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,203,205,0,0]],[[11,202,201,201,201,203,205,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,205,203,0,0]],[[11,202,201,201,203,203,203,205,0,0],[10,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,203,203,203,205,0,0]],[[10,202,201,203,203,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,203,203,202,205,203,0,0]],[[10,202,203,203,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,203,203,201,202,203,205,0,0]],[[10,202,203,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,203,201,201,202,205,203,0,0]],[[10,202,201,201,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,203,205,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,201,201,202,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,202,202,203,205,0,0]],[[10,202,201,202,202,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,202,202,202,205,203,0,0]],[[10,202,202,202,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,202,202,201,202,203,205,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,201,201,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,203,205,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,201,201,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,203,205,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,202,202,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,202,202,201,202,203,205,0,0]],[[10,202,201,202,202,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[7,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,202,202,202,205,203,0,0]],[[10,202,201,201,202,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,202,202,203,205,0,0]],[[10,202,201,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,205,203,0,0]],[[10,202,201,201,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[8,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,201,201,202,203,205,0,0]],[[10,202,203,201,201,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,203,201,201,202,205,203,0,0]],[[10,202,203,203,201,202,203,205,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,203,203,201,202,203,205,0,0]],[[10,202,201,203,203,202,205,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,202,201,203,203,202,205,203,0,0]],[[11,202,201,201,203,203,203,205,0,0],[10,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[9,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,203,203,203,205,0,0]],[[11,202,201,201,201,203,205,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,205,203,0,0]],[[11,202,201,201,201,203,203,205,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,203,205,0,0]],[[11,202,201,201,201,203,205,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[10,203,203,203,203,203,203,203,0,0],[11,202,201,201,201,203,205,203,0,0]],[[0,202,202,202,202,202,202,202,0,0],[12,202,202,201,201,201,201,202,0,0],[11,202,202,201,201,201,201,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[202,5,5,5,5,5,5,202,0,0],[11,202,202,201,201,201,201,202,0,0],[12,202,202,201,201,201,201,202,0,0],[0,202,202,202,202,202,202,202,0,0]]]}
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by kamnet »

Zephyris wrote:Remember that the company colour blue is the last series of shades of blue in the palette, not the vivid ones just over half way through the palette.

Could you break out the display of company, water cycle and fire cycle colors into different categories?
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

just 2cents: shouldn't "front" be "side" and "side" be "front" ?? For me, the "front" is like the nose of the train, and side where graffiti sprayers put their artwork ;)

edit:

would it be possible to split the palette to seprate palettes indicating "fire pixels:" "company colors:" "special colors" etc.

so it's easier to chose a color and not to chose an animated color e.g (i still don't have the palette regions in my head...)
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Eddi »

frosch has a sprite viewer tool which separates the palette parts, maybe you can reuse that
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 988
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by frosch »

Eddi is referring to TTDViewer, but it is Java, not JavaScript.

Anyway, most interesting is likely the .xml file from TTDViewer sources, which contains everything about recolouring there is to know about: https://dev.openttdcoop.org/projects/tt ... ecolor.xml
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
audigex
Tycoon
Tycoon
Posts: 2010
Joined: 09 Dec 2007 21:28
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by audigex »

This looks like a nice tool - I'm not sure it's as easy to do fine detail as sometimes you have to force the perspective on one or more views, particularly with sloped/curved front vehicles (Pendolino, I'm looking at you!) - but it should certainly speed up drawing more basic vehicles and getting a basic framework done for a little tinkering with

Some of the shading seems a little odd, though - I don't quite get how it decides what colours to adjust and by how much
Jon
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

made one and the other vehicle, and i was wondering, why the windows in the diagonal view look different for the left and right view:

(code here: http://pastebin.com/6Juv7NR4 )

also: the 2 lasst pixels are my wheels, after lighting etc., the wheels are all the same black pixels in the ___ views :-/ perhaps a checkbox would be the solution, to disable modifying those lines in the ___ view
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris »

The windows look different because the white separations between them fall on odd pixels counting from the left, and even pixels counting from the right. As it is an 8 bit image anti anti aliasing isn't possible so this is quite an unavoidable rendering bug. To be on the safe side make sure that major details are at least 2px wide.

As for the brightness of the wheels, just pick a lighter shade of grey! You have drawn them the colour that you expect them to be (a dark, shadowed grey) not the colour they are (a bright metallic grey). The dark red stripe is also very dark, I would pick a slightly lighter shade.

One other thing I noticed: Your carriage is completely hollow, the outer walls are only one pixel thick. This means the lighting/shadowing will not work correctly. You need to make sure the walls are at least 2px thick... I always draw my vehicles 'solid'.
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

ah ok, would be better to use the "whole pixel stack", draw the carriage, and then add details to it, thx for the advice.

i'll remember to use lighter colors and fix details in the shopping program :wink:
lukasz1985
Route Supervisor
Route Supervisor
Posts: 429
Joined: 27 Mar 2013 08:58
Location: Strumien
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by lukasz1985 »

I think you should swap "Front" and "Side" view labels. It would be more intuitive, because now, it doesn't mean a lot and everybody knows we're dealing with OpenTTD sprites.

Also how about making this tool suitable for other things such as buildings/roads/nature ?

I wonder what backend you used to "render this stuff", I guess you didn't made the renderer yourself, or did you?
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

a nice feature request would be a simple color picker
aaand some "undo last pixel" button, if easy feasable
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris »

lukasz1985 wrote:I think you should swap "Front" and "Side" view labels. It would be more intuitive, because now, it doesn't mean a lot and everybody knows we're dealing with OpenTTD sprites.
Yeah, I should probably do that!
lukasz1985 wrote:Also how about making this tool suitable for other things such as buildings/roads/nature ?
This is currently a feature, but with no GUI. Try opening the javascript console (Ctrl+Shift+J in Chrome) and enter the following:
renderMode="OpenTTDBuilding"
A 64x64x[height] image should be correct for a full tile building.
lukasz1985 wrote:I wonder what backend you used to "render this stuff", I guess you didn't made the renderer yourself, or did you?
It's my own renderer, I don't know of any 8-bit 3D graphics software so I had to start from scratch!
Phreeze wrote:a nice feature request would be a simple color picker
Very possible, just need some time to do it!
Phreeze wrote:aaand some "undo last pixel" button, if easy feasable
Also quite simple, again just need a little bit more time... Maybe this weekend?
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

where is the like button ^^ good job so far, head on :) :bow:
lukasz1985
Route Supervisor
Route Supervisor
Posts: 429
Joined: 27 Mar 2013 08:58
Location: Strumien
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by lukasz1985 »

It's my own renderer, I don't know of any 8-bit 3D graphics software so I had to start from scratch!
Well the thing is that you don't need to limit things to 8bit . You could achievie similar result with a library such as Three.js or doing rendering in WebGL alone and then aligning colors to 8bit. You could've done this by creating cube meshes, like in minecraft and then rendering them with a orthographic camera. The block could be colored in these 8 bit palette if you need to, but then, applying lighting would change the color shades (I guess you're doing this already).

Sorry if talking too much but I'm really no more a friend of JavaScript and my motivation to look into sources is rather low :P

BTW, I wonder why in Opera the GUI looks so bad.
User avatar
YNM
Tycoon
Tycoon
Posts: 3573
Joined: 22 Mar 2012 11:10
Location: West Java

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by YNM »

Does anybody knows what are the dimensions should be if I'm aiming to create some narrow gauge and shorter than 8/8 things (ie. 7/8, 6/8, or couldn't just someone creates a list for that) ?
YNM = yoursNotMine - Don't get it ?
「ヨーッスノットマイン」もと申します。
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2890
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris »

32Wx10Hx12D should be correct for most 8/8 length vehicles
You should be able to increase the height to up to 12 without too many glitches (for pantographs etc)
The depth can also be nudged up for wider than average vehicles.

For shorter vehicles just alter the width from 32. 32 is 8/8, therefore reduce it by 4 for each 1/8 the vehicle should be shorter:
8/8 32
7/8 28
6/8 24
5/8 20
4/8 16
3/8 12
2/8 8
1/8 4
User avatar
YNM
Tycoon
Tycoon
Posts: 3573
Joined: 22 Mar 2012 11:10
Location: West Java

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by YNM »

Suggestions ?
{"width":32,"height":10,"depth":12,"pixels":[[[0,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,4,4,4,4,4,9,0],[9,14,4,14,14,14,14,14,8,0],[9,14,4,14,17,17,14,14,7,0],[9,14,4,14,18,17,14,14,7,0],[9,14,4,14,14,14,14,14,8,0],[9,14,14,4,4,4,4,4,9,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[0,14,14,14,14,14,51,10,10,0]],[[10,14,14,17,17,14,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,9],[10,10,4,14,14,10,14,14,8,10],[10,10,4,14,17,17,14,14,7,10],[10,10,4,14,18,17,14,14,7,10],[10,10,4,14,14,14,14,14,8,10],[9,9,14,4,4,4,4,4,9,9],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[10,14,14,17,17,14,51,10,10,0]],[[10,14,14,13,13,14,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,9],[10,10,4,14,14,10,14,14,8,10],[9,9,4,14,17,17,14,14,7,9],[9,9,4,14,18,17,14,14,7,9],[10,10,4,14,14,14,14,14,8,10],[9,9,14,4,4,4,4,4,9,9],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[10,14,14,13,13,14,51,10,10,0]],[[10,14,14,14,14,14,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,4,4,4,4,4,9,1],[10,10,4,14,14,10,14,14,8,1],[9,9,4,14,17,17,14,14,7,1],[9,9,4,14,18,17,14,14,7,1],[10,10,4,14,14,14,14,14,8,1],[9,9,14,4,4,4,4,4,9,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[10,14,14,14,14,14,51,10,10,1]],[[10,14,14,17,17,14,51,10,10,1],[9,9,9,17,17,9,51,10,10,1],[9,9,9,17,17,9,51,10,10,1],[9,9,9,4,4,4,4,4,9,1],[10,10,4,14,14,10,14,14,8,1],[8,8,4,14,17,17,14,14,7,1],[8,8,4,14,18,17,14,14,7,1],[10,10,4,14,14,14,14,14,8,1],[9,9,14,4,4,4,4,4,9,1],[9,9,9,17,17,9,51,10,10,1],[9,9,9,17,17,9,51,10,10,1],[10,14,14,17,17,14,51,10,10,1]],[[10,14,14,18,17,14,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,4,4,4,4,9,1],[10,10,4,18,14,10,14,14,8,1],[10,10,4,18,17,17,14,14,7,1],[10,10,4,18,18,17,14,14,7,1],[10,10,4,18,14,14,14,14,8,1],[9,9,14,18,4,4,4,4,9,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[10,14,14,18,17,14,51,10,10,1]],[[10,14,14,18,17,14,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,4,4,4,4,9,1],[9,9,4,18,14,9,14,14,8,1],[9,9,4,18,17,17,14,14,7,1],[9,9,4,18,18,17,14,14,7,1],[9,9,4,18,14,14,14,14,8,1],[9,9,14,18,4,4,4,4,9,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[10,14,14,18,17,14,51,10,10,1]],[[10,14,14,13,13,14,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,9],[9,9,4,14,14,14,14,14,8,9],[9,9,14,4,4,4,4,4,9,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[10,14,14,13,13,14,51,10,10,0]],[[10,14,14,17,17,14,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[10,14,14,17,17,14,51,10,10,0]],[[10,14,14,18,17,14,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[10,14,14,18,17,14,51,10,10,0]],[[10,14,14,18,17,14,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[10,14,14,18,17,14,51,10,10,0]],[[10,14,14,13,13,14,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[10,14,14,13,13,14,51,10,10,0]],[[10,14,14,17,17,14,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[10,14,14,17,17,14,51,10,10,0]],[[10,14,14,18,17,14,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[10,14,14,18,17,14,51,10,10,0]],[[10,14,14,18,17,14,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[10,14,14,18,17,14,51,10,10,0]],[[10,14,14,13,13,14,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[10,14,14,13,13,14,51,10,10,0]],[[10,14,14,17,17,14,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[10,14,14,17,17,14,51,10,10,0]],[[10,14,14,18,17,14,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,51,10,10,0],[9,9,9,18,17,9,51,10,10,0],[10,14,14,18,17,14,51,10,10,0]],[[10,14,14,18,17,14,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[10,14,14,18,17,14,14,51,10,0]],[[10,14,14,13,13,14,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[10,14,14,13,13,14,14,51,10,0]],[[10,14,14,17,17,14,14,51,10,0],[9,9,9,17,17,9,14,51,10,0],[9,9,9,17,17,9,14,51,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,17,17,9,14,51,10,0],[9,9,9,17,17,9,14,51,10,0],[10,14,14,17,17,14,14,51,10,0]],[[10,14,14,18,17,14,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[10,14,14,18,17,14,14,51,10,0]],[[10,14,14,18,17,14,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,4,4,4,4,9,0],[9,9,4,18,14,9,14,14,8,0],[9,9,4,18,17,17,14,14,7,0],[9,9,4,18,18,17,14,14,7,0],[9,9,4,18,14,14,14,14,8,0],[9,9,14,18,4,4,4,4,9,0],[9,9,9,18,17,9,14,51,10,0],[9,9,9,18,17,9,14,51,10,0],[10,14,14,18,17,14,14,51,10,0]],[[10,14,14,13,13,14,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,0],[9,9,4,14,14,14,14,14,8,0],[9,9,14,4,4,4,4,4,9,0],[9,9,9,13,13,9,14,51,10,0],[9,9,9,13,13,9,14,51,10,0],[10,14,14,13,13,14,14,51,10,0]],[[10,14,14,17,17,14,51,51,10,0],[9,9,9,17,17,9,51,51,10,0],[9,9,9,17,17,9,51,51,10,0],[9,9,9,4,4,4,4,4,9,0],[9,9,4,14,14,9,14,14,8,0],[9,9,4,14,17,17,14,14,7,0],[9,9,4,14,18,17,14,14,7,9],[9,9,4,14,14,14,14,14,8,9],[9,9,14,4,4,4,4,4,9,0],[9,9,9,17,17,9,51,51,10,0],[9,9,9,17,17,9,51,51,10,0],[10,14,14,17,17,14,51,51,10,0]],[[10,14,14,18,17,14,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,4,4,4,4,9,1],[9,9,4,18,14,9,14,14,8,1],[9,9,4,18,17,17,14,14,7,1],[9,9,4,18,18,17,14,14,7,1],[9,9,4,18,14,14,14,14,8,1],[9,9,14,18,4,4,4,4,9,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[10,14,14,18,17,14,51,10,10,1]],[[10,14,14,18,17,14,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,4,4,4,4,9,1],[10,10,4,18,14,10,14,14,8,1],[10,10,4,18,17,17,14,14,7,1],[10,10,4,18,18,17,14,14,7,1],[10,10,4,18,14,14,14,14,8,1],[9,9,14,18,4,4,4,4,9,1],[9,9,9,18,17,9,51,10,10,1],[9,9,9,18,17,9,51,10,10,1],[10,14,14,18,17,14,51,10,10,1]],[[10,14,14,13,13,14,51,10,10,1],[9,9,9,13,13,9,51,10,10,1],[9,9,9,13,13,9,51,10,10,1],[9,9,9,4,4,4,4,4,9,1],[10,10,4,14,14,10,14,14,8,1],[8,8,4,14,17,17,14,14,7,1],[8,8,4,14,18,17,14,14,7,1],[10,10,4,14,14,14,14,14,8,1],[9,9,14,4,4,4,4,4,9,1],[9,9,9,13,13,9,51,10,10,1],[9,9,9,13,13,9,51,10,10,1],[10,14,14,13,13,14,51,10,10,1]],[[10,14,14,14,14,14,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,4,4,4,4,4,9,1],[10,10,4,14,14,10,14,14,8,1],[9,9,4,14,17,17,14,14,7,1],[9,9,4,14,18,17,14,14,7,1],[10,10,4,14,14,14,14,14,8,1],[9,9,14,4,4,4,4,4,9,1],[9,9,9,14,14,9,51,10,10,1],[9,9,9,14,14,9,51,10,10,1],[10,14,14,14,14,14,51,10,10,1]],[[10,14,14,13,13,14,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,9],[10,10,4,14,14,10,14,14,8,10],[9,9,4,14,17,17,14,14,7,9],[9,9,4,14,18,17,14,14,7,9],[10,10,4,14,14,14,14,14,8,10],[9,9,14,4,4,4,4,4,9,9],[9,9,9,13,13,9,51,10,10,0],[9,9,9,13,13,9,51,10,10,0],[10,14,14,13,13,14,51,10,10,0]],[[10,14,14,17,17,14,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[9,9,9,4,4,4,4,4,9,9],[10,10,4,14,14,10,14,14,8,10],[10,10,4,14,17,17,14,14,7,10],[10,10,4,14,18,17,14,14,7,10],[10,10,4,14,14,14,14,14,8,10],[9,9,14,4,4,4,4,4,9,9],[9,9,9,17,17,9,51,10,10,0],[9,9,9,17,17,9,51,10,10,0],[10,14,14,17,17,14,51,10,10,0]],[[0,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,4,4,4,4,4,9,0],[9,14,4,14,14,14,14,14,8,0],[9,14,4,14,17,17,14,14,7,0],[9,14,4,14,18,17,14,14,7,0],[9,14,4,14,14,14,14,14,8,0],[9,14,14,4,4,4,4,4,9,0],[9,14,14,14,14,14,51,10,10,0],[9,14,14,14,14,14,51,10,10,0],[0,14,14,14,14,14,51,10,10,0]]]}
K1 cars.png
K1 cars.png (1.04 KiB) Viewed 5047 times
It's supposed to be like this, but with the old wider windows (it's made small because of some violence when passing several areas) :
Image
YNM = yoursNotMine - Don't get it ?
「ヨーッスノットマイン」もと申します。
User avatar
robo
Route Supervisor
Route Supervisor
Posts: 398
Joined: 14 Jan 2007 12:14

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by robo »

The idea of a tool to create 8-bit graphics is interesting and 8-bit graphics may be still interesting for better performance compared to 16/24/32-bit graphics.
I made a few buildings a long time age with sketchup, which isn't easy because you usually can't render indexed 8-bit colours and it takes quite a lot of time to find some working textures which don't get ugly if you reduce them to 8-bit colours and I wondered if it would be possible to optimize a 8-bit colour palette with a better light setting in a way for a game, that it shows only the colours you can use in two ways: one colour for the sunny side and the same colour optimized for the shadowed side.
This means you take out all company-/ or animated colours and a few of the colours which nobody uses because they are too intense or ugly, provide some good colours for the sunny side and the exact shadowed counterpart. I don't know if it's necessary or possible to change the 8-bit colour palette of the game to get better results.
Another problem is that the resolution of the sprites is too low to create something reasonable in my opinion.
Attachments
better shading with 8bit.png
better shading with 8bit.png (41.73 KiB) Viewed 4989 times
User avatar
Phreeze
Director
Director
Posts: 514
Joined: 12 Feb 2010 14:30
Location: Luxembourg

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Phreeze »

that's the hard part ;) make it good looking in a weak resolution.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 30 guests