[Won't fix] BSP generator display bugged

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

BSP generator display bugged

Post by Hirogen2 »

When the BSP tree is generated, it happens that the process is completed even though it shows like 20%. IIRC, this happened with ge1-sso.wad.
Mighty Duck X-treme
Posts: 272
Joined: Tue Jul 15, 2003 5:48 pm
Location: Chesterfield, Missouri

Post by Mighty Duck X-treme »

*DELETED BECAUSE IT WAS USELESS ADVICE*
Last edited by Mighty Duck X-treme on Sat Jul 19, 2003 10:13 am, edited 2 times in total.
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: BSP generator display bugged

Post by randi »

Hirogen2 wrote:When the BSP tree is generated, it happens that the process is completed even though it shows like 20%.
The node building is slower at first and gets faster as it goes along and has fewer segs to place. Also, for speed reasons, the screen does not update everytime the progress bar moves.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Re: BSP generator display bugged

Post by Hirogen2 »

Yeah. When I tried to implement a progress bar for DoomBSP, I had similar problems -- however glBSP has a working progress thing :D you could take a look at it!
(If the progress bar is not linear-accurate, then it is useless, IMO.)
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

I think this minor. Maybe later.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Is the number of nodes possibly known in advance?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Sorry for bumping, but:
ZDBSP seems to do it correctly, half the way.
1. It runs "linear" from 0 to 100, with exception (2.), not instantly jumping
from say 20 to 100 (like stated above)
2. The process indicator sometimes runs a bit backwards, then forwards again. I
presume that is so that it does reach 100% not 110% or so.
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

1. The only difference between ZDoom's and ZDBSP's progress indicators is that ZDBSP updates it much more frequently than ZDoom. ZDBSP can afford to update the progress indicator more frequently because writing a line to the console is a lot faster than doing a screen update. If ZDoom updated the indicator as frequently as ZDBSP, it would be much slower.

2. The progress indicator is calculated as the number of segs placed in subsectors divided by the total number of segs. If a large number of segs are added in one step, this can make the progress indicator regress.
Post Reply

Return to “Closed Bugs [GZDoom]”