FUDGE Tests
- Open the console (F12 or Ctrl+Shift+I), since many test also or solely show output to the console!
- Testing online on hs-furtwangen.github.io/FUDGE only tests the development branch. Test other branches locally using a local server.
- Use of markdown viewer is recommended when testing locally to use this README.md
- Here is only a selection of test that are already enhanced with explanation and user guidelines
- Find more tests in the folder “Miscellaneous”
Animation
Audio
- Audio Graph Insertion
Test the insertion of a graph of arbitrary complexity into a ComponentAudio.
- Branch Mixing
Test the handling of the WebAudio context to mix the audiosignals of selected branches in the scene graph.
- SpatialSound
Complex test for spatial stereo audio. Orbit the camera around the world origin, move an audio source and adjust the panner cones.
Controls
- Controls
Test the amplifictation, delay and the proportional, integral or differential processing of inputs.
Debug
- Debug
Test the debug class that routes log-messages, warnings or error-messages to various outputs.
- Output
Test debug output to various targets.
Import
- OBJ
Test the OBJ file import.
Mesh
- Mesh
Display the built-in meshes.
Net
- Client
- Server: start with
node Server.js <port>
in folder Test/Net/Server
Test connectivity between Server and Clients with WebSockets and between Clients as peer-to-peer connections with RTC and the automatic setup of a mesh structure or an authoritative peer. Disable public firewall!
Shows different particle systems.
Physics
- Welding
Concave objects consisting of boxes welded together using welding joints fall from the sky and bounce around.
- Joints
Test all joint types and collisions.
- There are more tests in the folder, view locally.
Picking
- PickComponent
Test different picking methods using ComponentPick
- PickShader
Test picking using the pick shader with overlapping quads
Test the different postprocessing effects that can be applied to a scene.
Random
- Random
Test various formats and methods to create structures and information using random numbers.
Rectangles
- Collision
Test the collision detection of rectangles and the calculation of the overlapping area.
- MapRectangles
Test the mapping of one Rectangle onto another used for viewport framing.
Resources
- Graph
Test the creation, serialization, deserialization and recreation of a graph and graphinstances.
- SubclassRegistration
Test the registration of all classes creating resources which is crucial for deserialization
Test the different material shaders.
Skeleton
SkeletonTest
Skeleton with two bones moving, deforming a cylinder
SkeletonImportTest
Import obj-file with skeleton animation, needs fix
Sprite
- Sprites
Test the spriteclass and spritesheets as defined in Aid at this point of time (11/2021). Sprites should be handled by Animation later.
StateMachine
StateMachine
Standalone state machine and ComponentStateMachine running parallel.
Time
- Time
Test the handling of time, the core game loop and timer events.
VR