Original Description:
Abstract:
Away3D was another open-source 3D framework forked from Papervision3D developed and used for Flash in 2007 until development slowed down 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. Not only that but they have their own OpenFL port and they have their own open source Flash Player (AwayFL).
Unlike the last example, this example uses 3D animations loaded from a .md5mesh (the file format used to store the 3D mesh) and .md5anim (the file format used to store 3D animations). The MD5 file format(s) appears to be created by ID Software for their games and the file format started to gain popularity though the Doom 3 and Quake 4 games and engines. You can create and export 3D animations with Blender, 3ds Max, and Maya (though I prefer Blender).
Controls:
WASD Basic movements.
SHIFT to run.
1-9 Different attack animations
Bugs:
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.
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
Newgrounds Player:
39.9 ~ 40.5 CPU%
0 GPU% (Note: the Newgounds Player does not use any GPU, instead opting all 3d graphics to be drawn via software rasterization hence the high CPU percent.)
141.9 MB Ram Usage
FPS: 29~35
Flash 11.8 r800 (32-bit):
0.8 ~ 2.1 CPU%
8.7 ~ 9.5 GPU% (GPU-1)
69.7 MB Ram Usage
FPS: 60 (seems to be locked, even after editing the stage framerate to be higher)
Flash 32:
0.2~1.0~2.2 CPU% (depending on the lighting position)
8.0~8.5 GPU% (GPU-1)
71.7 MB Ram Usage
FPS: 60 (seems to be locked, even after editing the stage framerate to be higher)
Ruffle (Windows Port):
0.9 ~ 1.6 CPU%
13.1 ~ 15.0 GPU% (GPU-1, Fixed the GPU-0 issue)
503.0MB Ram Usage
FPS: 10~13 FPS
NOTE: Initial loading times take about a second or two.
CRASH: I left the program running for a while and it look like it crashed, see the details down below
Ruffle (Web port)
6.5 ~ 7.4 CPU%
3.5 ~ 5.7 GPU% (GPU-1)
463.6 MB Ram Usage (Loaded with the Newgrounds Portal, this is not accurate for Ruffle but IRL Webpages)
FPS: 5~6
NOTE: Initial loading times take about 5 to 10 seconds
Crash:
After a while of letting the Ruffle (Windows) program run I got an error message;
Ruffle has encountered a fatal error, this is a bug.
panicked at c:\Users\runneradmin\.cargo\git\checkouts\wgpu-...\wgpu-core\src\resource.rs:207.13:
Map callback was leaked
Please report this to us so that we can fix it. Thank you!
The map callback was leaked? Kinda want to see if this is exploitable or not
Todo:
There are other versions of the MD5 examples in older Away3D example collages. Ill see if they have any better performance.
Credits:
Away3D - Website
Away3D Example Files - Found Here (Internet Archive via Wayback)
Casper - Gateway - Found on Newgrounds!
Source Code: https://www.mediafire.com/file/uchug4q4wq21wsn/textExamples.zip/file