Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: animated water texture (for mode 8)
dom cook
Div Pro
******




Posts: 368
Registered: 4-3-2016
Member Is Offline


[*] posted on 15-12-2016 at 01:59 PM
animated water texture (for mode 8)


Here's one that Bread Caster might be interested in!
The screen shot is showing four tiles of a seamless animated water surface texture.
This code could easily be extended to "bake" a water animation texture which could then be put into a mode8 fpg file.
It can be tweaked to vary the style too. for example raindrops of slightly choppy waters.




raindrops.png - 5kB

Don't let this image put you off. It's all about fluid movement which a still won't capture.
Just download it.

Attachment: water_tex01.PRG (3kB)
This file has been downloaded 738 times

[Edited on 15-12-2016 by dom cook]
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 15-12-2016 at 05:21 PM


This is very cool.

Good work Dom :)
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 368
Registered: 4-3-2016
Member Is Offline


[*] posted on 16-12-2016 at 04:30 PM


Quote: Originally posted by MikeDX  
This is very cool.

Good work Dom :)


Thanks Mike.
View user's profile View All Posts By User
BreadCaster
Loyalty Card Holder
******


Avatar


Posts: 321
Registered: 2-3-2016
Member Is Offline


[*] posted on 17-12-2016 at 08:15 PM


This seems very cool! Like ripples.

So would it be possible to generate these in real time and map them to a sectors floor rather than store them in a .fpg? Im guessing so :p




~*~ Princess of Pies and Pastries ~*~
View user's profile View All Posts By User
dom cook
Div Pro
******




Posts: 368
Registered: 4-3-2016
Member Is Offline


[*] posted on 18-12-2016 at 07:03 AM


Quote: Originally posted by BreadCaster  

So would it be possible to generate these in real time and map them to a sectors floor rather than store them in a .fpg? Im guessing so :p


You'd be the man to ask about that.
When I was tinkering about with Mode 8, it seemed to me that it wasn't willing to allow graphics loaded on the fly. (either for the objects or the map textures) But if it can, then real time implementation should be easy enough. However it is computationally expensive so it would need to be used with caution.

Here's a fun update in which you can use the mouse (left click to make some waves)

Attachment: water_tex01.PRG (3kB)
This file has been downloaded 727 times

SNAP0000.Png - 6kB
View user's profile View All Posts By User

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]