testing beau's toon export
parent
ed6a6a893a
commit
1486ba6625
2
Kav
2
Kav
|
@ -1 +1 @@
|
|||
Subproject commit 1f10698811a57b11d343dee62a47ec1b5610b626
|
||||
Subproject commit 19a61985ca25a7562a7f62e03186f0ccfdc1c8ef
|
Binary file not shown.
|
@ -111,6 +111,14 @@ namespace KavTest
|
|||
)
|
||||
);
|
||||
|
||||
var toonShadeRuinsModel = Kav.ModelLoader.Load(
|
||||
GraphicsDevice,
|
||||
Smuggler.Importer.ImportGLB(
|
||||
GraphicsDevice,
|
||||
File.OpenRead("Content/ToonShadeRuins.glb")
|
||||
)
|
||||
);
|
||||
|
||||
WorldBuilder.AddEngine(new InputEngine(this));
|
||||
WorldBuilder.AddEngine(new AngularVelocityEngine());
|
||||
WorldBuilder.AddEngine(new MoveAlongCurve3DEngine());
|
||||
|
@ -137,38 +145,43 @@ namespace KavTest
|
|||
// new Vector3(-1, 1, 1)
|
||||
// ));
|
||||
|
||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
new Transform3D(new Vector3(0, 1, 0), Quaternion.Identity, new Vector3(1f, 1f, 1f)),
|
||||
rustyBallModel
|
||||
));
|
||||
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
// new Transform3D(new Vector3(0, 1, 0), Quaternion.Identity, new Vector3(1f, 1f, 1f)),
|
||||
// rustyBallModel
|
||||
// ));
|
||||
|
||||
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
// new Transform3D(new Vector3(0, -3, 0), Quaternion.Identity, new Vector3(10f, 1f, 10f)),
|
||||
// floorModel
|
||||
// ));
|
||||
|
||||
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
// new Transform3D(
|
||||
// new Vector3(-3, 1, 0),
|
||||
// Quaternion.CreateFromAxisAngle(
|
||||
// Vector3.Right,
|
||||
// -Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||
// ),
|
||||
// new Vector3(1f, 1f, 1f)
|
||||
// ),
|
||||
// blueTorusModel
|
||||
// ));
|
||||
|
||||
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
// new Transform3D(
|
||||
// new Vector3(3, 1, 0),
|
||||
// Quaternion.CreateFromAxisAngle(
|
||||
// Vector3.Right,
|
||||
// -Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||
// ),
|
||||
// new Vector3(1f, 1f, 1f)
|
||||
// ),
|
||||
// cubeModel
|
||||
// ));
|
||||
|
||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
new Transform3D(new Vector3(0, -3, 0), Quaternion.Identity, new Vector3(10f, 1f, 10f)),
|
||||
floorModel
|
||||
));
|
||||
|
||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
new Transform3D(
|
||||
new Vector3(-3, 1, 0),
|
||||
Quaternion.CreateFromAxisAngle(
|
||||
Vector3.Right,
|
||||
-Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||
),
|
||||
new Vector3(1f, 1f, 1f)
|
||||
),
|
||||
blueTorusModel
|
||||
));
|
||||
|
||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||
new Transform3D(
|
||||
new Vector3(3, 1, 0),
|
||||
Quaternion.CreateFromAxisAngle(
|
||||
Vector3.Right,
|
||||
-Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||
),
|
||||
new Vector3(1f, 1f, 1f)
|
||||
),
|
||||
cubeModel
|
||||
Transform3D.Identity,
|
||||
toonShadeRuinsModel
|
||||
));
|
||||
|
||||
for (var i = 0; i < 1; i++)
|
||||
|
|
Loading…
Reference in New Issue