Short Courses on Computer Graphics, Image Processing and Computer Vision
Let me know what you think Mail me...

Course 3D_XNA: 3D-Computer Graphics with C# and XNA

Copyright © by V. Miszalok, last update: 17-07-2010

  Visitors since 01-01-2002
deutsch english
Einführung
Windows und Graphik-Treiber auf neustem Stand ?
Visual C# 2005 Express und XNA Game Studio 3.1
DirectX End-User Runtime oder DirectX SDK
Bücher
Tutorials
C1: Animierte Dreiecke
C2: Licht und Textur
C3: Rotierender Tiger
C4: XBox 360 Controller, NoName-GamePads und Wiimote
C5: Würfel mit Textur
C6: Raumschiff in einer Landschaft
Introduction
Update Windows and its Graphics Driver
Install Visual C# 2008 Express and XNA Game Studio 3.1
Install DirectX End-User Runtime or DirectX SDK
Books
Tutorials
C1: Moving Triangles
C2: Light and Texture
C3: Drunken Tiger
C4: XBox 360 Controller, NoName-GamePads and Wiimote
C5: Textured Dice
C6: Space Ship in a Landscape

Windows und Graphik-Treiber auf neustem Stand ?

1. Laden und installieren Sie via Windows Internet Explorer → Extras → Windows Update die neuesten Updates für Ihr Betriebssystem.
2. Starten Sie das DirectX-Diagnoseprogramm C:\Windows\System32\dxdiag.exe (oder wo es auch immer sei auf Ihrer Festplatte).
3. Auf der dxdiag-Anzeige-Karteikarte stehen Hersteller und Typ Ihrer Graphikkarte.
4. Suchen Sie im Internet den Hersteller und laden Sie den neuesten Treiber für Ihre Karte und installieren Sie diesen.
5. Testen Sie den Erfolg mit dxdiag.exe.

Update Windows and its Graphics Driver

1. Load and install the most recent updates of Your operating system via Windows Internet Explorer → Extras → Windows Update.
2. Test the DirectX properties of Your graphic board as follows: Start C:\Windows\System32\dxdiag.exe (or wherever it may be on the hard disk).
3. Check the manufacturer and the type of Your graphics card on the dxdiag-Display-tab .
4. Search the manufacturer on the internet and download the newest driver version of the card and install it.
5. Test again whether the update succeeded with dxdiag.exe.

XNA Game Studio 3.1 und 4.0 Beta

Stand 17. Juli 2010: XNA 3.1 geht nur mit Visual Studio 2008 oder Visual C# 2008 Express. Es verträgt sich nicht mit Visual C# 2010 Express, das wird erst mit dem zukünftigen XNA 4.0 funktionieren. Zum Glück vertragen sich Visual C# 2010 Express und Visual C# 2008 Express ohne Probleme auf einem System.
Downloaden und installieren Sie XNA Game Studio 3.1.
Sie finden es unter: http://www.microsoft.com/downloads/...
Wenn Sie eine Version von Visual Studio 2010 haben und keinerlei altes Visual Studio 2008 installieren wollen, dann müssen Sie die Beta-Version von XNA Game Studio 4.0 nehmen, die merkwürdigerweise Windows Phone Developer Tools heißt.

Die gesamte XNA Dokumentation findet sich hier: XNA 3.1 und hier: XNA 4.0.

XNA Game Studio 3.1

Download and install XNA Game Studio 3.1: http://www.microsoft.com/downloads/...

Microsoft XNA Library: MSDN.

DirectX End-User Runtime oder DirectX SDK

Suchen Sie unter Systemsteuerung → Software → Microsoft ..., ob ein altes DirectX SDK auf Ihrem Rechner installiert ist. Falls ja, deinstallieren Sie dieses so vollständig wie möglich.
Downloaden Sie das neueste DirectX End-User Runtime 20 KB - 96.5 MB
von www.microsoft.com/downloads/... oder, wenn Sie zusätzlich zu XNA auch DirectX programmieren wollen, das DirectX SDK (June 2010) 571.7 MB. Wenn Sie sich für das DirectX SDK entscheiden, installieren Sie es am besten in ein neues, spezielles eigenen Verzeichnis C:\DXSDK oder D:\DXSDK. Sie müssen dazu
1) C:\DXSDK anlegen (oder leeren, falls schon vorhanden),
2) DXSDK_Jun10.exe 571.7 MB dorthin kopieren und starten,
3) den automatischen Entpacker auf C:\DXSDK lenken und
4) während des Setup den Default-Zielpfad auf C:\DXSDK ändern.

DirectX End-User Runtime or DirectX SDK

Check Settings → Software → Microsoft ..., if a former DirectX SDK is installed on your computer. In this case deinstall it as completly as possible.
Download the most recent DirectX End-User Runtime 20 KB - 96.5 MB
from www.microsoft.com/downloads/... or, if You want to program DirectX additionally to XNA, the DirectX SDK (June 2010) 571.7 MB. Install the DirectX SDK into its own and new directory C:\DXSDK or D:\DXSDK. Steps
1) Create C:\DXSDK.
2) Copy DXSDK_Jun10.exe 571.7 MB there and start it.
3) Unzip into directory C:\DXSDK.
4) During setup change the default target path to C:\DXSDK.

