Author | Message | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EMF2PNG Application [Released]
|
I am working on an application for exporting EMF filestoimage.
13 years, 12 weeks ago
Read the included readme.txt file located in the Official Build download.
Features
Known Bugs
Official Build: http://files.desmondtaylor.co.uk/emf2png.zip
As stated above, there is more to do.
This till will come in handy for map developers that wish to show a screenshot of the entire map and
savesthe hassle of multiple small shots of the one map.
--- I am an alien and not crazy!
|
Re: EMF2PNG Application
| that seems like a fun project :P render map, draw it, and save it. I couldn't do that shit, nice work desmond!
|
Re: EMF2PNG Application
|
Thank you :D
13 years, 12 weeks ago
However someone should have thought of this ages ago for the mappers
:P
Edit: btw, Render Map / Draw it is the same thing
:D
Edit 2: The routine is:
Application close :P
--- I am an alien and not crazy!
|
Re: EMF2PNG Application
| ah, I've never done any "advanced" graphic programming.
|
Re: EMF2PNG Application
| Sounds awesome man. --- ...
|
Re: EMF2PNG Application
| are you going to add scaling to it? --- Beware of your thoughts, they become your words. Beware of your words, they become your actions. Beware of your actions, they become your habits. Beware of your habits, they become your character. Beware of your character, it becomes your destiny. - Unknown
|
Re: EMF2PNG Application
| Redrocco posted: (7th Oct 2011, 12:42 pm) I'm just adding draw as original and the bitmap will end up being the size of the map. It shouldn't take long to render a map like the maze but I shall try that rafter fixing the shadows and adding walls. --- I am an alien and not crazy!
|
Re: EMF2PNG Application
| how are you converting the map to an image? btw looks great though, i only was able to save the display to a png or a single bitmap. --- opensource isometric game engine ~ www.avac-engine.blogspot.com
|
Re: EMF2PNG Application
| By creating an image in memory and then drawing the map directly to it. After the map has been drawn it simply saves it as an image :P --- I am an alien and not crazy!
|
Re: EMF2PNG Application
| Desmond Taylor posted: (7th Oct 2011, 03:21 pm)mind showing some code? because how are you drawing the map directly to one bitmap? --- opensource isometric game engine ~ www.avac-engine.blogspot.com
|
Re: EMF2PNG Application
| al_set_target_bitmap( ALLEGRO_BITMAP* bitmap ); That's the only code you need. --- I am an alien and not crazy!
|
Re: EMF2PNG Application
| Desmond Taylor posted: (7th Oct 2011, 02:55 pm)Redrocco posted: (7th Oct 2011, 12:42 pm) Nice work. Not to take the fame from you for your project idea, but after reading this I decided I would put together something like this. Managed to get it together and just about flawless in a little under a hour. Screenshot This is what it saved for aeven. Just posting the link as the image is too large to post on here. http://exile-studios.com/TehAeven.png Download Binary I'm sure what Desmond comes up with will be much more flawless based on image dimensions and shadow positioning etc. I just wanted to see how fast i could whip up such a thing and this is what i came up with. Edit - Also forgot to mention for those of you without common sense you gotta put the gfx files from the eo client in the gfx folder of this to have it work. --- ¨°º¤ø„º°¨ Exile Studios ¨°º„ø¤º°¨
|
Re: EMF2PNG Application
| Let me guess that's shitty VB and needs .NET :P Write it in C++, I would have done mine by now but had to shop for a new freezer and computer chair. Now I'm just having problems with rendering the shadows as they seem to be transparent but white not black XD --- I am an alien and not crazy!
|
Re: EMF2PNG Application
| Desmond Taylor posted: (7th Oct 2011, 03:48 pm) Can't knock on it if it gets the job done :P. I agree would take much more time in C++. Also you using Allegro rather then the slow ass GDI+ im using will make yours greater then mine by far. I just had fun putting that together cause I didn't have shit better to do xD. --- ¨°º¤ø„º°¨ Exile Studios ¨°º„ø¤º°¨
|
Re: EMF2PNG Application
| Deathx posted: (7th Oct 2011, 03:51 pm)Lol, Well it's done now. Let's see if I can find a bug in yours as I was only making this because it could come in handy. If your's is bug free then no need for me to carry on XDDesmond Taylor posted: (7th Oct 2011, 03:48 pm) Edit: Found a bug, Do a check for gfx022.egf as it crashes.
--- I am an alien and not crazy! |