XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
Forum
   2D Series finished!
My Book: Out Now!
      
       Go to section on this site

Additional info


Latest Forum posts

 working?
  Posted by: Nemo Krad
  When: 02/07/2009 at 16:35:53

 Example Code (Specifically, for C#)
  Posted by: Nemo Krad
  When: 02/07/2009 at 16:33:46

 working?
  Posted by: Robes
  When: 01/07/2009 at 06:40:28

 get front vertices
  Posted by: Rich_Zap
  When: 29/06/2009 at 07:27:06

 Black geometry after resize
  Posted by: TimGradwell
  When: 27/06/2009 at 08:39:27

 Remier! Translation of some tutorials
  Posted by: alexg
  When: 26/06/2009 at 09:40:16

 For beginners
  Posted by: Archenon
  When: 25/06/2009 at 13:13:03

 Red X
  Posted by: Archenon
  When: 25/06/2009 at 13:07:07

 Graphics Device Problems
  Posted by: Anonymous
  When: 25/06/2009 at 12:40:40

 Red X
  Posted by: Anonymous
  When: 24/06/2009 at 14:55:40


Ads

XNA Tutorial for C# overview – Series 1

This part of the site shows you how easy it is to get a XNA program up and running!. This tutorial is aimed at people who haven't done any 3D programming so far and would like to see some results in the shortest possible time. To this end, XNA is an ideal programming environment. Using C# as programming language, the code looks very much like Java, so anyone having some notions of Java should be able to start right away. Even more, this tutorial is written in such a way that anyone who has any programming experience should be able to understand and complete it! Here’s a screenshot of the final chapter of Series 1:

This first series of XNA tutorial gives you a general introduction to XNA. It is divided in several chapters, which you can find listed below. In every chapter you’ll learn a basic XNA feature:
  • Starting a project: setting up and using the Development Environment
  • The effect file: effects are needed to draw stuff on the screen
  • The first triangle: defining points, displaying them using XNA
  • World space: defining points in 3D space, defining camera position
  • Rotation & translation: rotating and moving the scene
  • Indices: removing redundant vertex information to decrease AGP/PCIX bandwidth
  • Terrain basics: bringing altitude into our program
  • Terrain from file: create a terrain from an image file
  • Keyboard: read user input on the keyboard using XNA
  • Adding colors: add simple color to you terrain
  • Lighting basics: lighting can be complex to fully understand, a whole chapter on this subject
  • Terrain lighting: making use of what we learned in the previous chapter to enable lighting over our terrain

    During this series you will need to download the following resources:
  • The effect file: effects.fx
  • Terrain from file: heightmap.bmp



    Google
     
    Webwww.riemers.net


    If you appreciate the amount of time I spend creating and updating
    these pages, feel free to donate -- any amount is welcome !



    - Website design & XNA + DirectX code : Riemer Grootjans -
    ©2003 - 2008 Riemer Grootjans
  • Translations

    This site in English
    This site in Korean
    This site in Czech

    Microsoft MVP Award



    2007 - 2008 MVP Award
    DirectX - XNA

    Contents

    News
    Home
    Forum
    XNA 2.0 Recipes Book (8)
    XNA 3.0 Recipes Book (8)
    Downloads
    Extra Reading (3)
    Matrices: geometrical
    Matrix Mathematics
    Homogenous matrices
    Community Projects (1)
    Tutorials (160)
    XNA 3.0 using C# (89)
    2D Series: Shooters! (22)
    3D Series 1: Terrain (13)
    Starting a project
    The effect file
    The first triangle
    World space
    Rotation - translation
    Indices
    Terrain basics
    Terrain from file
    Keyboard
    Adding colors
    Lighting basics
    Terrain lighting
    VertexBuffer & IndexBuffer
    3D Series 2: Flightsim (14)
    3D Series 3: HLSL (18)
    3D Series 4: Adv. terrain (19)
    Short Tuts (3)
    DirectX using C# (54)
    DirectX using C++ (15)
    DirectX using VB (2)
    -- Expand all --


    Thank you!

    Support this site --
    any amount is welcome !

    Stay up-to-date

    I don't have the time to keep a News section, so stay informed about the updates by clicking on this RSS file!