PSX Flaming Sky

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Re: PSX Flaming Sky

Postby Nash » Wed Jan 02, 2019 12:48 pm

phantombeta wrote:
Hi.
OH GOD NO, NOT THE HACKS


That's both impressive and terrifying. o_O
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: PSX Flaming Sky

Postby Graf Zahl » Wed Jan 02, 2019 12:51 pm

WTF???

I hope nobody ever considers this for use in a real mod...
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: PSX Flaming Sky

Postby Enjay » Wed Jan 02, 2019 2:47 pm

That's... That's... :shock:

I mean, it's impressive but it could also be one of the grossest gross hacks ever. :lol:
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: PSX Flaming Sky

Postby Rachael » Wed Jan 02, 2019 3:29 pm

Graf Zahl wrote:WTF???

I hope nobody ever considers this for use in a real mod...


Well I can't speak for anyone here, but it is my belief that if an alternative isn't provided, the hack will be used instead, and it will end up in a mod. You know you and I agree on like ... 95% of stuff... but this is the 5% where I have to say, performance killer or not, GZDoom could benefit from this, no matter how it's implemented - even if it is GLSL only.

Now, I am not saying you have to do this, or support it if it's done. But I am saying - if a feature is wanted badly enough and no support is provided for it, it usually ends up being done anyway in the form of such hacks.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: PSX Flaming Sky

Postby Gez » Wed Jan 02, 2019 3:42 pm

Okay, so, this is done through a camera texture, with the camera looking at a "canvas" made of 4096 separate one-unit-square sectors that serve as individual texels.

That's a terrifying hack. It's kinda beautiful, in a horrible way. I can't wait for this to be done in pure ACS so that it works on Zandronum too.
Gez
 
 
 
Joined: 06 Jul 2007

Re: PSX Flaming Sky

Postby gramps » Wed Jan 02, 2019 3:47 pm

Hmm, wouldn't it be possible to avoid sector hack by hudmessaging a camera thing some "pixels" (colored with the font colorer?) and then setcameratotexture?

Or not hudmessage, but that other thing that prints stuff on the screen, that I can't remember the name of?
gramps
 
Joined: 18 Oct 2018

Re: PSX Flaming Sky

Postby Caligari87 » Wed Jan 02, 2019 3:50 pm

gramps wrote:Hmm, wouldn't it be possible to avoid sector hack by hudmessaging a camera thing some "pixels" (colored with the font colorer?) and then setcameratotexture?

Or not hudmessage, but that other thing that prints stuff on the screen, that I can't remember the name of?

congratulations, you just invented scripted textures, which was what this thread was discussing in the first place. :laff:

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: PSX Flaming Sky

Postby gramps » Wed Jan 02, 2019 3:52 pm

So... you're saying that won't work, printing stuff on the screens of cameras?
gramps
 
Joined: 18 Oct 2018

Re: PSX Flaming Sky

Postby Caligari87 » Wed Jan 02, 2019 3:54 pm

Have not tried, but I kind of doubt it. If it does work, then yes, that would be another (only slightly-less hacky) way of doing something like this.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: PSX Flaming Sky

Postby Rachael » Wed Jan 02, 2019 3:56 pm

If that was currently possible people would be doing it, I can promise you that.

Camera textures are pretty much the equivalent of the world view that gets drawn before the weapon sprite is put on the screen.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: PSX Flaming Sky

Postby gramps » Wed Jan 02, 2019 4:21 pm

Heh, didn't realize this was such a wanted feature.

I wonder how explicit support for this would work? A new class of camera thing might make sense, then you could use all the existing cameratexture stuff. The new camera thing wouldn't really be a camera at all, it would be tied to a zscript actor with a pixel buffer and some methods to manipulate it, and maybe another virtual method to update everything, like Tick but it would only be called when the camera texture is visible.
gramps
 
Joined: 18 Oct 2018

Re: PSX Flaming Sky

Postby Rachael » Wed Jan 02, 2019 4:38 pm

It's been wanted for a very long time now, and I only see the desire for it increasing as time goes on. If this feature request goes unanswered, I do honestly expect that the hacky methods like the camera texture will make its way into mainstream, if not now, at least eventually at any rate.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: PSX Flaming Sky

Postby Marisa Kirisame » Wed Jan 02, 2019 4:40 pm

gramps wrote:A new class of camera thing might make sense, then you could use all the existing cameratexture stuff. The new camera thing wouldn't really be a camera at all, it would be tied to a zscript actor with a pixel buffer and some methods to manipulate it, and maybe another virtual method to update everything, like Tick but it would only be called when the camera texture is visible.


So... basically what Unreal Engine 1's ScriptedTexture (the texture itself) and ClientScriptedTexture (the actor painting to the texture each tick) classes already do?
User avatar
Marisa Kirisame
ZScript Magician
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
Graphics Processor: nVidia with Vulkan support

Re: PSX Flaming Sky

Postby Graf Zahl » Wed Jan 02, 2019 4:43 pm

Rachael wrote:It's been wanted for a very long time now, and I only see the desire for it increasing as time goes on. If this feature request goes unanswered, I do honestly expect that the hacky methods like the camera texture will make its way into mainstream, if not now, at least eventually at any rate.


That doesn't change the fact that such a texture is a first grade performance killer that pretty much defeats any attempt at render optimization for a map using it, not to mention that such a grid may cause the node builder to output bad nodes.

Actually, the most important thing of what would be needed is already there. The camera textures provide the needed infrastructure to create such textures so what needs to be done is a way to define what source data they use for rendering and a shader.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: PSX Flaming Sky

Postby Rachael » Wed Jan 02, 2019 4:48 pm

Graf Zahl wrote:not to mention that such a grid may cause the node builder to output bad nodes.

Actually - it quite literally did that, when the grid was expanded to 256x128, if I understood Phantom correctly.

Graf Zahl wrote:Actually, the most important thing of what would be needed is already there. The camera textures provide the needed infrastructure to create such textures so what needs to be done is a way to define what source data they use for rendering and a shader.

This was the idea I had when I originally conceived of the idea way back when. I just never got around to it. :(
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

PreviousNext

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest