File Load Success
This commit is contained in:
2252
resources/entity/Wolf_One_dae.dae
Normal file
2252
resources/entity/Wolf_One_dae.dae
Normal file
File diff suppressed because one or more lines are too long
2001
resources/entity/Wolf_dae.dae
Normal file
2001
resources/entity/Wolf_dae.dae
Normal file
File diff suppressed because one or more lines are too long
@@ -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();
|
||||
|
Reference in New Issue
Block a user