The UFO is too small. You want to make it appear bigger on the rendered scene. However, you do not want to change the camera's parameters. Unfortunately, the 3D digital artists cannot change the original model because they are attending a conference.
Now, we are going to scale this 3D character changing the values of the world matrix's elements.
1. Stay in the
3DInvadersSilverlight
project.2. Open
Ufo.cs
.3. Replace the lines that update the mesh's world matrix with these:
_mesh.World = Balder.Core.Math.Matrix.CreateRotationX(_angleDegrees.X) * Balder.Core.Math.Matrix.CreateRotationY(_angleDegrees.Y) * Balder.Core.Math.Matrix.CreateRotationZ(_angleDegrees.Z) * Balder.Core.Math.Matrix.CreateScale(new Vector(4f, 4f, 4f));
4. Build and run the solution. The default web browser will appear displaying the two spaceships, and a bigger UFO made of bricks rotating around itself in two axes while moving through the 3D space, as shown in the following screenshot...