-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #362 from NVlabs/SphereModels
Add Sphere models
- Loading branch information
Showing
9 changed files
with
2,644 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Blender MTL File: 'None' | ||
# Material Count: 1 | ||
|
||
newmtl icosahedron_default | ||
Ns 10.000 | ||
Ni 1.500 | ||
d 1.000 | ||
Tr 0.000 | ||
Tf 1.000 1.000 1.000 | ||
illum 2 | ||
Ka 1.000 0.000 0.000 | ||
Kd 1.000 0.000 0.000 | ||
Ks 0.000 0.000 0.000 | ||
Ke 0.000 0.000 0.000 | ||
|
||
newmtl Silhouette | ||
Ns 10.000 | ||
Ni 1.500 | ||
d 1.000 | ||
Tr 0.000 | ||
Tf 1.000 1.000 1.000 | ||
illum 2 | ||
Ka 0.000 0.000 0.000 | ||
Kd 0.000 0.000 0.000 | ||
Ks 0.000 0.000 0.000 | ||
Ke 0.000 0.000 0.000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
description = "spheres"; | ||
frameRate = 120; | ||
showHUD = true; | ||
renderWeaponStatus = true; | ||
cooldownMode = "ring"; | ||
cooldownColor = Color4(0.7,1.0,0.9,0.75); | ||
|
||
weapon = { | ||
id = "1hit"; | ||
firePeriod = 0.3; | ||
damagePerSecond = 4; | ||
autoFire = false; | ||
}; | ||
sessions = ( | ||
{ | ||
id = "icosohedron"; | ||
description = "icosohedron"; | ||
trials = ( | ||
{ | ||
count = 20; | ||
ids = ( "ico"); | ||
} | ||
); | ||
|
||
}, | ||
{ | ||
id = "lowpoly"; | ||
description = "low polygon"; | ||
trials = ( | ||
{ | ||
count = 20; | ||
ids = ( "low"); | ||
} | ||
); | ||
|
||
}, | ||
{ | ||
id = "midpoly"; | ||
description = "mid polygon"; | ||
trials = ( | ||
{ | ||
count = 20; | ||
ids = ( "mid", "mid"); | ||
} | ||
); | ||
|
||
}, | ||
{ | ||
id = "highpoly"; | ||
description = "high polygon"; | ||
trials = ( | ||
{ | ||
count = 20; | ||
ids = ( "high", "high"); | ||
} | ||
); | ||
|
||
}, | ||
{ | ||
id = "mixedtypes"; | ||
description = "mixed types"; | ||
trials = ( | ||
{ | ||
count = 20; | ||
ids = ( "ico", "low", "mid", "high"); | ||
}, | ||
); | ||
|
||
}, | ||
); | ||
|
||
targets = ( | ||
{ | ||
id = "ico"; | ||
destSpace = "player"; | ||
speed = ( 0, 0 ); | ||
visualSize = ( 0.05, 0.05 ); | ||
modelSpec = ArticulatedModel::Specification{ | ||
filename = "model/target/target.obj"; | ||
}; | ||
}, | ||
{ | ||
id = "low"; | ||
destSpace = "player"; | ||
speed = ( 0, 0 ); | ||
visualSize = ( 0.05, 0.05 ); | ||
modelSpec = ArticulatedModel::Specification{ | ||
filename = "model/target/low_poly_sphere.obj"; | ||
}; | ||
}, | ||
{ | ||
id = "mid"; | ||
destSpace = "player"; | ||
speed = ( 0, 0 ); | ||
visualSize = ( 0.05, 0.05 ); | ||
modelSpec = ArticulatedModel::Specification{ | ||
filename = "model/target/mid_poly_sphere.obj"; | ||
}; | ||
}, | ||
{ | ||
id = "high"; | ||
destSpace = "player"; | ||
speed = ( 0, 0 ); | ||
visualSize = ( 0.05, 0.05 ); | ||
// if you want to use the high polygon model, get it from here https://drive.google.com/file/d/1LvJaJUD3k7DR0taZYZ_9Y0PNVQDMdShM/view?usp=sharing | ||
// modelSpec = ArticulatedModel::Specification{ | ||
// filename = "model/target/high_poly_sphere.obj"; | ||
// }; | ||
}, | ||
); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
currentUser = "Sample User"; | ||
sessions = ( "mixedtypes", "icosohedron", "lowpoly", "midpoly", "highpoly"); | ||
settingsVersion = 1; | ||
users = ( | ||
{ | ||
completedSessions = ( ); | ||
id = "Sample User"; | ||
sessions = ( "mixedtypes", "icosohedron", "lowpoly", "midpoly", "highpoly"); | ||
} ); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters