Lysa Nodes  0.0
Lysa Nodes — Scene Graph for the Lysa Engine
Lysa Nodes tutorial

Overview

This tutorial demonstrates essential pattern of the Lysa Nodes scene graph library : loading a 3D asset from a .assets pack file, displaying it through the deferred renderer with lights and post-processing, and animating it with a continuous, frame-rate-independent Y-axis rotation.

The tutorial source code is available at https://github.com/LysaEngine/lysa_tutorial_nodes_01.

Module

The nodes library lives in the lysa.nodes module:

import lysa.nodes;

This single import makes the entire public API available: Node, SceneTree, Camera, MeshInstance, AnimationPlayer, Environment, DirectionalLight, OmniLight, SpotLight, Timer, Viewport, and the physics nodes when a physics engine is enabled.

Source files

File Role
src/Main.cpp Application class and lysaMain entry point
src/MainWindow.ixx Window and renderer configuration
src/RotatingAssetScene.ixx/.cpp Scene logic: nodes, camera controls, asset rotation
  1. Development environment
  2. Project layout
  3. Engine context
  4. Rendering window
  5. Node
  6. Scene tree
  7. Camera
  8. Loading and displaying an asset
  9. Lights and environment
  10. Rotation
  11. Application class
  12. What's next?