Underwater effect

Alexin

  • *
  • Posts: 3127
I've had problems with the demo too.

Reuploaded. Try again.
"Find the fun"
alexin@stencyl.com

Jon

  • *
  • Posts: 17524
Hey Alexin - do you think it would be worth exploring how we could incorporate PixelBender? Your work in this area seems to make sense to look at that technology and wrapped up in a sharable way.

Alexin

  • *
  • Posts: 3127
Eh, I just thought about PixelBender yesterday and I'm precisely investigating it now.
"Find the fun"
alexin@stencyl.com

Alexin

  • *
  • Posts: 3127
This is available as a pack on Forge. It currently has a single, general purpose behavior and an actor with an animated map. I also attached the demo. Later, I should write up some docs.


I looked into Pixel Bender and used it. The tool outputs a file that controls the effect. We can incorporate it via behaviors, but we also need to embed/load that file. I think an extension would be appropriate here.

I thought Pixel Bender used the GPU but here's what I found out:
Quote
Pixel Bender kernels do not run using any GPU functionality whatsoever in Flash Player 10.

Quote
The important thing to take away here is: A kernel which runs well in the toolkit might not run well at all in the Flash Player.

Quote
If you ever run a Pixel Bender filter on PowerPC based Mac you will see that it runs about 10 times slower than on an Intel based Mac. For this release we only had time to implement a JIT code engine for Intel based CPUs. On a PowerPC Mac Pixel Bender kernels will run in interpreted mode.

Source: http://www.kaourantin.net/2008/05/adobe-pixel-bender-in-flash-player-10.html
"Find the fun"
alexin@stencyl.com

Alexin

  • *
  • Posts: 3127
I can but I think that's up to the curators.
"Find the fun"
alexin@stencyl.com

Jon

  • *
  • Posts: 17524
If it's well documented and could be used by someone with a modest amount of experience without a lot of tinkering, it could be featured.

Alexin

  • *
  • Posts: 3127
It needs documentation regarding the creation of maps and how each attribute affects the visual.
I also need to extract common settings to create specialized effect. The current behavior is good to test maps.
"Find the fun"
alexin@stencyl.com