File Load Success

This commit is contained in:
2024-04-04 14:30:57 -04:00
parent 44c150b395
commit 76e6e7cec7
3 changed files with 4254 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,6 @@
#include <rewindow/types/window.h>
#include "LearnOpenGL/Grid.h"
Matrix4x4 animation_model_matrix = Matrix4x4(1.f);
Matrix4x4 projection_matrix = Matrix4x4::OpenGLPerspProjLH(0, 1, 1, 1);
@@ -31,7 +30,6 @@ public:
shader.setMat4("view", view_matrix);
shader.setMat4("model", Matrix4x4(1.f));
// Setup skeletal animation shader
animation_model_matrix = animation_model_matrix.Translate({0.01f, 0.01f, 0.01f});
skeletal_animation_shader = Shader(std::string("resources/shaders/skeletal_animation.vert.glsl"), "resources/shaders/textured.frag.glsl");
@@ -43,7 +41,7 @@ public:
Grid grid{};
// TODO: support loading fbx files
ourModel = Model("resources/entity/character.fbx", "resources/entity/run.fbx");
ourModel = Model("resources/entity/Wolf_One_dae.dae");
unsigned int texture_id;
auto res = Texture();