Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Latest commit

 

History

History

examples

Examples

Demonstrates basic application setup. Just clears the view with blue color.

  • Most basic rendering.
  • Renders a textured quad on the screen.
  • Loading shaders (shaders built with glslcc under /tools directory)
  • Setting up buffers and pipelines
  • Basic ortho camera setup
  • Loading .basis textures with basisu plugin

02-quad

  • Load sprite atlas
  • Basic sprite drawing
  • Custom sprite drawing
  • Wireframe mode rendering
  • Basic text drawing

03-drawsprite

  • Animate sprites
  • Sprite animation controller
  • Sprite debugging

04-animsprite

  • Loading sound files
  • Play sounds
  • Sound system debugger

05-playsound

  • Raymarching with SDF shapes
  • Basic orbit camera (hold mouse and drag)
  • Simple parametric animations

06-sdf

  • Basic compute shader usage
  • GPU particle rendering with instancing
  • (Currently only build under windows/Direct3D backend)

07-nbody

  • Basic model rendering (GLTF)
  • Models with sub-meshes/sub-materials
  • Models with nodes and hierarchy
  • Debug Grid drawing
  • Debug Cube drawing

08-draw3d

  • Contributed by @amin67v
  • Basic A* path finding
  • Path priorities/Agents with different cell weights

09-pathfind

  • Basic collision detection between 2k boxes (OBB)
  • Ray casting
  • Debug visualizations for collision and raycast

10-collideboxes

  • Demonstrate the spline API presented by utility plugin
  • Camera movement along path

11-pathspline

  • Contributed by @amin67v
  • Boids example, demonstrates the use of job system

12-boids