User Manual.pdf
(
1229 KB
)
Pobierz
719982504 UNPDF
GOBLIN XNA USER MANUAL
VERSION 3.6.0
Ohan Oda
Colin MacAllister
Steven K. Feiner
Columbia University
Department of Computer Science
New York, NY 10027
July 15, 2011
CO NTENTS
Introduction ................................................................................................................. 1
Getting Started ............................................................................................................ 2
Using a Project Template ................................................................................... 2
From Scratch ...................................................................................................... 3
Hello, World ................................................................................................................. 4
Initializing your project ....................................................................................... 4
The
Default
Environment
(XNA’s
DNA)..................................................... 5
Basic Elements of an XNA GAME STUDIO APPLICATION ..................................6
Basic application Methods .................................................................................. 7
Coding
“Hello
World” ................................................................................................... 8
Class Objects ...................................................................................................... 8
Initialize()............................................................................................................9
Graphical Objects ............................................................................................. 10
Shape...................................................................................................... 10
Transformations...................................................................................... 11
Creating the ObjectS............................................................................... 11
Lighting ............................................................................................................ 12
Camera............................................................................................................. 13
Update and Draw ............................................................................................. 14
Running the Application ................................................................................... 15
Scene Graph .............................................................................................................. 16
Node Types ...................................................................................................... 16
Geometry................................................................................................ 16
Transform ............................................................................................... 18
i
Light ....................................................................................................... 19
Camera ................................................................................................... 20
Particle.................................................................................................... 21
Marker .................................................................................................... 21
Sound...................................................................................................... 22
Switch ..................................................................................................... 23
LOD ........................................................................................................ 23
Tracker.................................................................................................... 23
Scene................................................................................................................ 24
Stereoscopic Graphics ...................................................................................... 24
6DOF and 3DOF Tracking and Input Device Abstraction ............................................ 26
6DOF Input Devices.......................................................................................... 26
Intersense Hybrid Trackers...................................................................... 26
Vuzix IWear VR920 and Wrap Tracker 6TC Orientation Tracker .............. 27
Simulated 6DOF input using the mouse (GenericInput) .......................... 27
Non-6DOF Input Device ................................................................................... 28
Mouse ..................................................................................................... 28
Keyboard ................................................................................................ 28
GPS (Global Positioning System) ............................................................ 28
Augmented Reality .................................................................................................... 29
Capturing Video Images ................................................................................... 29
Optical Marker Tracking ................................................................................... 31
Improving optical marker tracking performance............................................... 32
Optical Marker Tracking with Multiple Capture Devices ................................... 32
Stereoscopic Augmented Reality ..................................................................... 33
ii
Physics Engine ........................................................................................................... 34
Physics Engine Interface ................................................................................... 34
Physical Properties ........................................................................................... 35
Newton Material Properties ............................................................................. 35
Newton Physics Library .................................................................................... 36
havok physics library ........................................................................................ 39
User Interface ............................................................................................................ 41
2D GUI.............................................................................................................. 41
Base 2D GUI Component......................................................................... 42
Panel (Container) .................................................................................... 42
Label ....................................................................................................... 42
Button..................................................................................................... 42
Radio Button ........................................................................................... 43
Check Box ............................................................................................... 43
Slider....................................................................................................... 43
Text Field ................................................................................................ 44
Progress Bar............................................................................................ 44
List .......................................................................................................... 44
Spinner ................................................................................................... 44
More complex components..................................................................... 45
Event Handling ................................................................................................. 45
Shape drawing.................................................................................................. 45
GUI Rendering .................................................................................................. 45
3D text rendering.............................................................................................. 46
Sound ........................................................................................................................ 47
iii
ShaderS ..................................................................................................................... 48
Simple Effect Shader ........................................................................................ 48
DirectX Shader ................................................................................................. 49
Other Shaders .................................................................................................. 49
Networking................................................................................................................ 50
Server ............................................................................................................... 50
Client ................................................................................................................ 51
Network Object ................................................................................................ 51
Debugging ................................................................................................................. 53
Screen Printing ................................................................................................. 53
Logging to a File ............................................................................................... 53
Model Bounding Box and Physics Axis-Aligned Bounding Box ......................... 54
Miscellaneous ............................................................................................................ 55
Setting Variables and Goblin XNA Configuration File ....................................... 55
Performance..................................................................................................... 55
iv
Plik z chomika:
kaemo
Inne pliki z tego folderu:
Tutorials.suo
(150 KB)
Tutorials.sln
(31 KB)
Installation Guide.pdf
(140 KB)
GoblinXNA.chm
(4801 KB)
User Manual.pdf
(1229 KB)
Inne foldery tego chomika:
Markers
Screen
Zgłoś jeśli
naruszono regulamin