add models

This commit is contained in:
matthew 2025-07-21 19:03:47 +10:00
parent 0bf6252db2
commit 6c5beac00b
59 changed files with 3 additions and 3 deletions

BIN
assets/models/Arch01.m3d Normal file

Binary file not shown.

BIN
assets/models/Arch02.m3d Normal file

Binary file not shown.

BIN
assets/models/Arch03.m3d Normal file

Binary file not shown.

BIN
assets/models/BigRock01.m3d Normal file

Binary file not shown.

BIN
assets/models/BigRock02.m3d Normal file

Binary file not shown.

BIN
assets/models/Bush01.m3d Normal file

Binary file not shown.

BIN
assets/models/Bush02.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower01.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower02.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower03.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower04.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower05.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower06.m3d Normal file

Binary file not shown.

BIN
assets/models/Flower07.m3d Normal file

Binary file not shown.

BIN
assets/models/Grass01.m3d Normal file

Binary file not shown.

BIN
assets/models/Grass02.m3d Normal file

Binary file not shown.

BIN
assets/models/Grass03.m3d Normal file

Binary file not shown.

BIN
assets/models/Leaf01.m3d Normal file

Binary file not shown.

BIN
assets/models/Log01.m3d Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/models/Plant01.m3d Normal file

Binary file not shown.

BIN
assets/models/Plant02.m3d Normal file

Binary file not shown.

BIN
assets/models/Plant03.m3d Normal file

Binary file not shown.

BIN
assets/models/Plant04.m3d Normal file

Binary file not shown.

BIN
assets/models/Plant05.m3d Normal file

Binary file not shown.

BIN
assets/models/Rock01.m3d Normal file

Binary file not shown.

BIN
assets/models/Rock02.m3d Normal file

Binary file not shown.

BIN
assets/models/Rock03.m3d Normal file

Binary file not shown.

BIN
assets/models/Rock04.m3d Normal file

Binary file not shown.

BIN
assets/models/Rock05.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins01.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins02.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins03.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins04.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins05.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins06.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins07.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins08.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins09.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins10.m3d Normal file

Binary file not shown.

BIN
assets/models/Ruins11.m3d Normal file

Binary file not shown.

BIN
assets/models/Stairs01.m3d Normal file

Binary file not shown.

BIN
assets/models/Stairs02.m3d Normal file

Binary file not shown.

BIN
assets/models/Stairs03.m3d Normal file

Binary file not shown.

BIN
assets/models/Stairs04.m3d Normal file

Binary file not shown.

BIN
assets/models/Stairs05.m3d Normal file

Binary file not shown.

BIN
assets/models/Stump01.m3d Normal file

Binary file not shown.

BIN
assets/models/Tile01.m3d Normal file

Binary file not shown.

BIN
assets/models/Tile02.m3d Normal file

Binary file not shown.

BIN
assets/models/Tile03.m3d Normal file

Binary file not shown.

BIN
assets/models/Tile04.m3d Normal file

Binary file not shown.

Binary file not shown.

BIN
assets/models/Tree02.m3d Normal file

Binary file not shown.

BIN
assets/models/Tree03.m3d Normal file

Binary file not shown.

BIN
assets/models/Tree04.m3d Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -104,7 +104,7 @@ struct Renderer
Vec3 camera_pos = Vec3(0.0);
Model yoder;
Model model;
}
struct Camera
@ -227,7 +227,7 @@ Init(p.Window* window)
rd.ui_pipeline = BuildGfxPipeline(&rd, &ui_info);
rd.compute_pipeline = BuildCompPipeline(&rd, &gradient_info);
rd.yoder = LoadModel(&rd, "models/Tree01.m3d");
rd.model = LoadModel(&rd, "models/Tree01.m3d");
ReadModel(&rd, "models/Tree01.m3d");
@ -271,7 +271,7 @@ Cycle(Renderer* rd)
Bind(rd, &rd.pbr_pipeline);
DrawModel(rd, &rd.yoder);
DrawModel(rd, &rd.model);
FinishFrame(rd);
}