Add Test Textured Object
This commit is contained in:
parent
09972ee740
commit
596c2811c1
16 changed files with 54575 additions and 61096 deletions
BIN
assets/Bane3_Chest_D.tga
Normal file
BIN
assets/Bane3_Chest_D.tga
Normal file
Binary file not shown.
After (image error) Size: 3 MiB |
BIN
assets/Bane3_Eye_D.tga
Normal file
BIN
assets/Bane3_Eye_D.tga
Normal file
Binary file not shown.
After (image error) Size: 768 KiB |
BIN
assets/Bane3_Head_D.tga
Normal file
BIN
assets/Bane3_Head_D.tga
Normal file
Binary file not shown.
After (image error) Size: 3 MiB |
BIN
assets/Bane3_Mouth_D.tga
Normal file
BIN
assets/Bane3_Mouth_D.tga
Normal file
Binary file not shown.
After (image error) Size: 3 MiB |
BIN
assets/Bane3_Pants_D.tga
Normal file
BIN
assets/Bane3_Pants_D.tga
Normal file
Binary file not shown.
After (image error) Size: 3 MiB |
BIN
assets/Bane3_Stuff_D.tga
Normal file
BIN
assets/Bane3_Stuff_D.tga
Normal file
Binary file not shown.
After (image error) Size: 3 MiB |
82
assets/Bane_3.mtl
Normal file
82
assets/Bane_3.mtl
Normal file
|
@ -0,0 +1,82 @@
|
|||
#
|
||||
#
|
||||
|
||||
newmtl Bane3Chest
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Chest_D.tga
|
||||
|
||||
newmtl Bane3Coverlid
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Stuff_D.tga
|
||||
|
||||
newmtl Bane3Eyes
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Eye_D.tga
|
||||
|
||||
newmtl Bane3Head
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Head_D.tga
|
||||
|
||||
newmtl Bane3Mouth
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Mouth_D.tga
|
||||
|
||||
newmtl Bane3Pants
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Pants_D.tga
|
||||
|
||||
newmtl Bane3Pipes
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Stuff_D.tga
|
||||
|
||||
newmtl Bane3Stuff
|
||||
Ns 96.078431
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd Bane3_Stuff_D.tga
|
54489
assets/Bane_3.obj
Normal file
54489
assets/Bane_3.obj
Normal file
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Before ![]() (image error) Size: 3.6 KiB |
Binary file not shown.
|
@ -1,16 +0,0 @@
|
|||
# Wavefront material library
|
||||
# Tue Aug 03 07:54:36 1999
|
||||
# Created with Viewpoint Interchange www.viewpoint.com
|
||||
|
||||
newmtl hum_body
|
||||
Ka 0 0 0
|
||||
Kd 0 0 0
|
||||
Ks 0 0 0
|
||||
illum 2
|
||||
map_Kd images\humbird.tif
|
||||
|
||||
newmtl hum_eye
|
||||
Ka 0 0 0
|
||||
Kd 0.0392157 0.0117647 0.0117647
|
||||
Ks 0.0392157 0.0117647 0.0117647
|
||||
illum 2
|
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
@ -67,11 +67,11 @@ function runDemo(canvasId) {
|
|||
}
|
||||
|
||||
function createObj(loader,scene){
|
||||
var batman = loader.addMeshTask("bunny", "", "assets/humbird/", "humbird.obj");
|
||||
var batman = loader.addMeshTask("bunny", "", "assets/", "Bane_3.obj");
|
||||
batman.onSuccess = function(t){
|
||||
t.loadedMeshes.forEach(function(m) {//m = model
|
||||
m.position.x = 10;
|
||||
m.scaling = new BABYLON.Vector3(20, 20, 20);
|
||||
m.scaling = new BABYLON.Vector3(1, 1, 1);
|
||||
m.checkCollisions = true;
|
||||
});
|
||||
};
|
||||
|
|
Reference in a new issue