GZDB plugin: 3D floor mode

Software projects like source ports (3DGE, Eternity, etc), launchers like ZDL, and other useful utilities belong in this forum.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: GZDB plugin: 3D floor mode

Postby boris » Sat Feb 25, 2017 6:40 am

Kappes Buur wrote:Do you have a binary which I can try? :)

I put up a new release: https://github.com/biwa/3dfloormode/releases/tag/v0.2.2

Changes:

  • Fixed some crashes (by Xabis)
  • When creating new 3D floor, the destination sector's heights are taken into account for the default 3D floor heights (by Xabis)
  • Visibility improvements when cycling through 3D floors (by Xabis)
  • Fixed slope vertex dragging problems (slope vertices now snap to the grid as expected) (by Xabis)
  • Labels in Slope Mode now show "B" and "T" to indicate sloped 3D floors
  • Implemented option to create the slope data sector in the CSA
  • Option to reposition SVG when dragging sectors works again
boris
I post less than Manc and Hobo
 
Joined: 15 Jul 2003

Re: GZDB plugin: 3D floor mode

Postby Kappes Buur » Sun Feb 26, 2017 5:02 pm

Very nice indeed. Thank you.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

Re: GZDB plugin: 3D floor mode

Postby Xabis » Thu Mar 02, 2017 7:32 pm

Thanks Boris for the new functionality.

My only concern with the slope labels is it can get a bit spammy when you have a floor crossing many sectors.
In the below example, the under-carriage of the 3d steps is a smooth slope:
labels.jpg
example
Xabis
 
Joined: 06 Mar 2013

Re: GZDB plugin: 3D floor mode

Postby boris » Fri Mar 03, 2017 6:07 pm

Yeah, I know. Any suggestions to improve it? Maybe options to show the labels only under certain conditions (never/only when highlighted/always...)?
boris
I post less than Manc and Hobo
 
Joined: 15 Jul 2003

Re: GZDB plugin: 3D floor mode

Postby boris » Sat Mar 04, 2017 1:14 pm

Ok, I added options to configure when the labels are displayed. It can be configured in Tools -> Preferences -> 3D Floor Plugin.

Also put up a new version: https://github.com/biwa/3dfloormode/releases/tag/v0.2.3

Changes:

  • Lines connecting slope vertices and now highlighted when a slope vertex is highlighted
  • An undo step is created when accepting an option in the slope data sector dialog
  • Slope Mode and Draw Slope Mode are now properly canceled when pressing the cancel button in the slope data sector dialog
  • The position of the CSA is now always saved, not only after disengaging 3D Floor Mode
  • Input fields in the 3D floor editing dialog are now drawn properly
  • Added options to configure when labels for slope vertices and sectors are shown in Slope Mode (always, never, when a slope vertex is highlighted). This can be configured in Tools -> Preferences -> 3D Floor Plugin
boris
I post less than Manc and Hobo
 
Joined: 15 Jul 2003

Re: GZDB plugin: 3D floor mode

Postby Xabis » Tue Mar 07, 2017 7:45 pm

Thanks for the updates.

To be honest, I was expecting to only see the labels for the slope that was being highlighted with the "on slope vertex highlight" mode enabled, instead of everything.

boris wrote:Any suggestions to improve it?

If you recall, one of my earlier patches added the C/F directly to the slope line when that line was being highlighted. Maybe if it only applied to a slope line of a 3d floor it might be useful for this type of display? Your call, of course.
Xabis
 
Joined: 06 Mar 2013

Re: GZDB plugin: 3D floor mode

Postby boris » Wed Mar 08, 2017 3:48 am

Xabis wrote:To be honest, I was expecting to only see the labels for the slope that was being highlighted with the "on slope vertex highlight" mode enabled, instead of everything.

Doh! Of course the intention was to only show the labels for the highlighted slope, and not for all. Commit a patch to the repository (but no binary available).

Xabis wrote:
boris wrote:Any suggestions to improve it?

If you recall, one of my earlier patches added the C/F directly to the slope line when that line was being highlighted. Maybe if it only applied to a slope line of a 3d floor it might be useful for this type of display? Your call, of course.

I guess it could be added as an option. I'll look into it again.
boris
I post less than Manc and Hobo
 
Joined: 15 Jul 2003

Re: GZDB plugin: 3D floor mode

Postby Bruno Sá de Araújo » Wed Jan 17, 2018 5:24 pm

