Weird impy thing
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Small Doom Builder release for major new plugin
 
Author
All times are GMT. The time now is 12:30. Post New Thread    Post A Reply
CodeImp
Moderator


Posts: 1501
Registered: 12-03


A new version of the Doom Builder level editor has been released. Version 2.1.2.1545 contains only a few bug fixes, but significant features for plugins. This release is made especially for the new Visplane Explorer plugin, which is based on Andrew Apted's code to find the visplane and segment counts throughout the map. This helps vanilla Doom map authors keep their maps within limits.

Update: A patch has been released to fix a couple of bugs. The new version is 2.1.2.1553.

Old Post 05-31-12 21:23 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
The Green Herring
Community Chest 4 Leader


Posts: 1245
Registered: 05-07


When I ran 2.1.2.1545 immediately after installing it, I got this:

Errors and Warnings said:
Unable to load the game configuration file "Skulltag_DoomHexen.cfg". Error in file "C:/Program Files (x86)/Doom Builder 2\Configurations\Skulltag_DoomHexen.cfg" near line 51: Invalid assignment. Missing a previous terminator symbol?
When I looked in said config file, I saw this:

Line 51 in Skulltag_DoomHexen.cfg said:
makedoorflags = { 512; }      // see linedefflags, as string, CSV
Compare this to the other Hexen-format config files:

Line 51 in Hexen.cfg said:
makedoorflags { 512; }      // see linedefflags, as string, CSV

Line 51 in ZDoom_DoomHexen.cfg (and other ZDoom_(game)Hexen.cfg files) said:
makedoorflags { 512; }      // see linedefflags
These are the files that are put in the directory by the installer and have not been modified in any way.

Apart from that, kudos on getting Visplane Explorer usable in Doom Builder. It'll be quite useful for vanilla authors.

__________________
- The Green Herring

Get Community Chest 4 here!

Old Post 05-31-12 22:13 #
The Green Herring is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3626
Registered: 05-00


You can blame me for that typo in the config. Fixed in r1547. Meanwhile you can just remove the = and it will work again.

Old Post 05-31-12 22:32 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
hawkwind
Senior Member


Posts: 1004
Registered: 04-04


This version crashes every time when Checking for errors in Map Analysis Mode. I've notice over on the DoomBuilder Forums that stuck things in each other bug is supposed to be fixed. DB2 only crashes when "check for stuck things" is ticked.

Using WinXP SP3.

I'll mention this over on the DB forum too.

Old Post 06-01-12 03:07 #
hawkwind is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1501
Registered: 12-03


Ok obviously that could have been tested better. I will make a patch release today.

Old Post 06-01-12 09:10 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3626
Registered: 05-00


