flat assembler
Message board for the users of flat assembler.

Index > Windows > water effect

Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 822
Ali.Z 11 May 2024, 06:23
there was some water effect example on board iirc it had some sort of ripples or waves effect, but i cannot seem to find it.

if anyone remember, then please post a link.

_________________
Asm For Wise Humans
Post 11 May 2024, 06:23
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4249
Location: vpcmpistri
bitRAKE 11 May 2024, 12:49
Post 11 May 2024, 12:49
View user's profile Send private message Visit poster's website Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 822
Ali.Z 12 May 2024, 19:01
nope, see attachment.

after half an hour or so of reversing, i found the algorithm used in the demo; will create a fasm demo whenever i find time.

i know for sure something similar was posted, or at least mentioned or linked to external source in asm. (likely it is fasm not masm)


Description:
Filesize: 211.57 KB
Viewed: 2098 Time(s)

Untitled.png



_________________
Asm For Wise Humans
Post 12 May 2024, 19:01
View user's profile Send private message Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 822
Ali.Z 14 May 2024, 03:38
after another half an hour or so, i understood most of the functions.

i also spent another hour on a different software that has same effect, compared the code for both software, and their code was 90% identical.

so i figured out it is probably well known algorithm, and yes it is 25 years old.
(1999)
http://freespace.virgin.net/hugo.elias/graphics/x_water.htm
requires wayback machine.

the two software as i mentioned have very identical code and flow, both are very likely based on this open source project.
https://github.com/TortoiseGit/TortoiseGit/blob/master/src/Utils/MiscUI/WaterEffect.cpp
(i really dont like how they stole it and copyright it under their name, F* Mad who cares anyway)

and this project is based on at minimum 3-4 other sources i have digged from 1999-2001.

based on what i have, the original source code (which every other water effect is based on) is MFC cpp from 1999 then ported to pascal less than 1 month later.

and everyone else made their own unique version apparently, i mean like most variations change 3-5 lines of code at most, rarely more than that.

_________________
Asm For Wise Humans
Post 14 May 2024, 03:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.