BrickED - 3D Sprite Editor - b645 RELEASED!

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
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

BrickED - 3D Sprite Editor - b645 RELEASED!

Post by uzurpator »

Hello everybody.

I would like to present to you the fruits of my evening labour for the last few months—a 3D editor for easy sprites generation for games like OTTD.
bricked_editor.png
bricked_editor.png (185.95 KiB) Viewed 851 times
It is currently in the alpha stage but is quite functional. I’m in the last stages of preparing it for release to the community. Transport Tycoon for now and then maybe for SimuTrans and other games - depending on reception. It is going to be, obviously, freeware.

The original trigger for making it was me learning to use Vulkan, as I foresee I’ll need to use it at work at some point.

The basic idea is that one builds a model in 3d space by stacking bricks of a variety of shapes and sizes. Once done - one can generate between 1 to 360 sprites - views of the model generated and use them in the game. Lightning is done automatically.

It is palette-based and supports any palette of 255 hues, 256 colors each - so a total of 65000 with change of colors ( from a full 16M ). OTTD palette is the base one. Sprites may be in base size, or in 2x, 3x, or vice-versa - half or even of lesser size.
bricked_showcase.png
bricked_showcase.png (13.7 KiB) Viewed 852 times
DOWNLOAD: BrickED b645
Release Notes:
1. Various bugfixes, which are not visible to the user, but allow further expansion of the project
2. Sprite size info is now saved to the model file


DOWNLOAD: BrickED b622
Release Notes:
1. Added a possibility to press 'Del' key to erase selection.
2. Added a possibility to press 'Esc' to stop current operation ( like paint, place brick, etc )
3. Added focused brighten / darken brush
4. You can now drag the model view when placing bricks
5. Added an arrow showing the direction of light
6. Fixed an issue with light direction being erratic at extreme camera angles
7. Updated 'paris-edited' sample
8. Sprite generation window now remembers some values on subsequent openings

DOWNLOAD: BrickED b604
Release Notes:
1. Added the ability to paint bricks by drag.
2. Added the ability to erase bricks by drag.
3. Added the ability to select multiple bricks by drag.
4. Tuned lightning a little to increase contrast.
5. Added the ability to create an 'user.txt' config file.
6. Vastly improved camera controls when working on wide/tall models

DOWNLOAD: BrickED b596
Release Notes: Initial release

It requires windows 10/11 machine and Vulkan support.
Last edited by uzurpator on 26 Dec 2024 08:29, edited 13 times in total.
luxtram
Route Supervisor
Route Supervisor
Posts: 413
Joined: 10 May 2016 19:09

Re: BrickED - 3D Sprite Editor

Post by luxtram »

Very cool! And I think it's the right place to post it.

Is it for vehicles only or it can also do houses?


---------------
PS. I use GPL instead. For good reasons. :)
California City Sets viewtopic.php?t=76786
1000 building set viewtopic.php?t=75250
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Anything really. Some things more than other, I guess. Land tiles might prove difficult to get right. But buildings are going to be fairly straightforward.
luxtram
Route Supervisor
Route Supervisor
Posts: 413
Joined: 10 May 2016 19:09

Re: BrickED - 3D Sprite Editor

Post by luxtram »

uzurpator wrote: 25 Oct 2024 17:42 Anything really. Some things more than other, I guess. Land tiles might prove difficult to get right. But buildings are going to be fairly straightforward.
Cool. So let us know when it's release ready.
California City Sets viewtopic.php?t=76786
1000 building set viewtopic.php?t=75250
User avatar
WolfRamXx
Engineer
Engineer
Posts: 105
Joined: 24 May 2020 17:20
Location: Western country of eastern block.

Re: BrickED - 3D Sprite Editor

Post by WolfRamXx »

Ooo, this sounds interesting. I tried different programs for making sprites but so far always found it easier to make them by hand. I hope the development goes well so i can try this one. :mrgreen:
Owner of WolfTrans.com. An fictional trucking company.
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

A little update - I worked on the weekend on bugfixes and on the lightning setup window.
I also recreated the Ginzu A4 sprite from OpenGFX in BrickED.
ginzu.PNG
(245.4 KiB) Not downloaded yet
EDIT: And the sprite rendered in TT scale, without shortening.
rendered.png
rendered.png (9.1 KiB) Viewed 2447 times
User avatar
Mrsunman
Transport Coordinator
Transport Coordinator
Posts: 326
Joined: 26 Jul 2023 22:58
Location: Sydney, Australia

Re: BrickED - 3D Sprite Editor

Post by Mrsunman »

uzurpator wrote: 29 Oct 2024 19:54 A little update - I worked on the weekend on bugfixes and on the lightning setup window.
I also recreated the Ginzu A4 sprite from OpenGFX in BrickED.

ginzu.PNG

EDIT: And the sprite rendered in TT scale, without shortening.

rendered.png
I do wonder, can BrickED be used on any model, or does it require a size, a model type or such? I do see how this could be used to translate 3D models of buildings into TTD scale buildings, which interests me :mrgreen: . Keep up the great work!
Simcity 4 asset pack [ON HOLD] : viewtopic.php?t=91847&start=20
MMS object set [FILES AVAILABLE] : viewtopic.php?t=91903
TTDmas 2024 object set [WIP] :viewtopic.php?p=1272351#p1272351
Winner of the SOTM: 9/24
All my assets are GPL-2

To do list:
- Hutt housing objects
- Hutt road set and objects
- Hutt parks
luxtram
Route Supervisor
Route Supervisor
Posts: 413
Joined: 10 May 2016 19:09

Re: BrickED - 3D Sprite Editor

Post by luxtram »

Could you, as an exercise do something like this?
Paris Sample.png
Paris Sample.png (2.51 KiB) Viewed 2386 times
California City Sets viewtopic.php?t=76786
1000 building set viewtopic.php?t=75250
luxtram
Route Supervisor
Route Supervisor
Posts: 413
Joined: 10 May 2016 19:09

Re: BrickED - 3D Sprite Editor

Post by luxtram »

Mrsunman wrote: 29 Oct 2024 22:35 I do wonder, can BrickED be used on any model, or does it require a size, a model type or such? I do see how this could be used to translate 3D models of buildings into TTD scale buildings, which interests me :mrgreen: . Keep up the great work!
If you already have a model then doesn't it make more sense to use a 3D renderer for this directly?
California City Sets viewtopic.php?t=76786
1000 building set viewtopic.php?t=75250
User avatar
Mrsunman
Transport Coordinator
Transport Coordinator
Posts: 326
Joined: 26 Jul 2023 22:58
Location: Sydney, Australia

Re: BrickED - 3D Sprite Editor

Post by Mrsunman »

luxtram wrote: 30 Oct 2024 00:30
Mrsunman wrote: 29 Oct 2024 22:35 I do wonder, can BrickED be used on any model, or does it require a size, a model type or such? I do see how this could be used to translate 3D models of buildings into TTD scale buildings, which interests me :mrgreen: . Keep up the great work!
If you already have a model then doesn't it make more sense to use a 3D renderer for this directly?
I guess, but it'd be neat to play around with
Simcity 4 asset pack [ON HOLD] : viewtopic.php?t=91847&start=20
MMS object set [FILES AVAILABLE] : viewtopic.php?t=91903
TTDmas 2024 object set [WIP] :viewtopic.php?p=1272351#p1272351
Winner of the SOTM: 9/24
All my assets are GPL-2

To do list:
- Hutt housing objects
- Hutt road set and objects
- Hutt parks
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Mrsunman wrote: 29 Oct 2024 22:35 I do wonder, can BrickED be used on any model, or does it require a size, a model type or such?
It can load *.png files and treat them as source of voxels. But can't just load any model, or even a subset of them.
luxtram wrote: 30 Oct 2024 00:27 Could you, as an exercise do something like this?
I'll look into it over the weekend
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Update! I added a download link for a release candidate in the first post.
User avatar
WolfRamXx
Engineer
Engineer
Posts: 105
Joined: 24 May 2020 17:20
Location: Western country of eastern block.

