revert floor.obj test file, load it by default in TinyRenderer/main.cpp
This commit is contained in:
@@ -10,4 +10,4 @@ newmtl floor
|
||||
Ks 0.0000 0.0000 0.0000
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
map_Ka floor_diffuse.jpg
|
||||
map_Kd cube.tga
|
||||
map_Kd floor_diffuse.jpg
|
||||
|
||||
@@ -6,9 +6,9 @@ v 1 -1 1
|
||||
v -1 -1 1
|
||||
|
||||
vt 0 0
|
||||
vt .25 0
|
||||
vt .25 .25
|
||||
vt 0 .25
|
||||
vt 1 0
|
||||
vt 1 1
|
||||
vt 0 1
|
||||
|
||||
vn 0 1 0
|
||||
usemtl floor
|
||||
|
||||
Binary file not shown.
@@ -81,7 +81,7 @@ int main(int argc, char* argv[])
|
||||
int textureWidth = gWidth;
|
||||
int textureHeight = gHeight;
|
||||
|
||||
TinyRenderObjectData renderData(textureWidth, textureHeight, "african_head/african_head.obj");//floor.obj");
|
||||
TinyRenderObjectData renderData(textureWidth, textureHeight, "floor.obj");
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user