Map Editor (fenics's Worklog)
Worklogs > fenics's Worklogs >
Map Editor
Update
- added support for multiselection in the open filedialog. So you can pretty much just select all the map files in a folder and it will load them all in the thumbnail bar.
- all types of map files are now properly imported; 8bit map files also load a color palette on the left to pick colors from.
- color picker added.
- importing of png images added.
- thumbnails are updated as you draw.
- creating new maps (just 16 bits for now)
Thoughts:
I've mostly been messing with algorithms to draw lines and stuff. I pretty much have a simple DDA line drawing algorithm now. Now I'm just figuring out how to draw thick lines rather than simple 1 pixel lines. Subpixel accuracy would be nice, but I'm not sure how to do that yet. Using a combination of the fraction data and the float brush width to determine pixel brightness?
- all types of map files are now properly imported; 8bit map files also load a color palette on the left to pick colors from.
- color picker added.
- importing of png images added.
- thumbnails are updated as you draw.
- creating new maps (just 16 bits for now)
Thoughts:
I've mostly been messing with algorithms to draw lines and stuff. I pretty much have a simple DDA line drawing algorithm now. Now I'm just figuring out how to draw thick lines rather than simple 1 pixel lines. Subpixel accuracy would be nice, but I'm not sure how to do that yet. Using a combination of the fraction data and the float brush width to determine pixel brightness?
(Posted on October, 3rd 2009, 14:33)
2 comments
2 comments
Another screenie.
Added support for loading more than one file. At first I was thinking of a tabbed interface, but a thumbnail one is probably better. Especially since I can now easily code in rearranging of files and close buttons etc.
[edit]
Lookit, it is slowly becoming useful for drawing stick figures.
[edit 2]
I drew a beard on it. Yes.
Direct access to the bitmap's pixels with pointers makes this surprisingly fast :B
[edit 3]
Getting less buggy now :3
(Click thumbnail to enlarge) |
[edit]
Lookit, it is slowly becoming useful for drawing stick figures.
(Click thumbnail to enlarge) |
[edit 2]
I drew a beard on it. Yes.
(Click thumbnail to enlarge) |
Direct access to the bitmap's pixels with pointers makes this surprisingly fast :B
[edit 3]
Getting less buggy now :3
(Click thumbnail to enlarge) |
(Posted on October, 1st 2009, 14:40)
2 comments
2 comments
New project.Huzzah.
I felt like I learned so much by now that I could actually contribute something useful to the Fenix / Bennu community. So here's my try...
A graphic editor, aimed solely at editing .map files.
For now, does not much other than load and display compressed\uncompressed map files (8bit, 16bit, 32 bit), and some other basic stuff. And it actually loads them fast :3 Woo.
A graphic editor, aimed solely at editing .map files.
For now, does not much other than load and display compressed\uncompressed map files (8bit, 16bit, 32 bit), and some other basic stuff. And it actually loads them fast :3 Woo.
(Click thumbnail to enlarge) |
(Posted on October, 1st 2009, 00:39)
2 comments
2 comments
Worklogs >
fenics's Worklogs >
Map Editor