Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
January 11, 2008
Image Size
45.6 KB
Resolution
600×400
Link
Thumb
Embed

Stats

Views
2,506
Favourites
19 (who?)
Comments
52
Downloads
65

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial 3.0 License.
×
Well this was done in 23 minutes. I got to institute too early and had 30 minutes free. I needed to make gradient look little bit cloudy. So I decided to try one thing and it looks much better then I tough :D So sometimes my work is fast and fun :D

Well feel free to play with parameters ;) Sorry didn’t have time to name them.

Ok. Edited and added some more options. And stretched it, so it is bigger now. May lag.

Explanation:
ScaleX/ScaleY – stretch of displacement map
Octaves – 1-3 for how complex it is. Each octave is additional layer of map which is stretched 2 times less then previous.
Displacement Strength – multiplier for displacement effect.
Type – well type of function.
SpX/SpY – speed with which each layer moves.


Edit 15.01.2008:
Was implementing this in to the project and played with background gradient a little. Looks more interesting now :)
P.S Got one idea how to make interactive water based on standart bitmap operation :) Though i don't have time to try it at the moment...
Add a Comment:
 
:iconatomic7732:
atomic7732 Featured By Owner Sep 21, 2010
It looks like... you are in a plane, viewing the ocean below. Idk, cool!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Sep 21, 2010
You can achieve some other fun effects with it, try something like scales 100x 200y, x speeds to small values and y speeds to positive values i range of 0.5-2.0 :) Looks like some northern lights or some other energy radiance :)
Reply
:iconshnitzelkiller:
ShnitzelKiller Featured By Owner Apr 15, 2009
quote:


TypeError: Error #1009: Cannot access a property or method of a null object reference.
at DisMapTest_fla::MainTimeline/frame()




That's what I get when i load this a the start. I can dismiss it and continue, but it's still a minor bug. One that I hate, too. I wish some of those errors were more specific when I'm making things, especially 1010 and 1009, which i get a lot.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 16, 2009
Yeah some versions of flash throw that stuff and some don't... I don't see error here...
Reply
:icon39woods:
39Woods Featured By Owner Apr 9, 2008
Is this calculated on the fly? or do you cache and loop?

I'm just wondering if the effect can be less cpu expensive? for example, if you are already cache and loop, then this cpu usage is just lots of BitmapData.copypixels (and so nothing to improve). Or is perlinNoise & displacementMapFilter so efficient?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 9, 2008
Well on each frame only displacement is calculated. When you click and map changes new color map is calculated by perlinNoise. Then displacement map is calculated from color map. And then on each frame light map is displaced according to mouse coordinate and displacement map. So no perlin nouse or other calculations except displacement on each step. I believe that you do it more efficient because seen some very impressive simulations in the net like this one: [link]
Reply
:iconmobilelectro:
Mobilelectro Featured By Owner Jan 23, 2008
Wow! very interesting. :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 23, 2008
Thanks :)
Reply
:iconmove-me-more:
move-me-more Featured By Owner Jan 21, 2008
you really do amaze me. i'm always early, and also tend to spend my free time in the labs doing stuff like this. Mine, however, never make it home...
Reply
:iconmove-me-more:
move-me-more Featured By Owner Jan 21, 2008
yep. halfway marks and tests.. nothing polished enough to share..
Reply
Add a Comment: