[Coding] Smooth fluids

Post your example zscripts/ACS scripts/etc here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
LossForWords
Posts: 692
Joined: Fri Jan 13, 2017 9:08 pm

Re: [Coding] Smooth fluids

Post by LossForWords »

I think these water animations are very "fluid".

sorry.
User avatar
Slax
... in rememberance ...
Posts: 2121
Joined: Tue Oct 19, 2010 7:01 am
Location: Window office.

Re: [Coding] Smooth fluids

Post by Slax »

I'd like to make this compatible with BTSX. What do?
Replacing BTSX textures, maybe?


(WELL, I just read the BTSX posts. Man, I'm a dummy.)
User avatar
Armaetus
Posts: 1256
Joined: Fri Mar 13, 2009 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10 Home
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: New York State

Re: [Coding] Smooth fluids

Post by Armaetus »

This base work really should be uploaded over at /idgames/
User avatar
Rachael
Posts: 13782
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [Coding] Smooth fluids

Post by Rachael »

I've never uploaded /idgames/ before - honestly never really needed to. So I have no idea what I would have to do, there, and I am not even sure it's worth the effort.
Gez
 
 
Posts: 17933
Joined: Fri Jul 06, 2007 3:22 pm

Re: [Coding] Smooth fluids

Post by Gez »

It's basically a manual implementation of what ZDoomGL did, isn't it?
User avatar
4thcharacter
Posts: 1183
Joined: Tue Jun 02, 2015 7:54 am

Re: [Coding] Smooth fluids

Post by 4thcharacter »

GAA1992 wrote:Somehow this don't work for me :(

It starts flickering, like the animation doesn't finish, and starts over on a different position. Could it be my GZDoom?

Hi, I am having this similar problem as well when I tried it, on every versions that I have (which is the latest official build and the old but official build that was released along with the last ZDoom version, 1.9.1 I believe).
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3147
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain

Re: [Coding] Smooth fluids

Post by drfrag »

Same here, it's not smooth at all. I've used this to test and fix texture warp in ZDoom32 BTW (GL 1.9.1a). It's not smooth in GZDoom 2.4 either, i guess that's becouse my card doesn't support shaders and we're using software warping.
User avatar
Rachael
Posts: 13782
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [Coding] Smooth fluids

Post by Rachael »

Yeah there is no way I can support this. This was never meant to be run on the legacy OpenGL path. :( Sorry.

What you can do is edit the ANIMDEFS for each texture and remove the WARP2 definitions. That will make the textures simply fade from one to the next, but I don't think it will look very good.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49179
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Coding] Smooth fluids

Post by Graf Zahl »

drfrag wrote:i guess that's becouse my card doesn't support shaders and we're using software warping.
I guess that's a clear sign of the graphics hardware telling you "upgrade me, please!" :mrgreen:

Joking aside, it's inevitable that users of such old hardware will increasingly lose out on newly developed effects.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3147
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain

Re: [Coding] Smooth fluids

Post by drfrag »

A radeon hd 4670 and win 8.1 are waiting on another computer (core2 duo) but i still need to move a lot of stuff.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [Coding] Smooth fluids

Post by m8f »

Hi. This is smooth fluids mod for Back to Saturn X (E1 and E2). Mod contains no new graphics, only code.

BTSX fluids are now smooth, but I don't like their appearance, I just applied original smooth fluids concept to BTSX graphics. I could try to improve animations if I knew how to do it.
EmperorGrieferus
Posts: 123
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

I've played Doom 64 Ex.
Now I'm very inspired by its water effect.
How I can do this?
To explain, water textures are sliding in opposite directions perpendicular to each other.
User avatar
Rachael
Posts: 13782
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [Coding] Smooth fluids

Post by Rachael »

That is hard to do in GZDoom, but it is great when you pull it off. There's two ways: overlaying the textures with the TEXTURES lump or using stacked sectors to fake it.
EmperorGrieferus
Posts: 123
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

Rachael wrote:That is hard to do in GZDoom, but it is great when you pull it off. There's two ways: overlaying the textures with the TEXTURES lump or using stacked sectors to fake it.
Thank you.
Already did it.
Looks perfect.
EmperorGrieferus
Posts: 123
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

Rachael wrote:That is hard to do in GZDoom, but it is great when you pull it off. There's two ways: overlaying the textures with the TEXTURES lump or using stacked sectors to fake it.
https://drive.google.com/open?id=1_uczh ... 0vBz7-7UH5
This is mod where I added fluids.
Last edited by EmperorGrieferus on Tue Jan 28, 2020 12:59 pm, edited 1 time in total.

Return to “Script Library”