-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eab6ab4
commit 2b5681a
Showing
24 changed files
with
157 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package collada | ||
|
||
import kotlinx.serialization.SerialId | ||
import kotlinx.serialization.Serializable | ||
|
||
interface AnimationsDescription | ||
|
||
@Serializable | ||
object EmptyAnimations : AnimationsDescription | ||
|
||
@Serializable | ||
class Animations( | ||
@SerialId(1) | ||
val animations: List<Animation> = emptyList() | ||
) : AnimationsDescription | ||
|
||
|
||
@Serializable | ||
class Animation( | ||
@SerialId(1) | ||
val name: String, | ||
@SerialId(2) | ||
val boneId: String, | ||
@SerialId(3) | ||
val keyFrames: List<KeyFrame> | ||
) | ||
|
||
@Serializable | ||
class KeyFrame( | ||
@SerialId(1) | ||
val time: Float, | ||
@SerialId(2) | ||
val transformation: Transformation, | ||
@SerialId(3) | ||
val interpolation: String // not used now | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
package collada | ||
|
||
import kotlinx.serialization.SerialId | ||
import kotlinx.serialization.Serializable | ||
|
||
interface SkinDescription | ||
|
||
@Serializable | ||
object EmptySkin : SkinDescription | ||
|
||
class Skin( | ||
@Serializable | ||
class WeightInfluence( | ||
@SerialId(1) | ||
val boneId: String, | ||
@SerialId(2) | ||
val weight: Float | ||
) | ||
|
||
) : SkinDescription | ||
@Serializable | ||
class Influence(@SerialId(1) val weights: List<WeightInfluence> = emptyList()) | ||
|
||
@Serializable | ||
class Skin( | ||
@SerialId(1) | ||
val influences: List<Influence> = emptyList() | ||
) : SkinDescription |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package collada | ||
|
||
import kotlin.test.Ignore | ||
import kotlin.test.Test | ||
|
||
interface Content<T> { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"mesh":{"vertices":[{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}}],"verticesOrder":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,0,18,1,3,19,4,6,20,7,9,21,10,12,22,13,15,23,16]},"armature":{"type":"collada.EmptyArmature"}} | ||
{"mesh":{"vertices":[{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.0,"b":0.0,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}}],"verticesOrder":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,0,18,1,3,19,4,6,20,7,9,21,10,12,22,13,15,23,16]},"armature":{"type":"collada.EmptyArmature"},"skin":{"type":"collada.EmptySkin"},"animations":{"type":"collada.EmptyAnimations"}} |
Binary file not shown.
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"mesh":{"vertices":[{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}}],"verticesOrder":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]},"armature":{"type":"collada.EmptyArmature"}} | ||
{"mesh":{"vertices":[{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":1.0,"g":0.4431372,"b":0.7254902,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":1.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.1294118,"g":0.0,"b":1.0,"a":1.0},"normal":{"x":0.0,"y":-1.0,"z":0.0}},{"position":{"x":-1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":-1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":-1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":0.0,"z":-1.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":1.0,"y":-1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":1.0,"y":0.0,"z":0.0}},{"position":{"x":-1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}},{"position":{"x":1.0,"y":1.0,"z":-1.0},"color":{"r":0.5019608,"g":1.0,"b":0.772549,"a":1.0},"normal":{"x":0.0,"y":1.0,"z":0.0}}],"verticesOrder":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]},"armature":{"type":"collada.EmptyArmature"},"skin":{"type":"collada.EmptySkin"},"animations":{"type":"collada.EmptyAnimations"}} |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+52 Bytes
(100%)
collada-api/src/commonTest/resources/monkey_color.protobuf
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+52 Bytes
(100%)
collada-api/src/commonTest/resources/monkey_color2.protobuf
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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
Oops, something went wrong.