00:00
00:00
Newgrounds Background Image Theme

YoungInfamous just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Custom Pixel Bender Example | Ordered Dithering

Share Collapse

Author Comments

Abstract:

Adobe Pixel Bender was created by Adobe Systems and released in 2008. It was initially added to Adobe Flash Player 10, which was the first version to support Pixel Bender-powered filters and effects. However Adobe began to shift its focus towards other technologies and deprecated Pixel Bender in favor of move time and effort into the Stage3D and AGAL. The specific date of obsolescence may vary based on Adobe's updates and announcements, but generally, it fell out of active use in the mid-2010s. I do recall working with pixel bender kernels a little bit, Away3D made really good use of them before Stage3D and other Flash Player 11 commodities were added. A friend of mine would use the kernel for large data processing since the filters and sharers would run asynchronously, with the proof of concept resembling OpenCL usages.


NOTE: I could not get Adobe Pixel Bender Toolkit running in Windows 10 or 11, I had to use VirtualBox to emulate Windows 7.


Controls: 

  • None


Bugs:

  1. FATAL Ruffle Port Nightly 2023-11-30; its just a black (not a blank) screen.


Performance:

Platform: Intel(R) Core(TM) i7-10875H CPU 2.30 GHz (Intel64 Family 6 Model 165 Stepping 2) with NVIDIA GeForce RTX 2080 Super with Max-Q Design

NOTE: These results are after one generation of the tree with default settings


Newgrounds Player:

  • 0.0 ~ 0.2 CPU%
  • 0 GPU% (Note: the Newgrounds Player does not use any GPU, instead opting all 3d graphics to be drawn via software rasterization hence the high CPU percent.)
  • 24.0 MB Ram Usage
  • FPS: NOT RELAVANT

Flash 11.8 r800 (32-bit):

  • 0.0 ~ 0.2 CPU% (The CPU starts high then after a second never even reaches .1 CPU usage ever again)
  • 0.0 ~ 0.0 GPU% (GPU-1)
  • 33.6 MB Ram Usage
  • FPS: NOT RELAVANT

Flash 32:

  • 0.5 ~ 3.9 CPU% (The CPU starts high then after a second never even reaches .1 CPU usage ever again)
  • 0.0 ~ 0.0 GPU% (GPU-1)
  • 27.0 MB Ram Usage
  • FPS: NOT RELAVANT

Ruffle (Windows port, Nightly 2023-11-29):

  • Note: Long initial loading time, 1 to 2 seconds
  • 2.7 ~ 3.8 CPU%
  • 8.2 ~ 9.3 GPU% (GPU-1)
  • 120.3 MB Ram Usage
  • FPS: NOT RELAVANT
  • BROKEN: Black screen, I know something is displaying since the stage background is set to purple


Credits:

  1. Pixel Bender Code: I wrote the code, learned the hard way you can define arrays in kernels.
  2. Snow mountains: by Guido Montanes Castillo. uploaded on January 28th, 2020


Source Code and Binaries:

https://github.com/FlashBacks1998/Custom-Pixel-Bender-Example-Ordered-Dithering-

Log in / sign up to vote & review!

Credits & Info

Views
120
Votes
54
Score
2.63 / 5.00

Uploaded
Dec 24, 2023
4:02 AM EST
Genre
Spam