Great, all new problems introduced are my fault :(


CodeImp said:
Ok obviously that could have been tested better.

Definitely. That it worked with my test map isn't much of an excuse.

Old Post 06-01-12 14:45 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1501
Registered: 12-03


A new version (2.1.2.1553) has just been released which patches the bugs we discovered. Sorry for any inconvenience.

Old Post 06-01-12 21:44 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
iori
#legacy bastard


Posts: 831
Registered: 07-03


Thanks, awesome stuff.

Old Post 06-02-12 01:13 #
iori is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Bucket
ROCK & LOAD
COCK BEEN BLOWED
IN YOUR MOUTH,
MANJUICE EXPLOAD


Posts: 4928
Registered: 01-04


I tested out the Visplane Explorer and it froze up my quad core computer. It's now completely unresponsive. YAY!

Old Post 06-02-12 01:18 #
Bucket is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
MTrop
Member


Posts: 413
Registered: 12-05


The Visplane Explorer plugin also makes my computer's CPU shoot through the roof.

It's an i7. Any way to make this single-core-affine or have it only redraw to a specific resolution? I get the feeling that it's constantly recalculating every viewpoint even when nothing changes on the screen.

It's nice, otherwise.

Old Post 06-03-12 17:37 #
MTrop is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Dragonsbrethren
Senior Member


Posts: 2409
Registered: 03-09


Visplane Explorer also maxes out my CPU, but my PC stays responsive so that's not a big deal.

Old Post 06-03-12 17:51 #
Dragonsbrethren is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7721
Registered: 01-03



Mista_T said:

It's an i7. Any way to make this single-core-affine




Why would anyone write multithreaded code and then restrict it to one core? Makes no sense. Of course the calculation threads should run with lower priority so that they don't stall the system.

Old Post 06-03-12 18:09 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
MTrop
Member


Posts: 413
Registered: 12-05



Graf Zahl said:



Why would anyone write multithreaded code and then restrict it to one core? Makes no sense. Of course the calculation threads should run with lower priority so that they don't stall the system.



Probably because I don't want my system locking up or burning unnecessary CPU cycles re-drawing the same heatmap over and over again without a change in the rendered map. As long as there's code that knows when to stop the render, then this is not an issue, but there isn't, and that needs fixing.

It's still an amazing bit of code, don't get me wrong.

Old Post 06-03-12 19:18 #
MTrop is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
andrewj
Senior Member


Posts: 1632
Registered: 04-02


It's probably not drawing the same heatmap over and over, rather it's adding more and more detail to it. It looks like CodeImp's plugin starts at a size of 16x16, then refines those blocks (e.g. 8x8 blocks, then 4x4 blocks, etc etc). It takes a very long time to create the heatmap for every single pixel.

Old Post 06-04-12 02:28 #
andrewj is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
MTrop
Member


Posts: 413
Registered: 12-05


I get that it's doing that, but could there perhaps be a setting to limit the resolution of the map? Maybe to a resolution relative to "map pixels"? Or is there one and I missed it?

Old Post 06-04-12 15:04 #
MTrop is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6521
Registered: 01-02


In my experience it already seems to miss some possible overflows, so I think reducing the precision any further would make it pretty much impossible to rely on as ever accurate.

Old Post 06-04-12 19:22 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1501
Registered: 12-03


I see some clarification is in order here, because there seem to be some misconceptions.

My plugin starts at 64x64, just like andrewj's. It even uses the same dithering algorithm (andrewj lovely called this a 'butterfly' algorithm, that sounds sweet :) but since it is multitreaded it goes a lot faster and on small maps you may not even get to see the 64x64 blocks in the first frames.

The plugins spawns the same number of threads as the number of logical cores your CPU has and assigns each thread to one core. You want this, because you want your results as soon as possible (no?). The threads have a 'below normal' priority, which means they give up any and all CPU resources that any normal program would like to use.

My plugin focuses its effort on the area that is currently in view. So if you zoom in, the area you are viewing (in mappixels) will be smaller and you will get the details sooner. You can zooming normally, or by dragging a rectangle. The plugin will continue to increase resolution until 1x1 mappixels. After the current view is completely computed at that resolution, it will continue with the entire map (when you change view again, it will again try to compute inside the view first). In contrast with andrewj's VE, my plugin does not forget the data outside your view, so when you zoom back out (hint: press HOME for instant overview) you will still see what was computed there.

Bucket: Never noticed that. But I uploaded a new version of the plugin shortly after the DB2 patched version, so (although I didn't fix anything that could cause your machine to lock up) you could try downloading it again, who knows, maybe it downloads better this time :P

Old Post 06-04-12 21:27 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Kaiser
Doom64 Guru


Posts: 2858
Registered: 08-00


The plugin doesn't seem to work with Hexen. Keeps crashing whenever I try to switch to visplane explorer mode.

Old Post 07-01-12 21:55 #
Kaiser is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11072
Registered: 07-07


Maybe it's dependent on map format? Then it wouldn't work in Hexen, UDMF, or Doom64 format.

Old Post 07-01-12 23:44 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Kaiser
Doom64 Guru


Posts: 2858
Registered: 08-00


I haven't tried but does it work for zdoom hexen format?

Old Post 07-02-12 16:17 #
Kaiser is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3626
Registered: 05-00


It only works with classic Doom map format.

Old Post 07-02-12 16:41 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 12:30. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Small Doom Builder release for major new plugin

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is OFF
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.