00:00
00:00
Newgrounds Background Image Theme

Ken1997 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!

Away3D 4.1.6 Flash Player 11 | Advanced Fractal Tree

Share Collapse

Author Comments

Abstract:

Away3D was another open-source 3D framework forked from Papervision3D developed and used for Flash in 2007 until it was discontinued in 2014. The history surrounding this framework is absolutely impressive. They have their own model format, their own builder software, and Adobe incorporated the framework into the Adobe Gaming SDK in 2013.

Unlike Papervision3D, Away3D 4.x fully supports 3D rending via Stage3D. Meaning most of the 3D graphics on screen is rendered using the GPU. This frees up a lot of CPU compared to Away3D 3.x and especially 2.x and Papervision3D.


Controls:

  • Click and drag to move the world to see objects.
  • Use the SimpleGUI to generate a fractal tree; Click the + or - in the top left corner to open or close the menue


Bugs:

  1. FATAL DO NOT RESIZE THE RUFFLE WINDOW! You will get a panic attack and the game will crash.
  2. Extremely buggy, pixelated, and lags a lot compared to running in Flash.
  3. Away3D Statistics seem to now show the graph properly, as well as show `Dummy` for the GPU driver. May come in use to detecting Ruffle or Flash.
  4. Away3D Statistics also seem to not display the ram usage


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:

  • 44.7 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.)
  • 95.0 MB Ram Usage
  • FPS: 30 ~ 32

Flash 11.8 r800 (32-bit):

  • 0.7 ~ 1.1 CPU%
  • 5.6 ~ 6.1 GPU% (GPU-1)
  • 54.8 MB Ram Usage
  • FPS: 60 (frame locked despite the set frameRate being 240)

Flash 32:

  • 0.9 ~ 1.3 CPU%
  • 5.8 ~ 6.3 GPU% (GPU-1)
  • 59.0 MB Ram Usage
  • FPS: 60 (seems to be locked, even after editing the stage framerate to be higher)

Ruffle (Windows Port):

  • 12.2 ~ 13.1 CPU%
  • 9.8 ~ 12.0 GPU% (GPU 1)
  • 293.8 MB Ram Usage
  • FPS: 144~166

Ruffle (Web port)

  • 16.0 ~ 21.0 CPU%
  • 2.6 ~ 4.8 GPU% (GPU-0, Based off of the graphics card of the browser)
  • 683.7 MB Ram Usage (Loaded with the Newgrounds Portal, this is not accurate for Ruffle but IRL Webpages)
  • FPS: 17 ~ 25


Todo:

Double check compatibility with Away3D 3.x and 2.x, it seems as if 4.x works better on Ruffle due to the dependence on Stage3D instead of AS3.


Credits:

  1. Away3D - Website
  2. Away3D Example Files - Found Here (Internet Archive via Wayback)


Source Code: https://www.mediafire.com/file/3pikl5ruf9rwcmv/Advanced_FractalTreeDemo.zip/file

Log in / sign up to vote & review!

This is really interesting but pretty buggy and hard to use, as are some of the best things. +respect

FlashBacks1998 responds:

The Newgrounds and actual Flash Player looks much nicer. The online Ruffle demo just looks pixelated and laggy

Credits & Info

Views
186
Faves:
1
Votes
73
Score
3.12 / 5.00

Uploaded
Nov 29, 2023
8:12 PM EST
Genre
Spam
Misc. Kit
  • Flash Builder 4.7