-
-
Notifications
You must be signed in to change notification settings - Fork 126
Map editor 3d floors support in 3d mode #1358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some unrelated changes were ignored but hopefully I haven't missed anything important Seems to work ok for the most part, at least for basic, solid 3d floors (swimmable/transparent ones are another matter, plenty of bugs there) I've also added the cvar 'map_process_3d_floors' which will enable/disable 3d floor processing
|
EDIT: Fixed with below commit b6c959a
|
…ray (#1376) The array was being used uninitialized causing random crashes
…the control sector (#1381) It was actually being forwarded to the target sector from the control sector, causing ambiguous issues like when you changing the 3d floor height/textures you were changing the ones in the sector it was over instead.
|
Any chance of this ever making it in? |
Hmm well I doubt it will be finished (ie. all bugs fixed) any time soon, but as I mentioned in the description I guess it could be added as-is but disabled by default, with a warning that it's incomplete/buggy when enabling it. |
In the Map Editor > 3d Mode preferences page Also changed the cvar to be false by default
|
Would it be better to have this as a draft?
I think having it as an opt-in beta feature in the main branch builds would make it more accessible for testers, and potentially energize the bug finding and fixing process. |
|
Since this PR, the 3d mode crashes on macOS. Even with 3d floors disabled I'll try to find the problem tomorrow, but here's the crash if you know how to fix |
This is an adaptation of #966 to work with the current code base. All of the WIPs/issues in @eevee's comment there still apply.
From the small amount of testing I have done so far, it seems to work ok enough for basic, solid 3d floors at least. Swimmable/transparent 3d floors have quite a few bugs on the other hand, not sure if I've introduced them during the adaptation process or if they were there in the old branch.
So yeah this definitely isn't ready for a proper release just yet, and likely needs a bunch of work to get up to scratch. I've added a cvar to enable/disable 3d floors processing so it could potentially be released as an 'experimental' feature that is off by default or something.
And of course if anyone wants to have a go at fixing all the issues with it and/or adding the missing features, feel free :P