From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! ==Crispness== Two tools are commonly used to create map images for this wiki: the [[Omgifol#Drawing_maps|Omgifol drawmaps.py script]] and [[SLADE 3]]. Other tools appear to have been sporadically used to generate map views, e.g. {{deleted|File:MAP22-castle-of-grief.svg}}, [[:File:No_Rest_for_the_Living_Map01.png|No_Rest_for_the_Living_Map01.png]] and [[:File:Lost_episodes_of_doom_e1m3.png|Lost_episodes_of_doom_e1m3.png]], but it's unknown what and where they are, and they don't seem to be in active use anymore, so they are not covered here. Omgifol drawmaps.py exists in three versions. These test images illustrate the differences: <gallery> File:MAP01 map.png|1: original omgifol @ [[MAP01]] (2005-01-11) File:MAP01-omgifol0.2.png|2: via omgifol 0.2 File:MAP01-omgifol.png|3: via omgifol [[Omgifol#cite_note-3|improved]] File:MAP01-slade3.png|4: via slade3 v3.1.1.1 </gallery> omgifol images are generated via the command-line: <pre> # image 1 & 2: python omg/demo/drawmaps.py doom2.wad MAP01 999 PNG # image 3: python omg/demo/drawmaps.py doom2.wad MAP01 1079 </pre> slade3 images are generated via the following GUI steps: # Open dialog tab Edit -> Preferences -> Interface -> Colours & Theme # In section "Map Image Export", set Background 'White' (default) & Opacity 255 (non-transparent) # Switch to dialog tab Advanced # Find the map_image_* entries, and set _thickness to 3 # For the test image, set _height to 1079 and _width to 999 # Load doom2.wad # From the WAD directory, preview MAP01 # Use the Save Map Image button, to the left just above the preview, and Save See also the built-in Documentation -> Tutorials -> How to Create Map Images page. ===Differences=== Looking closely at the full-size images, there are three visible differences. In image 1, the end points of many (gray) 2-sided linedefs appear on top of the (black) 1-sided linedefs they connect to. See for example where the diagonal steps in the starting room meet the walls. This gives a ragged look to the overall map. In images 2 and 3, this problem is solved by drawing the black lines after all the gray ones, thanks to this sorting statement: <pre> # draw 1s lines after 2s lines so 1s lines are never obscured edit.linedefs.sort(lambda a, b: cmp(not a.two_sided, not b.two_sided)) </pre> The result is a clean and crisp map image. Image 1 is part of the very first batches of map uploads by [[Fredrik]] (author of Omgifol) for the UDoom, Doom2, Evilution & Plutonia [[IWAD]]s in [https://doomwiki.org/w/index.php?title=Special:Contributions/Fredrik&offset=20050112050000&target=Fredrik January 2005] (some superseded by [[User:Ryan W|Ryan W]], see below). Source code of that pre-0.2 version of omgifol is not available, but most likely the sorting statement was not yet present then. It's unknown how many maps have been uploaded using this version, but assuming that v0.2 was the first public version (released in May 2005), any maps uploaded by anyone since then will likely be crisp. Image 4, however, has the same ragged look as image 1, and therefore SLADE 3 probably does not sort the linedefs before drawing. IMO the map pages of the official IWADs serve as "reference" for how all map pages could (eventually) look. Therefore they should have crisp map images, with the added benefit of distinguishing Doom Wiki more from its Wikia origin. Caveat is that the E1M*, E2M1-E2M5, E2M9 & E4M1 images use walkthrough spots added by Ryan W, so let's defer those for now. This is related to the [[Doom Wiki:Central Processing/2016#Marked_spots.3F|marked spots discussion]] and [[Doom Wiki:RFC/Maptabs template|maptabs RFC]]; see its [[User:Quasar/Sandbox#Scratchpad|demonstration]]. TO DO: # <s>Recreate and upload all IWAD maps. I will do this soon unless someone objects.</s> # <s>Contact [[Simon Judd]] to request improvement of map image generation.</s> Implemented in v3.1.1.2. # <s>Revive the maptabs RFC</s> and see if progress can be made towards adding spotted images (with walkthrough text to match) to all IWAD map pages. Bottom line: until SLADE 3's map images are improved, the preferred wiki maps are those by omgifol (v0.2 or later), IMHO. Given that it does not have a GUI, and not all regular map contributors will even read this here discussion, chances are that ragged map images will continue to be uploaded. Such is life in wiki-land. ;) ''Edit'': As of the v3.1.1.2 release of SLADE 3, its map images look similarly crisp as omgifol's thanks to linedef sorting, and all map contributors using SLADE 3 are advised to upgrade. Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window)