Playing around with Perspectives...
I was fiddling around with some XNA coding using mainly the Animation component, and it was quite simple to create a basic 3D universe and put models on them.
With whatever little math knowledge that i have, i created a simple perspective engine to see the 3d world from above and from first person.

See that guy above? He's our protagonist. He's standing between a copter and a Nissan car. At this moment, you can actually control him. Left/Right to rotate his orientation, Up and Down to move forward/ backwards.
Switch to first person view (Hold Space bar on Windows or Left Trigger on XBOX) from the above spot and this is what you see. Hold on to the trigger button to stay in First person mode. You can still move around, turn left or right and tilt up and down in first person mode.


Here's the car's plate no.

And here's after i tilt up to focus on the copter.
This is just another view of the scene from the front of the car
Erik : I uploaded the Source code to our Project folder (not the CS4343 community), under the folder XNA, file name : 18862.rar. This is using the latest Animation Component source code, and if you look through the solution, you can see I am also playing around with another component to draw fonts in XNA, called Nuclex.Fonts, can be found here.
Next thing to do:
- Create some scenes
- Implement the Photo/ Scene Engine for the Gameplay
- Class/ Data structure/ XML ? For scalability
With whatever little math knowledge that i have, i created a simple perspective engine to see the 3d world from above and from first person.
See that guy above? He's our protagonist. He's standing between a copter and a Nissan car. At this moment, you can actually control him. Left/Right to rotate his orientation, Up and Down to move forward/ backwards.
Move him behind the car now, and look at the Car's plate number. I managed to find a way to tilt his head up and down to simulate looking up and down.
Here's the car's plate no.
And here's after i tilt up to focus on the copter.
Erik : I uploaded the Source code to our Project folder (not the CS4343 community), under the folder XNA, file name : 18862.rar. This is using the latest Animation Component source code, and if you look through the solution, you can see I am also playing around with another component to draw fonts in XNA, called Nuclex.Fonts, can be found here.
Next thing to do:
- Create some scenes
- Implement the Photo/ Scene Engine for the Gameplay
- Class/ Data structure/ XML ? For scalability

0 Comments:
Post a Comment
<< Home