Author Topic: Simple 2 Hour Water Effect  (Read 17075 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Simple 2 Hour Water Effect
« Reply #20 on: October 11, 2009 »
Quote
Shockwave, are there limits to how many lines can be put inside the code tags

Shouldn't be any limits like that.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline dmitrinove

  • ZX 81
  • *
  • Posts: 10
  • Karma: 4
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #21 on: March 04, 2010 »
Hello,
  after see  your cool effect I have  tryed to do some experiment, in attach there is my work.
  the code is a bit messed-up due to differents algorithm used, anybody can play with #define and variables to try different solution.
  I truly appreciate any feedback or suggestion to improve my code.
  All code is pure C + win32 sdk without directx, c runtime library or any other dependency, so it's just 6kb exe without any dependency.
  Based on this code I have also build a little windows's screen-saver.

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #22 on: March 05, 2010 »
very good :)

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Simple 2 Hour Water Effect
« Reply #23 on: March 05, 2010 »
The screen-saver version is a little bit slow on my 1920x1080 desktop.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #24 on: March 05, 2010 »
Runs nice on my netbook, good fx!

Jim
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Simple 2 Hour Water Effect
« Reply #25 on: March 07, 2010 »
I really like that.
you should enter it into the liquid challenge, it's really good.
It runs nice and smooth here (admittedly I don't have the resolution Hellfire does), really good though.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline dmitrinove

  • ZX 81
  • *
  • Posts: 10
  • Karma: 4
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #26 on: March 07, 2010 »
Thanks to everybody,

@ Shockwave: I don't know of none liquid challenge, can You give me more info?
Have You tried the fluide.c code? If You change the BLUR_EFFECT, WATER_EFFECT, COLOR_DEPTH_EFFECT and  the variable renderQuality You can get different result, what do You prefer?

@ hellfire: 1920x1080 is really an huge resolution for a not hw accelerate effect, I think there isn't a solution (other to search for a better coder than me :-(), but anyway i see in the tinyPCT they have used the function StretchDIBits() instead of the function StretchBlt().
On my pc i don't see any difference performance with StretchDIBits(), but tomorrow I post a new version with StretchDIBits() to test it on your computer, if You want.

For everybody, why tinyPCT had used the StretchDIBits() and why for the vfw version they have used the LoadLibrary() instead of the classic vfw.lib import library? Is on some windows compiler  unavailable the vfw.lib library?

Thanks to everybody

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #27 on: March 08, 2010 »
The liquid challenge is the current themed dbf competition.

very impressive that dude  :D
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline gorgh

  • ZX 81
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Simple 2 Hour Water Effect
« Reply #28 on: June 14, 2011 »
impressive, I'm wondering if its possible to simplify it so it could be run on 8 bit machine
« Last Edit: June 14, 2011 by gorgh »

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: Simple 2 Hour Water Effect
« Reply #29 on: June 15, 2011 »
Actually, I think the C64 demo Soiled Legacy by Resource did it on the second disk. The water doesn't refract or smooth, but it's not chunky at least :) .
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won: