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 InputEngine(this));
|
||||||
WorldBuilder.AddEngine(new AngularVelocityEngine());
|
WorldBuilder.AddEngine(new AngularVelocityEngine());
|
||||||
WorldBuilder.AddEngine(new MoveAlongCurve3DEngine());
|
WorldBuilder.AddEngine(new MoveAlongCurve3DEngine());
|
||||||
|
@ -137,40 +145,45 @@ namespace KavTest
|
||||||
// new Vector3(-1, 1, 1)
|
// new Vector3(-1, 1, 1)
|
||||||
// ));
|
// ));
|
||||||
|
|
||||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||||
new Transform3D(new Vector3(0, 1, 0), Quaternion.Identity, new Vector3(1f, 1f, 1f)),
|
// new Transform3D(new Vector3(0, 1, 0), Quaternion.Identity, new Vector3(1f, 1f, 1f)),
|
||||||
rustyBallModel
|
// rustyBallModel
|
||||||
));
|
// ));
|
||||||
|
|
||||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||||
new Transform3D(new Vector3(0, -3, 0), Quaternion.Identity, new Vector3(10f, 1f, 10f)),
|
// new Transform3D(new Vector3(0, -3, 0), Quaternion.Identity, new Vector3(10f, 1f, 10f)),
|
||||||
floorModel
|
// floorModel
|
||||||
));
|
// ));
|
||||||
|
|
||||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||||
new Transform3D(
|
// new Transform3D(
|
||||||
new Vector3(-3, 1, 0),
|
// new Vector3(-3, 1, 0),
|
||||||
Quaternion.CreateFromAxisAngle(
|
// Quaternion.CreateFromAxisAngle(
|
||||||
Vector3.Right,
|
// Vector3.Right,
|
||||||
-Microsoft.Xna.Framework.MathHelper.PiOver2
|
// -Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||||
),
|
// ),
|
||||||
new Vector3(1f, 1f, 1f)
|
// new Vector3(1f, 1f, 1f)
|
||||||
),
|
// ),
|
||||||
blueTorusModel
|
// blueTorusModel
|
||||||
));
|
// ));
|
||||||
|
|
||||||
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
// WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||||
new Transform3D(
|
// new Transform3D(
|
||||||
new Vector3(3, 1, 0),
|
// new Vector3(3, 1, 0),
|
||||||
Quaternion.CreateFromAxisAngle(
|
// Quaternion.CreateFromAxisAngle(
|
||||||
Vector3.Right,
|
// Vector3.Right,
|
||||||
-Microsoft.Xna.Framework.MathHelper.PiOver2
|
// -Microsoft.Xna.Framework.MathHelper.PiOver2
|
||||||
),
|
// ),
|
||||||
new Vector3(1f, 1f, 1f)
|
// new Vector3(1f, 1f, 1f)
|
||||||
),
|
// ),
|
||||||
cubeModel
|
// cubeModel
|
||||||
));
|
// ));
|
||||||
|
|
||||||
|
WorldBuilder.SendMessage(new StaticModelSpawnMessage(
|
||||||
|
Transform3D.Identity,
|
||||||
|
toonShadeRuinsModel
|
||||||
|
));
|
||||||
|
|
||||||
for (var i = 0; i < 1; i++)
|
for (var i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
var start = RandomHelper.RandomVector3(-5, 5);
|
var start = RandomHelper.RandomVector3(-5, 5);
|
||||||
|
|
Loading…
Reference in New Issue