Add skinning support to orx-dnk3a
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user