[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
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Coding] Smooth fluids

Post by Rachael »

That link got cut off. It wasn't copy-pasted properly.
EmperorGrieferus
Posts: 108
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

Rachael wrote:That link got cut off. It wasn't copy-pasted properly.
Sorry, my mistake.
EmperorGrieferus
Posts: 108
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

Rachael wrote:That link got cut off. It wasn't copy-pasted properly.
I know, this is not the most suitable topic.
Is it possible to add wider sky textures separately for each IWAD in GZDoom 2.4.0?
User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Coding] Smooth fluids

Post by Rachael »

https://zdoom.org/wiki/Lump_filtering

If it doesn't work, then that version is just too old, and sorry I can't help you there :(
EmperorGrieferus
Posts: 108
Joined: Wed May 31, 2017 5:39 am

Re: [Coding] Smooth fluids

Post by EmperorGrieferus »

Rachael wrote:https://zdoom.org/wiki/Lump_filtering

If it doesn't work, then that version is just too old, and sorry I can't help you there :(
I mean, I have sky textures from Zagemod sized 1024 by 128 pixels.
They already filtered.

And then I realized that I had raised question incorrectly.
User avatar
Lagi
Posts: 676
Joined: Sat Jun 23, 2018 12:51 pm
Location: Thou shalt alter thy beliefs with new evidence

Re: [Coding] Smooth fluids

Post by Lagi »

Hi, I would like to use smooth fluids with Neural textures for Heretic.

this two together produce bad effects on fluids (water,lava,magma..), although separate each of them are amazing.

could you please be willing to produce a tweak to the smooth fluids code to allow it work with Neural textures flats?

User avatar
Rachael
Posts: 13530
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Coding] Smooth fluids

Post by Rachael »

It's a bit crazy that GZDoom provides absolutely no way that this can be handled automatically.

I'll work on it when I have some extra time.
User avatar
Lagi
Posts: 676
Joined: Sat Jun 23, 2018 12:51 pm
Location: Thou shalt alter thy beliefs with new evidence

Re: [Coding] Smooth fluids

Post by Lagi »

solution to have fluids with Neural Hi resoultion textures:

add in textures... files size of flats as per the size os Hi Res textures: f.ex. vanilla heretic FLTWAWA1 is 64x64, replacemnet HR texture is 224x224 => set flat size in Rachel files to 224,224.

and in brackets put XScale and Y scale in above case 3.5 [224/64 = 3.5]


Spoiler: texture.FLAT_Water
Kazudra
Posts: 126
Joined: Mon May 25, 2015 10:52 am

Re: [Coding] Smooth fluids

Post by Kazudra »

Lagi wrote:solution to have fluids with Neural Hi resoultion textures:

add in textures... files size of flats as per the size os Hi Res textures: f.ex. vanilla heretic FLTWAWA1 is 64x64, replacemnet HR texture is 224x224 => set flat size in Rachel files to 224,224.

and in brackets put XScale and Y scale in above case 3.5 [224/64 = 3.5]


Spoiler: texture.FLAT_Water

It's better to export those frames and place in a "Hires" folder; Smooth hires liquids will eat performance.
User avatar
Lagi
Posts: 676
Joined: Sat Jun 23, 2018 12:51 pm
Location: Thou shalt alter thy beliefs with new evidence

Re: [Coding] Smooth fluids

Post by Lagi »

what you mean?

the hiRes water was[is] malfunctioning with Rachel liquid script.
if I use vanilla low frames, there is no issue.
Spoiler:
NotTheTime
Posts: 1
Joined: Wed Aug 30, 2023 8:51 pm
Preferred Pronouns: He/Him

Re: [Coding] Smooth fluids

Post by NotTheTime »

Fluids in newer versions of gzdoom are flashing, is there a solution?
Attachments
2024-01.gif
2024-01.gif (51.76 KiB) Viewed 495 times
Last edited by NotTheTime on Fri Jan 12, 2024 9:24 am, edited 1 time in total.
Post Reply

Return to “Script Library”