Add skinning support to orx-dnk3a

This commit is contained in:
Edwin Jakobs
2020-05-24 18:54:14 +02:00
parent 51e43af595
commit 8f3af98585
17 changed files with 347 additions and 239 deletions

View File

@@ -25,7 +25,7 @@ fun main() = application {
}
}
val gltf = loadGltfFromFile(File("demo-data/gltf-models/complex02/scene.gltf"))
val gltf = loadGltfFromFile(File("demo-data/gltf-models/duck/Duck.gltf"))
// val gltf = loadGltfFromGlbFile(File("demo-data/gltf-models/splash-sss.glb"))
val scene = Scene(SceneNode())
@@ -48,8 +48,8 @@ fun main() = application {
val renderer = dryRenderer()
extend(Orbital()) {
far = 500.0
lookAt = Vector3(0.0, 0.7, 0.0)
eye = Vector3(3.0, 0.7, -2.0)
lookAt = Vector3(0.0, 0.8, 0.0)
eye = Vector3(3.0, 0.8, -2.0)
fov = 30.0
}
extend {