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
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 06 Feb 2014 22:56

PixelTool
I have never been very good at drawing vehicles, particularly getting complex shapes of train engines correct. This online tool based on HTML5 canvas and javascript should help people like me draw nice vehicle sprites! I recommend trying it in Chrome:

http://www.richardwheeler.net/interacti ... ltool.html

You can also not access the latest development snapshot (which might not be fully functioning!) here:

http://bundles.openttdcoop.org/pixeltool/push/LATEST/

Try it out by clicking on the palette to select a colour, then clicking on one of the three orthogonal views to change that voxel's colour. The rendered image at the bottom will then automatically update. You can navigate the 3D voxel volume using the X, Y and Z slices or the mouse wheel.

Description of Controls
Note about the axes: X, Y and Z are consistently in the width (along the length of the carriage), depth (across the width of the carriage) and height (up the height of the carriage) directions respectively.

New Image:
Width, Height, Depth. Set these values and click "New Image" to make a new 3D image with those dimensions. This clears all voxels back to transparent.

Editing Options:
X slice, Y slice, Z slice. These control the x, y and z slices through the voxel volume that are displayed for editing in the orthogonal views.
X symmetric, Y symmetric. Toggle these to control whether to automatically mirror modifications in the x and y directions.
Modify whole pixel stack. When this is disabled, clicking on a voxel only alters that indiviual voxel. When it is enabled the whole stack of pixels orthogonal to that slice are modified.

Display Options:
UI display scale: Pixels per voxel. This is the factor by which the palette and orthogonal views are scaled up for easy clicking.
Output display scale: Pixels per pixel. This is the factor by which the output is scaled up for easy viewing. Set it to 1 to get the actual-size output image.
Shade pixels by height, Shade pixels by ambient occlusion, Shade by lighting/shadowing: Toggle these to control which shaders are used to shade the output image.

Data and Saving:
JSON data: The current volume dimensions and voxel values are described by JSON data. Editing a voxel colour updates this data. Downloading this data can be used to save a design.
Load JSON: Load any JSON data that has been pasted into the JSON data box. Manual alteration of individual pixels is not recommended. Pasting some saved data into the JSON data box then clicking Load JSON loads the saved data.

Images:
There are 3 images:
1: Orthogonal views of the voxel data. You can change the slice displayed using the X slice, Y slice and Z slice options. Click on the image to set that voxel or voxel stack to the selected palette index.
2: Palette. Click on the image to select a palette index. That colour is then applied to a voxel when you click on one of the orthogonal views
3: Output. This automatically updates every second from the current voxel data (if automatic rendering is enabled) or once the render button has been clicked.

Examples
Here are a couple of examples of voxel data and output sprites you can play with:

Rail Passenger Carriage
Rail_Carriage_Passenger.png
Rail_Carriage_Passenger.png (1.49 KiB) Viewed 7964 times
{"width":32,"height":10,"depth":12,"pixels":[[[0,0,4,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,42,42,42,42,42,0,5,0],[0,42,42,0,0,0,42,0,0,0],[0,42,0,0,0,0,42,0,0,0],[0,42,0,0,0,0,42,0,0,0],[0,42,42,0,0,0,42,0,0,0],[0,0,42,42,42,42,42,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,4,0,0,0,0,0,5,0]],[[0,0,4,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,4,4,4,4,4,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,0,4,4,4,4,4,4,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,4,0,0,0,0,0,0,0]],[[0,21,203,66,203,203,85,66,5,0],[0,21,203,203,203,203,85,203,2,0],[22,21,203,203,203,203,85,203,2,0],[22,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[22,203,203,203,203,203,85,203,2,0],[22,21,203,203,203,203,85,203,2,0],[0,21,203,203,203,203,85,203,2,0],[0,21,203,66,203,203,85,66,5,0]],[[0,21,203,66,203,203,85,66,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,203,203,203,203,203,203,203,0],[22,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[22,203,203,203,203,203,203,203,203,0],[22,21,203,203,203,203,203,203,203,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,66,203,203,85,66,5,0]],[[0,21,203,21,21,21,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,6,6]],[[0,21,203,21,21,21,85,203,7,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,7,6]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,131,131,131,85,203,7,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,7,6]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,21,21,21,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,5,0]],[[0,21,203,21,21,21,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,5,0]],[[0,21,203,203,203,203,85,203,5,4],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,203,203,203,85,203,5,4]],[[0,21,203,203,203,203,85,203,5,4],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,203,203,203,85,203,5,4]],[[0,21,203,21,21,21,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,5,0]],[[0,21,203,21,21,21,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[4,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,5,0]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[8,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,131,131,131,85,203,7,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,7,6]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[6,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,131,131,131,85,203,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,5,0]],[[0,21,203,131,131,131,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,131,131,131,85,203,6,6]],[[0,21,203,21,21,21,85,203,7,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,7,6]],[[0,21,203,21,21,21,85,203,6,6],[0,21,203,203,203,203,203,203,203,0],[22,21,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[23,203,0,0,0,0,0,0,0,0],[22,203,0,0,0,0,0,0,0,0],[22,21,0,0,0,0,0,0,0,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,21,21,21,85,203,6,6]],[[0,21,203,66,203,203,85,66,5,0],[0,21,203,203,203,203,203,203,203,0],[22,21,203,203,203,203,203,203,203,0],[22,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[23,203,203,203,203,203,203,203,203,0],[22,203,203,203,203,203,203,203,203,0],[22,21,203,203,203,203,203,203,203,0],[0,21,203,203,203,203,203,203,203,0],[0,21,203,66,203,203,85,66,5,0]],[[0,21,203,66,203,203,85,66,5,0],[0,21,203,203,203,203,85,203,2,0],[22,21,203,203,203,203,85,203,2,0],[22,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[23,203,203,203,203,203,85,203,2,0],[22,203,203,203,203,203,85,203,2,0],[22,21,203,203,203,203,85,203,2,0],[0,21,203,203,203,203,85,203,2,0],[0,21,203,66,203,203,85,66,5,0]],[[0,0,4,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,4,4,4,4,4,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,4,1,1,1,1,1,4,0,0],[0,0,4,4,4,4,4,4,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,4,0,0,0,0,0,0,0]],[[0,0,4,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,42,42,42,42,42,0,5,0],[0,42,42,0,0,0,42,0,0,0],[0,42,0,0,0,0,42,0,0,0],[0,42,0,0,0,0,42,0,0,0],[0,42,42,0,0,0,42,0,0,0],[0,0,42,42,42,42,42,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,4,0,0,0,0,0,5,0]]]}
Rail Flatbed Wagon with Steel
Rail_Carriage_Flatbed_Steel.png
Rail_Carriage_Flatbed_Steel.png (1.41 KiB) Viewed 7964 times
{"width":32,"height":10,"depth":12,"pixels":[[[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,0,5,0]],[[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,0,0]],[[0,0,0,0,9,8,7,203,5,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,10,9,10,108,203,2,0],[0,0,0,10,9,10,110,203,2,0],[0,0,0,10,9,10,110,203,2,0],[0,0,0,10,9,10,108,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,9,8,7,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,7,7,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,7,7,7]],[[0,0,0,0,0,0,109,7,8,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,7,8,7]],[[0,0,0,0,0,8,7,7,7,7],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,8,7,7,7,7]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,7,7,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,7,7,7]],[[0,0,0,0,9,8,7,7,8,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,9,8,7,7,8,7]],[[0,0,0,0,0,0,109,7,7,7],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,109,7,7,7]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,8,7,203,5,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,8,7,203,5,0]],[[0,0,0,0,0,0,109,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,5,0]],[[0,0,0,0,0,0,109,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,5,0]],[[0,0,0,0,0,8,7,203,5,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,8,7,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,109,7,7,7],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,109,7,7,7]],[[0,0,0,0,9,8,7,7,8,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,9,8,7,7,8,7]],[[0,0,0,0,0,0,108,7,7,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,9,10,110,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,7,7,7]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,0,8,7,7,7,7],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,8,7,7,7,7]],[[0,0,0,0,0,0,109,7,8,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,0,0,0,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,7,8,7]],[[0,0,0,0,0,0,108,7,7,7],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,110,203,0,0],[0,0,0,10,9,10,108,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,7,7,7]],[[0,0,0,0,0,0,108,203,5,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,109,203,0,0],[0,0,0,10,10,10,108,203,0,0],[0,0,0,10,9,10,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,109,203,0,0],[0,0,0,0,0,0,108,203,5,0]],[[0,0,0,0,9,8,7,203,5,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,10,9,10,108,203,2,0],[0,0,0,10,9,10,110,203,2,0],[0,0,0,10,9,10,110,203,2,0],[0,0,0,10,9,10,108,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,0,0,110,203,2,0],[0,0,0,0,9,8,7,203,5,0]],[[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,4,0],[0,0,0,0,0,0,0,0,0,0]],[[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,5,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,5,6,0],[0,0,0,0,0,0,0,0,5,0]]]}
Maglev Engine
Rail_Maglev_Engine_1.png
Rail_Maglev_Engine_1.png (2.06 KiB) Viewed 7964 times
{"width":32,"height":10,"depth":12,"pixels":[[[4,204,203,203,203,204,21,85,0,0],[4,204,204,204,204,204,204,204,0,0],[2,204,204,204,204,204,204,204,0,0],[2,204,204,42,42,42,42,42,0,0],[6,204,42,2,2,2,2,42,0,0],[6,42,2,2,2,2,2,42,0,0],[6,42,2,2,2,2,2,42,0,0],[6,204,42,2,2,2,2,42,0,0],[2,204,204,42,42,42,42,42,0,0],[2,204,204,204,204,204,204,204,0,0],[4,204,204,204,204,204,204,204,0,0],[4,204,203,203,203,204,21,85,0,0]],[[4,204,205,205,205,204,21,85,4,0],[4,204,204,204,204,204,204,204,0,0],[2,204,204,204,204,204,204,204,0,0],[2,204,204,204,204,204,204,204,0,0],[6,204,204,204,204,204,204,204,0,0],[6,204,204,204,204,204,204,204,0,0],[6,204,204,204,204,204,204,204,0,0],[6,204,204,204,204,204,204,204,0,0],[2,204,204,204,204,204,204,204,0,0],[2,204,204,204,204,204,204,204,0,0],[4,204,204,204,204,204,204,204,0,0],[4,204,205,205,205,204,21,85,4,0]],[[4,204,204,204,204,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,21,85,4,0]],[[4,204,205,205,205,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,205,205,205,204,21,85,4,0]],[[4,204,203,203,203,204,21,85,66,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,203,203,203,204,21,85,66,0]],[[4,204,204,204,204,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,21,85,4,0]],[[4,204,205,205,205,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,205,205,205,204,21,85,4,0]],[[4,204,203,203,203,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,203,203,203,204,21,85,4,0]],[[4,204,204,204,204,204,21,85,66,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,21,85,66,0]],[[4,204,205,205,205,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,205,205,205,204,21,85,4,0]],[[4,204,203,203,203,204,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[2,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,203,203,203,204,21,85,4,0]],[[4,204,204,204,204,21,21,85,4,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,21,21,85,4,0]],[[4,204,204,204,21,21,204,85,66,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,21,21,204,85,66,0]],[[21,21,21,21,21,204,204,85,4,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,21,21,21,21,204,204,85,4,0]],[[21,21,21,21,204,204,204,85,4,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,204,204,204,204,204,204,204,204,0],[21,21,21,21,204,204,204,85,4,0]],[[4,204,204,204,204,204,85,85,4,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,85,85,4,0]],[[4,204,204,204,204,85,85,204,66,0],[4,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,204,204,204,204,0],[4,204,204,204,204,85,85,204,66,0]],[[0,204,204,204,204,85,204,204,4,0],[0,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[0,204,204,204,204,204,204,204,204,0],[0,204,204,204,204,85,204,204,4,0]],[[0,0,204,204,204,85,204,204,4,0],[0,0,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[0,0,204,204,204,204,204,204,204,0],[0,0,204,204,204,85,204,204,4,0]],[[0,0,0,204,204,85,204,204,4,0],[0,0,0,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[0,0,0,204,204,204,204,204,204,0],[0,0,0,204,204,85,204,204,4,0]],[[0,0,0,0,204,85,204,204,66,0],[0,0,0,0,204,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[6,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[0,0,0,0,204,204,204,204,204,0],[0,0,0,0,204,85,204,204,66,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,204,204,204,204,204,204,204,204,0],[5,132,204,204,204,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,132,204,204,204,204,204,204,204,0],[0,132,204,204,204,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,66,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,132,132,132,132,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,66,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,0,132,132,132,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,66,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,66,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,85,204,204,4,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,204,204,204,204,0],[0,0,0,0,0,85,204,204,4,0]],[[0,0,0,0,0,0,85,85,0,0],[0,0,0,0,0,0,51,51,0,0],[0,0,0,0,0,0,51,51,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,204,204,0,0],[0,0,0,0,0,0,51,51,0,0],[0,0,0,0,0,0,51,51,0,0],[0,0,0,0,0,0,85,85,0,0]]]}
You can load these data by copying the quoted code into the JSON data box, and clicking on Load JSON.
Last edited by Zephyris on 17 Feb 2014 13:02, edited 1 time in total.

Supercheese
Tycoon
Tycoon
Posts: 1660
Joined: 16 Dec 2007 22:24
Location: Idaho, USA

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Supercheese » 06 Feb 2014 23:30

Oh, extremely nice, I'll play around with this for sure. :bow:
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton

User avatar
jvassie
Tycoon
Tycoon
Posts: 3420
Joined: 18 Dec 2002 18:00
Location: High Wycombe, England
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by jvassie » 08 Feb 2014 00:38

Wow, this is incredible! Amazing work Zephyris! Definitely going to play around with this some more
(British) Modular Stations Set - Thread: | Website:
Swiss Set - Thread: | Website:
Route Map Creator
Image

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9332
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by planetmaker » 08 Feb 2014 09:43

Oh, nice tool :) The attached screenshot was not more than 10 minutes work and looks quite decent for that already :)

I'm a bit confused about a few details (see attached image):
* The 4th and 6th sprite seem to show an open wagon front (short side).
* The roof output (1st, 5th sprite) is not as symetric as it should (right edge pixels of roof)
* The colouring of the orange line below the roof seems destinctly more red in the 4th and 8th sprite, unlike in the other views.
* The dark rectangle on the short side seems distinctly offset to the left on sprite 8.

EDIT: A nice extension would also be to be able to forget about palette and use a 32bpp or rgb colour picker. What are the server-side requirements for this setup?
Attachments
voxeltool.png
(48.29 KiB) Downloaded 5 times

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 08 Feb 2014 11:23

planetmaker wrote:The 4th and 6th sprite seem to show an open wagon front (short side)
I guess the sides of the carriage are a single voxel thick... If you thicken them by one it should stop the transparency glitch, and improve the shadowing.
planetmaker wrote: The roof output (1st, 5th sprite) is not as symetric as it should (right edge pixels of roof)
Yeah, this is an issue. The problem is that in diagonal views the pixels map like a carriage is 12px wide, but in vertical views it is 8px. I need to write a custom rounding function for the y direction really!
planetmaker wrote:The colouring of the orange line below the roof seems destinctly more red in the 4th and 8th sprite, unlike in the other views.
I guess this is because you picked this orange colour in the dark red-orange-light yellow shading series... If you pick one of the brown/orange shading series it'll probably work a little better.
planetmaker wrote:The dark rectangle on the short side seems distinctly offset to the left on sprite 8.
I guess this is linked to the scaling in the y direction too, I'll take a closer look though.
planetmaker wrote:A nice extension would also be to be able to forget about palette and use a 32bpp or rgb colour picker. What are the server-side requirements for this setup?
32bpp would be possible, but everything is built assuming palettes so it would take a bit of work! The server side requirements are zero, it is 100% client side javascript.
Last edited by Zephyris on 08 Feb 2014 13:55, edited 1 time in total.

Japa
Engineer
Engineer
Posts: 20
Joined: 26 Jul 2008 07:46

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Japa » 08 Feb 2014 13:13

Nice tool!

Really needs a click and drag ability, though. Also some larger brushes would be useful on larger sprite sizes.

Another useful shortcut would be to be able to select the slice location by licking on the image with a modifier, like ctrl+click.

Also color picking from the image.

Does this respect custom colors?

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 08 Feb 2014 14:01

Japa wrote:Really needs a click and drag ability, though. Also some larger brushes would be useful on larger sprite sizes.
Mmm. Both good ideas. Click and drag would be possible, but will need a complete revamp of the way the orthogonal views are drawn as it would not be responsive enouth. A larger brush may be possible...
Japa wrote:Another useful shortcut would be to be able to select the slice location by licking on the image with a modifier, like ctrl+click. Also color picking from the image.
Both good ideas too! Somewhat easier than the click/drag.
Japa wrote:Does this respect custom colors?
Do you mean company colours? Yes; so long as you pick palette entries from the ranges which correspond to the CC or 2CC colours then they will always be shaded to different shades of company colour.
Palette animated colours are also recognised and not shaded, so you can add flashing lights to your train and it will work :)

Japa
Engineer
Engineer
Posts: 20
Joined: 26 Jul 2008 07:46

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Japa » 08 Feb 2014 16:58

Zephyris wrote:
Japa wrote:Really needs a click and drag ability, though. Also some larger brushes would be useful on larger sprite sizes.
Mmm. Both good ideas. Click and drag would be possible, but will need a complete revamp of the way the orthogonal views are drawn as it would not be responsive enouth. A larger brush may be possible...
Actually, on that note, once you start getting to 4x zoom sprites, even the current system starts getting responsiveness issues. Perhaps have a toggle between manual and automatic sprite updates?

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 08 Feb 2014 17:17

I haven't profiled it, but I think the major responsiveness issue probably comes from the complete redraw of the orthogonal views every time a voxel is changed. Simply changing that to only update the modified voxels should be a major improvement. The rendering also currently repeats after 100ms, it would be simple to make it repeat only at longer time intervals as the rendering time increases. Automatic vs manual rendering is also a great idea, should be fairly easy to do.


juzza1
Engineer
Engineer
Posts: 94
Joined: 22 Oct 2004 19:27

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by juzza1 » 11 Feb 2014 13:52

Would it be difficult to implement different amounts of views for the output sprites, instead of the fixed eight? This setting would be choosable by the user.

Example: CETS sprites, for each standard view there are two extra sprites: http://dev.openttdcoop.org/projects/cet ... normal.png

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 11 Feb 2014 16:20

juzza1 wrote:Would it be difficult to implement different amounts of views for the output sprites, instead of the fixed eight? This setting would be choosable by the user.
If OpenTTD used true 3D rotations then this would be pretty simple. Because it actually uses stretched vertical and horizontal views it makes it a bit more complicated...

Code: Select all

	//Pointing SW
	//Flip x and y
	canvases[5].width=(depth/2+width/2)*outScale;	
	canvases[5].height=(width/4+depth/4+height)*outScale;
	ctxs[5].fillStyle="rgba("+palette[transparentIndex][0]+", "+palette[transparentIndex][1]+", "+palette[transparentIndex][2]+", 1)";
	ctxs[5].fillRect(0, 0, canvases[5].width, canvases[5].height);
	var shadowVector=[[-1, -1, -1], [0, -1, -1], [-1, 0, -1]];
	for (var x=0; x<width; x++) {
		for (var y=0; y<depth; y++) {
			for (var z=0; z<height; z++) {
				i=pixelShader(x, y, z, shadowVector);
				drawPixel(ctxs[5], (width-x-1)/2+(depth-y-1)/2, width/4-(width-x-1)/4+(depth-y-1)/4+z, i);
			}
		}
	}
This is the chunk of code used to make the render of a particular orientation, the things that you would need to work out are:
* Correct canvas width and height to use
* Shadow vectors to use for shading
* Scan direction (i.e. whether to start x low or high, start y low or high)
* The voxel to pixel mapping function. In this example output image horizontal position is given by (width-x-1)/2+(depth-y-1)/2, and output image vertical position is given by width/4-(width-x-1)/4+(depth-y-1)/4+z, where x, y, z is the 3D location of the voxel.

In principal linear interpolation would probably work, though TBH I am not sure I can spare the time to try and get it to work...

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 11 Feb 2014 21:16

This tool now has a repo at OpenTTD Coop: http://dev.openttdcoop.org/projects/pixeltool
I will push my changes to that repo and it will have the latest changes, although there may occasionally be some bugs... So far I have added:
* Drag to draw
* Improved drawing speed of orthogonal views
* Manual enable/disable of rendering, and a manual rendering button

I will also keep updating www.richardwheeler.net/interactive/pixeltool.html with versions I deem completely stable occasionally.

User avatar
Hans Kruzer
Traffic Manager
Traffic Manager
Posts: 230
Joined: 03 Jul 2013 20:24
Location: Toronto

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Hans Kruzer » 11 Feb 2014 23:49

I will certainly use this a bit now! Will speed up things :D Though, when it comes to it, I shall still inspect it's outcome sprites by hand.
Thanks for this link, for now we can blitz through sprites :twisted:
Tschüß!

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5403
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by PikkaBird » 12 Feb 2014 00:57

Zephyris wrote:If OpenTTD used true 3D rotations then this would be pretty simple. Because it actually uses stretched vertical and horizontal views it makes it a bit more complicated...
OpenTTD uses whatever sprites you give it. You don't have to stretch the vertical and horizontal views.

The fix for vehicle speed in v/h directions appears to be relatively simple, so perhaps if more newgrfs (and even base sets) didn't stretch their sprites we'd be able to make a case to the devs to include that patch, or similar, as an optional setting. :)

Eddi
Tycoon
Tycoon
Posts: 7424
Joined: 17 Jan 2007 00:14

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Eddi » 12 Feb 2014 12:59

juzza1 wrote:Example: CETS sprites, for each standard view there are two extra sprites: http://dev.openttdcoop.org/projects/cet ... normal.png
well what i did was make a hand-crafted "floor plan" which lays out the dimension (for each vehicle length), to make some really basic geometric shapes. not sure if it is at all compatible with this kind of project, but maybe would be helpful.
You might not exactly be interested in Ferion, but if you are, have fun :)

User avatar
Zephyris
Tycoon
Tycoon
Posts: 2826
Joined: 16 May 2007 16:59

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by Zephyris » 15 Feb 2014 16:39

Hey all,

I have made some major updates, incorporating several of the changes suggested here. You can play with the latest version here: http://www.richardwheeler.net/interacti ... ltool.html
The biggest change is a switch to a more user-friendly page layout, which should make it a lot more intuitive to use.

I think the last couple of changes to make it "finished" are:
* Switch to select whether to use OpenTTD vehicle-like or building-like rendering.
* Colour picker tool.
* Download button for the final rendered image.

Other changes I could make, and might depending on time constraints, are:
* Custom palettes (for use in other projects).
* Screen-space based shaders (e.g. sprite outline, depth-based outlines)
There are still some internal improvements that would be valuable:
* Reformat rendering code to a 2D array rather than canvas-based calculation to improve speed.
* Setup rendering by a single function with x, y, z mapping functions and scan directions.
Attachments
Screenie.png
(73.64 KiB) Downloaded 3 times

User avatar
jvassie
Tycoon
Tycoon
Posts: 3420
Joined: 18 Dec 2002 18:00
Location: High Wycombe, England
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by jvassie » 15 Feb 2014 17:35

Looking good Zephyris.

One small thing though, think you might have got the labels for front and side the wrong way round? Might be best using 'End' for what is currently labelled as 'Side'?
(British) Modular Stations Set - Thread: | Website:
Swiss Set - Thread: | Website:
Route Map Creator
Image

User avatar
SkiddLow
Transport Coordinator
Transport Coordinator
Posts: 300
Joined: 09 Jul 2012 00:44
Location: Surabaya
Contact:

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by SkiddLow » 17 Feb 2014 12:14

HELP ? Please Renderring the Toyota Yaris (XP150) Hatchback (Because XP130 Is used for Developed Countries) for IRVS.

Image
(Everybody) SkiddLow's Back, alright.

My Screenshots

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9332
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: PixelTool - Voxel-based Vehicle Editor/Renderer

Post by planetmaker » 17 Feb 2014 12:21

SkiddLow wrote:HELP ? Please Renderring the Toyota Yaris (XP150) Hatchback (Because XP130 Is used for Developed Countries) for IRVS.
The tool is readily available for convenient usage in your browser: http://bundles.openttdcoop.org/pixeltool/push/LATEST/
Just start drawing. And mind that this is not a thread suitable for "please draw me this" - requests.
Explanation of the usage is found in the first posting of this thread.

Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot], Google Feedfetcher and 8 guests