[Added] Wall portals

Moderator: GZDoom Developers

Re: Wall portals

Postby Gez » Sun Nov 16, 2014 4:37 pm

Hey, it's been a week since the last update, any news?

I tried the latest build on Mediafire, and the mirror freeze is back.

Image

(Also just noticed the date on the title bar.)

Also here's an updated test map. Nothing really new, I just put a couple 3D translucent floors in there to see how they work. I was perverse enough to put one of the path of a polyobject portal, ahah. Mostly I fixed the 3D floor lift in the disco room's polyportal.
You do not have the required permissions to view the files attached to this post.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Wall portals

Postby ZZYZX » Thu Nov 20, 2014 6:42 am

Gez wrote:Hey, it's been a week since the last update, any news?

The two problems that I'm trying to solve right now are the crash and moving polyobjects.
The crash — I still didn't get it to happen in debug mode, and no idea if it's due to the debug binary and VC++ debugger itself (memory is initialized differently there, AFAIK) or simply because the crash is random.
Moving polyobjects — when you slowly walk out of a portal in your moving 3D floor lift, you get stopped (i.e. player's velocity simply gets nulled). Even if the poly isn't moving at the moment. I know definitely that this isn't caused by FPolyObj::PushMobj nor P_TryMove, and it causes weird bugs with entering a moving portal (basically, you enter your lift, walk out in the same direction that the lift is moving in, your velocity becomes 0 and you get noclipped behind the portal surface due to P_PointOnLineSide saying 1 (behind the portal line), since the portal has already moved and you weren't thrown out of it as it should be).
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: Wall portals

Postby SyntherAugustus » Tue Dec 02, 2014 9:34 am

This is really neat. Keep up the good work!
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003

Re: Wall portals

Postby kevans91 » Mon Dec 08, 2014 11:18 am

ZZYZX wrote:
Gez wrote:Hey, it's been a week since the last update, any news?

The two problems that I'm trying to solve right now are the crash and moving polyobjects.
The crash — I still didn't get it to happen in debug mode, and no idea if it's due to the debug binary and VC++ debugger itself (memory is initialized differently there, AFAIK) or simply because the crash is random.
Moving polyobjects — when you slowly walk out of a portal in your moving 3D floor lift, you get stopped (i.e. player's velocity simply gets nulled). Even if the poly isn't moving at the moment. I know definitely that this isn't caused by FPolyObj::PushMobj nor P_TryMove, and it causes weird bugs with entering a moving portal (basically, you enter your lift, walk out in the same direction that the lift is moving in, your velocity becomes 0 and you get noclipped behind the portal surface due to P_PointOnLineSide saying 1 (behind the portal line), since the portal has already moved and you weren't thrown out of it as it should be).


You may be able to reproduce the crash by compiling with an /RTC option (s, u, or 1) to turn off initialization of uninitialized local variables -- that may help.
kevans91
 
Joined: 16 Sep 2014

Re: Wall portals

Postby Tormentor667 » Thu Dec 11, 2014 5:47 am

I really can't wait to see this in the next official release or svn release ... this keeps me really thinking about doing a few new maps for Doom again :)
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Re: Wall portals

Postby StrikerMan780 » Sat Dec 13, 2014 12:33 am

^ I hear you, this is pretty fantastic stuff, and opens up a whole new plethora of possibilities.
User avatar
StrikerMan780
Struggling but getting by. For now.
 
Joined: 29 Nov 2005
Discord: StrikerTheHedgefox#6299
Github ID: StrikerMan780
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Wall portals

Postby Major Cooke » Tue Dec 16, 2014 10:41 am

I'm actually somewhat interested in contributing to this project, but the only problem is, I'm not that great of a coder.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: Wall portals

Postby ZZYZX » Tue Dec 16, 2014 11:01 am

I found a nice video about OpenGL mirror back side clipping (hey GZ, I heard you were telling people to use GZDoom clipping code in software, right? :D )
https://www.youtube.com/watch?v=ioL7Zi9CRwg

Meanwhile the portal code is getting fixed... Whoever is curious about the progress, see the "current status" part in the first post.

also wat
Major Cooke wrote:the only problem is, I'm not that great of a coder
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: Wall portals

Postby Major Cooke » Tue Dec 16, 2014 11:12 am

Contributing code, you know? I would love to help with the coding if I wasn't so terrible with it. So if anything I figured I'd help test the daylights out of it instead and report anything broken like what gez has been doing.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: Wall portals

Postby ZZYZX » Tue Dec 16, 2014 11:14 am

Major Cooke wrote:Contributing code, you know? I would love to help with the coding if I wasn't so terrible with it. So if anything I figured I'd help test the daylights out of it instead and report anything broken like what gez has been doing.

I understood that part, I just didn't understand what's so bad about the code that you posted :)

Right now, I'm not sure if anything could be done (since the old code is abandoned and it's not yet ported [where possible] into the new branch), but after that I'm looking for people who could write or at least help writing sound repeating code (i.e. to make same sound appear from multiple coordinate sets) and monster sight code. That's totally not done yet, not even in the original branch.
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: Wall portals

Postby Major Cooke » Tue Dec 16, 2014 11:16 am

Graf pretty much redid my Pick submission because it was a memory leak. And you don't need memory leaks from me. >.>

Well, I could try and take a look at replicating the thing you need for playing sounds again through portals. Just don't hold your breath. :P
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: Wall portals

Postby Gez » Tue Dec 16, 2014 11:35 am

A few suggestion:

  • I'd take line id from args[4] rather than args[1], so that it's kind of out of the way in UDMF.
  • Don't forget that Eternity has its own separate xlat file
  • Update the thread more often, just so we know you haven't been shelled when there's no new update for over a month...
Gez
 
 
 
Joined: 06 Jul 2007

Re: Wall portals

Postby ZZYZX » Tue Dec 16, 2014 1:36 pm

Gez wrote:I'd take line id from args[4] rather than args[1], so that it's kind of out of the way in UDMF.

it's already that way (although I'll probably move the identifier position to the last arg once I'm sure which exactly arg is the last)
Gez wrote:Don't forget that Eternity has its own separate xlat file

Don't forget that eternity.txt is not used by default in any way, and this particular special doesn't conflict with ZDoom's normal functioning so IMO it's okay to put it in the global file.
Gez wrote:Update the thread more often, just so we know you haven't been shelled when there's no new update for over a month...

You know, 2 days ago I wasn't sure myself if I'm shelled :) The amount of critical esoteric bugs was too high (2, and yes, that's high).
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: Wall portals

Postby Gez » Tue Dec 16, 2014 2:10 pm


I know, but I have some Eternity mods where I've put a ZMAPINFO lump so that they'll load the Eternity translator. It'd be nice to suddenly find out that OPF's skybox works, for example.

There is no drawback to updating the eternity xlat, is what I'm saying.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Wall portals

Postby Major Cooke » Fri Jan 02, 2015 6:33 pm

Anything new on this, by the way?
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

PreviousNext

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest