Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 1.02 KB

README.md

File metadata and controls

48 lines (41 loc) · 1.02 KB

logger

A logging library for Review.

CPP

The logger C++ library requires JSON for Modern C++. On a mac you can install with brew:

brew install nlohmann_json

File Format

name: string, req.
timeStep: float, req.
loop: boolean
follow: object index

objects: list, req.
    name: string, req. unique
    mesh: enumeration, req.
    material:
        color: vec4 float
        metallic: float
        roughness: float
    static: boolean
    translation: vec3 float
    rotation: vec4 float
    scale: vec3 float
    children: list (child positions relative to parent)
        name: string, req.
        type: enumeration, req.
        translation: vec3 float
        rotation: vec4 float
        scale: vec3 float
        children: recursive

frames: list, req. length is (duration / timeStep + 1)
    <name from above (not nested)>:
        t: vec3 float
        r: vec4 float
        s: vec3 float
    .
    .
    .
    <name from above (not nested)>: same as previous