mshah.ioCourse ScheduleCourse Information


Module 13 - Game Structure 1 - Scene Tree, Scene Structure, Serialization - 2025-Feb-20

Overview

In this module we learn about hierarchies and scenes

  • Hierarhical Transformations
  • Scene Tree Organization
  • Scene Structure
  • Serialization/Deserialization (Text and Binary Files)
  • --Serialization challenges: Floats, variable-length data (and using template constraints for 'serialize()' member function)
  • Meta-programming in D for serialization

Slides and Class Content

Please note: Your in-class activity is graded. Your first attempt will be graded. You can use your notes and slides if you like. You have 1 week from the date of this module opening to complete the in-class activity. In-class activities are completed individually.

Audio/Video Recording

Note: Audio/Video recordings are made in a best effort in case you have to miss class or you would otherwise like to re-watch a portion of lecture. Occassional recording errors (e.g. missing sound, corrupted video, etc.) may occur, and I apologize in advance if a recording is not able to be made available.

Readings

    Please use the following resources to supplement this lecture. You may choose to read 1 or more of these before/during/after the lecture to fully immerse into the material.

  1. Learn OpenGL Scene Graph
    • (Reading)
  2. DConf 2019: Mad With Power The Hunt for New Compile Time Idioms by Ethan Watson
    • Video
  3. Design by Introspection - Andrei Alexandrescu
    • Video
  4. A new import idiom by Daniel Nielsen
    • Blog
  5. Design by Introspection
    • Course materials (static if, traits, mixins, etc.)
  6. BINARY vs TEXT File Serialization
    • Cherno Video in C++
  7. Serialization in Hazel - My Game Engine
    • Cherno Video in C++
Please do not redistribute or host any materials without e-mailing me first. Thank you for your time!