Map Editor (fenics's Worklog)
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)
Comments
Sandman said:
Don't mean to intrude, but if you are making a nice graphics editing suite, why not also support editing different filetypes?
Drawing thick lines with AA, I would imagine you would first determine what pixels get changed and then alter them according to the distance to the line and the colour, etc.
Drawing thick lines with AA, I would imagine you would first determine what pixels get changed and then alter them according to the distance to the line and the colour, etc.
(Posted on October, 3rd 2009, 16:56)
fenics said:
"Don't mean to intrude, but if you are making a nice graphics editing suite, why not also support editing different filetypes?"
I guess so. I'll work on that.
I guess so. I'll work on that.
(Posted on October, 3rd 2009, 22:50)