Massive GZDoom decal perversion aka portal gun

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
ZZYZX
 
 
Posts: 1384
Joined: Sun Oct 14, 2012 1:43 am
Location: Ukraine
Contact:

Massive GZDoom decal perversion aka portal gun

Post by ZZYZX »

subj.


http://www.mediafire.com/download/8y0j9 ... talgun.pk3

It's overall unfinished and probably wont be finished hence posted here and not in projects.
Whoever wants it can steal and use it.

Also it works in software, but would require two different sets of decals (flipy for GZDoom, and without flipy for software).
There's as well something really weird going on with FOV in software.
Also the player's sprite doesn't get rendered for whatever reason, even with enabled chasecam.

Also important thing. I haven't tried, but it might be possible to use cameratexture as a material for a model. At least IIRC models use the same texture subsystem as every other graphic in the game except sprites.
This way you could make the portal round and also put portals on floors/ceilings. I can't verify nor try this because I'm so shit at modelling that I can't even do a simple triangle fan aka oval.

I tried and it DOES NOT work. RIP proper portals.
Last edited by ZZYZX on Fri Jul 15, 2016 3:25 pm, edited 7 times in total.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Nash »

And the hack of the century award goes to...

[PS song name?]
User avatar
ZZYZX
 
 
Posts: 1384
Joined: Sun Oct 14, 2012 1:43 am
Location: Ukraine
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by ZZYZX »

The song doesn't have a meaningful name where I found it.
User avatar
Tormentor667
Posts: 13533
Joined: Wed Jul 16, 2003 3:52 am
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Tormentor667 »

This is ...the fuck O_o?!
User avatar
wolfboyft
Posts: 15
Joined: Fri Jul 01, 2016 4:33 am
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by wolfboyft »

Very impressive! Now all we need is floor decals :D
User avatar
Tormentor667
Posts: 13533
Joined: Wed Jul 16, 2003 3:52 am
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Tormentor667 »

One question: Are the portals calculated realtime?
User avatar
ZZYZX
 
 
Posts: 1384
Joined: Sun Oct 14, 2012 1:43 am
Location: Ukraine
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by ZZYZX »

Yup. But the player's sprite isn't rendered so it isn't noticeable. I blame Graf.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Kinsie »

ZZYZX wrote:Yup. But the player's sprite isn't rendered so it isn't noticeable. I blame Graf.
Works fine here using the latest GZDoom devbuild.

Image
User avatar
Tormentor667
Posts: 13533
Joined: Wed Jul 16, 2003 3:52 am
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Tormentor667 »

Dafuq, don't tell Cutmanmake... didnt he make the portal mapset?
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by Cutmanmike »

Tormentor667 wrote:Dafuq, don't tell Cutmanmake... didnt he make the portal mapset?
I made a portal mod but it had very little to do with the real Portal... or portals in general (it was more of a teleporter gun). It's also very dated. You would be better off making some new maps instead of using mine.

I remember asking for cameratextures on decals a long long time ago to try and achieve portals like this too but I didn't think it ever came about.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Massive GZDoom decal perversion aka portal gun

Post by Graf Zahl »

ZZYZX wrote:I blame Graf.
I blame the incredibly bad camera interpolation code which was a complete nightmare to adjust for portals. Have some fun looking at the shit I had to do in there in order to make it work.
Of course this particular problem has been fixed for a few revisions already.
User avatar
ZZYZX
 
 
Posts: 1384
Joined: Sun Oct 14, 2012 1:43 am
Location: Ukraine
Contact:

Re: Massive GZDoom decal perversion aka portal gun

Post by ZZYZX »

Fixed the portals a bit so that the odd bug at video's 0:58 is gone (player now always gets teleported in the right direction).
Also fixed software in my mod. But not like it looks good there:
Spoiler:
Both the FOV (which apparently assumes the texture is always square, instead of using actual proportions) and the particle projection are horribly broken in the current dev build of GZ (1814). The player's sprite rendering in OGL indeed got fixed though :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Massive GZDoom decal perversion aka portal gun

Post by Graf Zahl »

ZZYZX wrote: Both the FOV (which apparently assumes the texture is always square, instead of using actual proportions) and the particle projection are horribly broken in the current dev build of GZ (1814).

In that case, please post a bug report, along with a demo WAD so it can be fixed when I find some time to work on the code. Otherwise it will most likely fall through the cracks.
User avatar
NGX
Posts: 123
Joined: Sat Jun 14, 2014 12:17 pm

Re: Massive GZDoom decal perversion aka portal gun

Post by NGX »

Too cool! I should be using this for a map I have planned; "Lost in Space" :)

Kudos!!!!!!!!
Locked

Return to “Editing (Archive)”