Massive GZDoom decal perversion aka portal gun
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.
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.
Massive GZDoom decal perversion aka portal gun
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.
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.
Re: Massive GZDoom decal perversion aka portal gun
And the hack of the century award goes to...
[PS song name?]
[PS song name?]
Re: Massive GZDoom decal perversion aka portal gun
The song doesn't have a meaningful name where I found it.
- Tormentor667
- Posts: 13533
- Joined: Wed Jul 16, 2003 3:52 am
- Contact:
Re: Massive GZDoom decal perversion aka portal gun
This is ...the fuck O_o?!
Re: Massive GZDoom decal perversion aka portal gun
Very impressive! Now all we need is floor decals
- Tormentor667
- Posts: 13533
- Joined: Wed Jul 16, 2003 3:52 am
- Contact:
Re: Massive GZDoom decal perversion aka portal gun
One question: Are the portals calculated realtime?
Re: Massive GZDoom decal perversion aka portal gun
Yup. But the player's sprite isn't rendered so it isn't noticeable. I blame Graf.
- 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
Works fine here using the latest GZDoom devbuild.ZZYZX wrote:Yup. But the player's sprite isn't rendered so it isn't noticeable. I blame Graf.
- Tormentor667
- Posts: 13533
- Joined: Wed Jul 16, 2003 3:52 am
- Contact:
Re: Massive GZDoom decal perversion aka portal gun
Dafuq, don't tell Cutmanmake... didnt he make the portal mapset?
- 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
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.Tormentor667 wrote:Dafuq, don't tell Cutmanmake... didnt he make the portal mapset?
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Massive GZDoom decal perversion aka portal gun
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.ZZYZX wrote:I blame Graf.
Of course this particular problem has been fixed for a few revisions already.
Re: Massive GZDoom decal perversion aka portal gun
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:
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
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Massive GZDoom decal perversion aka portal gun
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.
Re: Massive GZDoom decal perversion aka portal gun
Too cool! I should be using this for a map I have planned; "Lost in Space"
Kudos!!!!!!!!
Kudos!!!!!!!!