Re: BrickED - 3D Sprite Editor

Post by WolfRamXx »

Quickly gave it try and cant seem to be able to run it, the log complains about some "Missing validation".

Nevermind, figured it out
Attachments
ars_log.txt
(527 Bytes) Downloaded 31 times
Owner of WolfTrans.com. An fictional trucking company.
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

I think I fixed it. Updated the link in the first post.
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

I'm almost done with the final feature, and I'll probably make a final release sometime this week. In the meantime, I attach the user guide.
Attachments
BrickED.User.Guide.pdf
(909.02 KiB) Downloaded 54 times
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Report from a besieged city.
The Paris house turned into the editor with the layering scripts looks like this:
paris_house.PNG
paris_house.PNG (100.12 KiB) Viewed 1718 times
After a few edits:
paris_house_edit.PNG
paris_house_edit.PNG (127.63 KiB) Viewed 1718 times
After rendering - obviously one side is incorrectly stretched, thus a bug to squash. But the front face of the building is pixel perfect, which wasn't really obvious thing to achieve.
house_rendered.png
house_rendered.png (4.09 KiB) Viewed 1718 times
User avatar
Mrsunman
Transport Coordinator
Transport Coordinator
Posts: 326
Joined: 26 Jul 2023 22:58
Location: Sydney, Australia

Re: BrickED - 3D Sprite Editor

Post by Mrsunman »

uzurpator wrote: 12 Nov 2024 19:30 Report from a besieged city.
The Paris house turned into the editor with the layering scripts looks like this:
paris_house.PNG
After a few edits:
paris_house_edit.PNG
After rendering - obviously one side is incorrectly stretched, thus a bug to squash. But the front face of the building is pixel perfect, which wasn't really obvious thing to achieve.
house_rendered.png
This will be excellent for rendering tough buildings, such as those who turn, or those who have a unique and complex shape.
Attachments
Tried doing the absolute world towers once, almost impossible to judge their geometry. Maybe with the 3d editor, it could be used for complex towers like this?
Tried doing the absolute world towers once, almost impossible to judge their geometry. Maybe with the 3d editor, it could be used for complex towers like this?
Absolute_MAD_1020_by_iwan_baan.jpg (124.85 KiB) Viewed 1705 times
Simcity 4 asset pack [ON HOLD] : viewtopic.php?t=91847&start=20
MMS object set [FILES AVAILABLE] : viewtopic.php?t=91903
TTDmas 2024 object set [WIP] :viewtopic.php?p=1272351#p1272351
Winner of the SOTM: 9/24
All my assets are GPL-2

To do list:
- Hutt housing objects
- Hutt road set and objects
- Hutt parks
User avatar
Mrsunman
Transport Coordinator
Transport Coordinator
Posts: 326
Joined: 26 Jul 2023 22:58
Location: Sydney, Australia

Re: BrickED - 3D Sprite Editor

Post by Mrsunman »

did I mention it's good for buildings with multiple views too?
Simcity 4 asset pack [ON HOLD] : viewtopic.php?t=91847&start=20
MMS object set [FILES AVAILABLE] : viewtopic.php?t=91903
TTDmas 2024 object set [WIP] :viewtopic.php?p=1272351#p1272351
Winner of the SOTM: 9/24
All my assets are GPL-2

To do list:
- Hutt housing objects
- Hutt road set and objects
- Hutt parks
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Work for today - I fixed the scaling issues - so here is the Paris building in multiple views. Still - only one side has been edited, the rest has been adopted from the original posted above.

Also - the sprite has been magnified 3x
paris_house.PNG
paris_house.PNG (15.62 KiB) Viewed 1627 times
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2209
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: BrickED - 3D Sprite Editor

Post by uzurpator »

Some extra work done today and I'll need to add an autosave feature, because I just lost plenty of work on this Paris house. But this weekend I'll post another release candidate.
paris_0.png
paris_0.png (2.71 KiB) Viewed 1546 times
paris_270.png
paris_270.png (2.96 KiB) Viewed 1546 times
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot], io flora and 11 guests