Hey there! I'm new at the forum (I've created my account today) and I'm currently working in GZDoom Builder for some personal projects, and your plugin is exactly what I was looking for!
However, for some reason, I select the sector and try to draw a slope, and it doesn't work. I don't know if I'm missing something or it has something to do with the verson of the software that I'm using.

My currently version of GZDoom Builder is the official release 2.3.0.2787
My SO is Windows 10 (Just in case it has something to do with the Open GL, or the Drivers, or with the major updates that Microsoft is doing that is messing up with everything)
Bruno Sá de Araújo
 
Joined: 17 Jan 2018
Discord: #6972

Re: GZDB plugin: 3D floor mode

Postby Kappes Buur » Thu Jan 18, 2018 9:11 am

Bruno Sá de Araújo wrote:... stuff


GZDB / GZDBBF work from XP on, so the operating system should be no problem, just make sure
that you have the Required software installed. Your hardware, though, may be a different story.

As to how to slope the 3D sector with boris's 3D plugin version v0.2.3:

User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

Re: GZDB plugin: 3D floor mode

Postby Dudweiser » Sat Feb 10, 2018 6:33 pm

I followed the instructions exactly in the above video but it appears to have no affect whatsoever on the ceiling. Any idea what I'm doing wrong?
Dudweiser
 
Joined: 08 Jan 2018

Re: GZDB plugin: 3D floor mode

Postby Kappes Buur » Sat Feb 10, 2018 7:40 pm

Dudweiser wrote:I followed the instructions exactly in the above video but it appears to have no affect whatsoever on the ceiling. Any idea what I'm doing wrong?

With you giving that much information all I can suggest is ... try again.
Or if you actually want help with this, then more information is required (screenshots, map, or video)
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

Re: GZDB plugin: 3D floor mode

Postby Dudweiser » Sat Feb 10, 2018 9:51 pm

I tried again and made a entirely new sector and it worked flawlessly when not joined onto any other sectors, but when I tried the exact same method to an existing sector all hell broke lose and it actually made GZ builder unloadable for 25 mins so I gave up lol. Managed to revert back not quite sure what the difference is Im jist sticking to slopeless 3D sectors they work perfectly no problems
Dudweiser
 
Joined: 08 Jan 2018

Re: GZDB plugin: 3D floor mode

Postby Xabis » Thu Feb 15, 2018 8:18 pm

In the latest code, there is a bug introduced with the duplicate button, where pressing the button does not appear to make the floor controls. Here is a quick fix:

EDIT: I will submit a pull request with some other QOL enhancements shortly.
Xabis
 
Joined: 06 Mar 2013

Re: GZDB plugin: 3D floor mode

Postby Xabis » Fri Feb 16, 2018 6:28 pm

Submitted PR #3:

Fixes:
* The duplicate button will now behave as expected
* If you delete a slope from a sector, it will not orphan other bound slopes. For example, if a sector has both a floor and a ceiling slope, and you remove only the floor, the ceiling will now remain attached, whereas before it would unbind.
* Did some housekeeping with the vs project: the output path should be relative and not use a hard coded path, this is in line with the other plugins paths. Also, the builder ref should never be allowed to copy, as it will incorrectly dump the exe and dlls into the plugins directory, which gzdb will complain about.

QOL changes:

* If multiple slope handles are positioned at the SAME location, only one single label per z-height will be shown. This is a de-duplication. Labels start to get out of hand fast with multiple slopes adjacent to each other, so this is a way to cut down on visual noise. Example:
dedupe.png
dedupe.png (9.5 KiB) Viewed 200 times

* It is now possible to cycle through slope handles that are placed at the same location, by using the cycle 3d floor keys. It gets annoying having to drag out handles to get to one that is buried. Now you can just flip through them with a key.
Xabis
 
Joined: 06 Mar 2013

Re: GZDB plugin: 3D floor mode

Postby Kappes Buur » Mon Mar 19, 2018 2:50 am

Xabis wrote:QOL changes:[/b]
* If multiple slope handles are positioned at the SAME location, only one single label per z-height will be shown. This is a de-duplication. Labels start to get out of hand fast with multiple slopes adjacent to each other, so this is a way to cut down on visual noise.


Exactly what happened here:

Spoiler:


Is there a download link for the plugin with your fix?
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia

PreviousNext

Return to Software and Ports

Who is online

Users browsing this forum: No registered users and 1 guest