Bücher

1. KONEROW Jens: XNA Framework. schnell + kompakt
entwickler-press, ISBN: 978-3-939084-53-2,  € 8, (130 Seiten)
oder als E-Buch, € 6,70.
2. SCHUMANN H.-G.: Spieleprogrammierung mit dem XNA Framework, ISBN 3-86645-527-5, € 20, (340 Seiten)

Books

1. CARTER Chad: Microsoft XNA Game Studio 3.0, ISBN: 0-67233-022-9, $ 50, (790 pp)
2. REED Aaron: Learning XNA 3.0, ISBN: 978-0-596-52195-0, $ 35, (500 pp)
3. GROOTJANS Riemer: XNA Game Programming Recipes: A Problem-Solution Approach. www.apress.com, ISBN: 978-1-59059-925-9, $ 40, (450 pp)
4. HALL Joseph: Professional XNA Programming, ISBN: 1598633686, (762 pp)

Tutorials

1. https://www.microsoft.com/germany/msdn/webcasts/...:
Vier Webcasts von Jens Konerow über Spieleentwicklung mit dem XNA Framework.

2. http://www.evo-x.de/wbb2/thread.php?threadid=...:
XNA Tutorial von "tajbender" beginnend mit der Installation von C# Express.

3. http://www.xnamag.de/: Mehrere XNA Tutorials von Steffen Krengel.

4. Sehr gut: Microsoft XNA-Tutorials

Tutorials

1. Riemer Grootjans: http://www.riemers.net
2. Microsoft: XNA Creators Club Online
3. Microsoft MSDN: http://msdn2.microsoft.com/en-us/xna/default.aspx: XNA Developer Center with the XNA Game Studio Forum.
4. http://en.wikipedia.org/wiki/Microsoft_XNA: Constantly updated with many links.
5. http://xnadevelopment.com: Links, tutorials and tips to get you started with XNA.

C1: Animierte Dreiecke

     
   

C1: Moving Triangles

ZIP 7kB Demo → Unzip and start triangle1.exe
ZIP 26kB Project → Unzip to C:\temp\ and start triangle1.sln
Link C# Guidance
PDF C# Guidance Print Version
Link C# Complete Code
PDF C# Complete Code Print Version
Link Code Comments
PDF Code Comments Print Version

C2: Licht und Textur

     
   

C2: Light and Texture

ZIP 153kB Demo → Unzip and start light1.exe
ZIP 49kB Project → Unzip to C:\temp\ and start light1.sln
Link C# Guidance
PDF C# Guidance Print Version

C3: Rotierender Tiger

     
       

C3: Drunken Tiger

ZIP 324kB Demo → Unzip and start TigerRot1.exe
ZIP 1.6MB Project → Unzip to C:\temp\ and start TigerRot1.sln
Link C# Guidance
PDF C# Guidance Print Version
Link C# Code Comments
PDF C# Code Comments Print Version

C4: XBox 360 Controller, NoName-GamePads, Wiimote

     
   

C4: XBox 360 Controller, NoName-GamePads, Wiimote

controller1
requires an USB XBox 360 Controller.
ZIP 42kB Demo → Unzip and start controller1.exe
ZIP 93kB Project → Unzip to C:\temp\ and start controller1.sln
Link C# Guidance for a XBox 360 Controller
PDF C# Guidance Print Version
Link C# Code Comments
PDF
C# Code Comments Print Version
gamepad1
works with a lot of no-name USB game pads.
ZIP 48kB Demo → Unzip and start gamepad1.exe
ZIP 98kB Project → Unzip to C:\temp\ and start gamepad1.sln
Link C# Guidance for NoName GamePads
PDF
C# Guidance Print Version
wiimote1
works with a Wii controller.
ZIP 103kB Demo → Unzip and start wiimote1.exe
ZIP 102kB Project → Unzip to C:\temp\ and start wiimote1.sln
Link C# Guidance for a Wii controller
PDF C# Guidance Print Version

C5: Würfel mit Textur

     
   

C5: Textured Dice

dice1
requires an USB XBox 360 Controller.
ZIP 14kB Demo → Unzip and start dice1.exe
ZIP 35kB Project → Unzip to C:\temp\ and start dice1.sln
Link C# Guidance
PDF C# Guidance Print Version
Link C# Code Comments
PDF C# Code Comments Print Version

C6: Raumschiff in einer Landschaft

     
   

C6: Space Ship in a Landscape

skybox1
requires an USB XBox 360 Controller.
ZIP 0.4MB Demo → Unzip and start skybox1.exe
ZIP 1.5MB Project → Unzip to C:\temp\ and start skybox1.sln
Link C# Guidance
PDF C# Guidance Print Version
Link C# Code Comments
PDF C# Code Comments Print Version
top of page: