Added a low poly brick model and changed their ingame scale
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# Blender MTL File: 'Brick.blend'
|
# Blender MTL File: 'None'
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Brick
|
newmtl Material
|
||||||
Ns 17.647059
|
Ns 96.078431
|
||||||
Ka 0.000000 0.000000 0.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.154050 0.039202
|
Kd 0.640000 0.640000 0.640000
|
||||||
Ks 0.000000 0.000000 0.000000
|
Ks 0.500000 0.500000 0.500000
|
||||||
Ni 1.000000
|
Ni 1.000000
|
||||||
d 1.000000
|
d 1.000000
|
||||||
illum 1
|
illum 2
|
||||||
map_Kd Brick_d.png
|
map_Kd Brick_d.png
|
||||||
map_Bump Brick_n.png
|
map_Bump Brick_n.png
|
||||||
map_Ks Brick_s.png
|
map_Ks Brick_s.png
|
||||||
+43
-15316
File diff suppressed because it is too large
Load Diff
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
# Blender MTL File: 'Brick.blend'
|
||||||
|
# Material Count: 1
|
||||||
|
|
||||||
|
newmtl Brick
|
||||||
|
Ns 17.647059
|
||||||
|
Ka 0.000000 0.000000 0.000000
|
||||||
|
Kd 0.640000 0.154050 0.039202
|
||||||
|
Ks 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.000000
|
||||||
|
d 1.000000
|
||||||
|
illum 1
|
||||||
|
map_Kd Brick_d.png
|
||||||
|
map_Bump Brick_n.png
|
||||||
|
map_Ks Brick_s.png
|
||||||
Executable
+15319
File diff suppressed because it is too large
Load Diff
@@ -55,7 +55,7 @@ void dd::Systems::LevelSystem::CreateBrick(int row, int line, glm::vec2 spacesBe
|
|||||||
model->ModelFile = "Models/Test/Brick/Brick.obj";
|
model->ModelFile = "Models/Test/Brick/Brick.obj";
|
||||||
float x = spaceToEdge + line * spacesBetweenBricks.x;
|
float x = spaceToEdge + line * spacesBetweenBricks.x;
|
||||||
float y = spaceToEdge + row * spacesBetweenBricks.y;
|
float y = spaceToEdge + row * spacesBetweenBricks.y;
|
||||||
transform->Scale = glm::vec3(1, 0.4, 0.2);
|
transform->Scale = glm::vec3(1.6, 0.2, 0.5);
|
||||||
transform->Position = glm::vec3(x - 7, y + 1, -10.f);
|
transform->Position = glm::vec3(x - 7, y + 1, -10.f);
|
||||||
//sprite->Color = glm::vec4(1.f, 1.f, 1.f, 1.f);
|
//sprite->Color = glm::vec4(1.f, 1.f, 1.f, 1.f);
|
||||||
m_World->CommitEntity(brick);
|
m_World->CommitEntity(brick);
|
||||||
|
|||||||
Reference in New Issue
Block a user