Comments: 52
ShnitzelKiller [2009-04-16 06:52:50 +0000 UTC]
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.
👍: 0 ⏩: 1
wonderwhy-ER In reply to ShnitzelKiller [2009-04-16 08:30:55 +0000 UTC]
Yeah some versions of flash throw that stuff and some don't... I don't see error here...
👍: 0 ⏩: 0
39Woods [2008-04-09 09:21:55 +0000 UTC]
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?
👍: 0 ⏩: 1
wonderwhy-ER In reply to 39Woods [2008-04-09 09:31:38 +0000 UTC]
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]
👍: 0 ⏩: 0
move-me-more [2008-01-21 10:50:10 +0000 UTC]
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...
👍: 0 ⏩: 2
move-me-more In reply to move-me-more [2008-01-21 12:03:39 +0000 UTC]
yep. halfway marks and tests.. nothing polished enough to share..
👍: 0 ⏩: 0
Keydan [2008-01-17 21:25:03 +0000 UTC]
Yey fractals, I made a few programs and a sciance work a while ago on them...
👍: 0 ⏩: 1
tecwzrd In reply to wonderwhy-ER [2008-01-16 20:26:39 +0000 UTC]
Been coding in AS2 for awhile and have worked with the perlin noise before but still getting the hang of AS3. from what I understand using perlin noise with AS3 is much faster and you can work with larger size windows.
👍: 0 ⏩: 1
wonderwhy-ER In reply to tecwzrd [2008-01-16 20:43:00 +0000 UTC]
Well from my expiriance speed of filters and and some other core things haven't changed much. I am not shore but i think you can reproduce this with AS2. Basicly there are 2 300x200 bitmaps. One is with perline noise, another with gradien drawn on each frame. Then displacementmap is used on one with gradien with perlinNoise as displacement map. To make it 600x400 i streched it to x2 size. Quaility does not drop much but speed becomes musch faster.
👍: 0 ⏩: 0
awesty [2008-01-16 04:43:23 +0000 UTC]
It looks much more like water when set to turbulent now.
👍: 0 ⏩: 1
enci [2008-01-14 13:13:10 +0000 UTC]
This is damn good
👍: 0 ⏩: 1
GuitARRET [2008-01-13 00:29:03 +0000 UTC]
cool.
👍: 0 ⏩: 1
xero-sama [2008-01-13 00:27:54 +0000 UTC]
i love it! Great water tool for animating!
👍: 0 ⏩: 1
killthemouse [2008-01-12 03:29:17 +0000 UTC]
Nice, makes for quite a good water effect!
👍: 0 ⏩: 1
brunoxyz [2008-01-11 18:50:36 +0000 UTC]
thats great,, I too think that it looks more like water.. but the important part is that you can get many different effects by modifying it.
how can you do these things.. is it just action script? can you do this in flash mx too?
👍: 0 ⏩: 1
wonderwhy-ER In reply to brunoxyz [2008-01-11 20:18:52 +0000 UTC]
I will upload version with more parameters later. And will name those that are there.
👍: 0 ⏩: 1
brunoxyz In reply to wonderwhy-ER [2008-01-11 20:43:36 +0000 UTC]
sorry I think I didn't explain myself good enough.. I meant that it doesn't matter what it looks like.. water or clouds,, that there is potential to create more stuff with it.. like smoke effects in a game or whatever it could be used for.
👍: 0 ⏩: 1
wonderwhy-ER In reply to brunoxyz [2008-01-11 21:17:08 +0000 UTC]
Well yeah ofcourse. It's based on more or less standart idea. You can see it in many modern 3D games actualy.
👍: 0 ⏩: 0
ninjkabat [2008-01-11 17:45:04 +0000 UTC]
Looks more like water than clouds.
I'm still always fascinated by what you can do with a relatively short amount of time.
👍: 0 ⏩: 1
wonderwhy-ER In reply to cepums [2008-01-11 17:59:44 +0000 UTC]
Ja tas ir tada pata ideja kura ir izmantota lai sdarit mazu labi strada6u ugunu.
👍: 0 ⏩: 1
wonderwhy-ER In reply to cepums [2008-01-11 20:29:28 +0000 UTC]
Nu runa bija ne ka par makonimeb but par dumi vai miglas... Es var but neparezi izteicos. Es pec kadu laiku citu variantu uzlade6u.
👍: 0 ⏩: 0
| Next =>