www.xbdev.net
xbdev - software development
Wednesday June 25, 2025
Home | Contact | Support | Programming.. More than just code .... | DirectX.. It's doing all the hard work for us...
     
 

DirectX..

It's doing all the hard work for us...

 

Lazers, Explosions, Fog, Grass, Camera Movement, Special Effects ... we'll explore how DirectX is able to create these things easy with a few lines f code. The following tutorials, snippets and examples will help you master both DirectX but also use it to create anything you can imagine!

DirectX3D (8.1) - The Basics


Tutorial -1- Setting up!.

Tutorial -2- Colour Triangle

Tutorial -3- Matrix Basics! (Rot. Triangle)

Tutorial -4- Cool Rotating 3D Pyramid.

Tutorial -5- Textured Triangle!

Tutorial -6- Camera!

Tutorial -7- Index Buffer.

Tutorial -8- Timing!

Tutorial -9- Lighting.

Tutorial -10- Loading an X file.

Tutorial -11- Putting Image File (image.jpg) directly to the Screen


DirectX3D (8.1) - Revision Sheets


Well for those of you either new to DirectX3D or a intermidate user, I thought I'd put together a number of study sheets. Which are single A4 pages which cover the paramerters of the various DirectX3D API's and there uses, and the available functions etc. So the would be one of Matrix's, another for the Camera, and one for vertex formats etc.

Vertex Formats

Textures 1

Textures 1


DirectX3D - Special Effects


With a little bit of creativity and a bit of code you can create some really amazing special effects, some of those effects include 3D Water, Fire, Fog etc. I'll be doing some simple examples/tutorials on some of the special effects that can be generated... it won't be long now before you'll be drooling due to the amazement of how cool they look and how simple it is.

Image Warping

FOG

Fur Tutorial

2D Pixel Fire

Simple 3D Water


DirectX Demos (8.1)


  BurningCube Source Code Executable Demo
  Grass Field (Req Vertex&Pixel Shaders) Source Code Executable Demo
  StarField Source Code Executable Demo
  MiniMario (2D DemoLevel) SourceCode Executable Demo
  Fractal Flowers (2D Randomness) SourceCode Executable Demo
  Plasma SourceCode Executable Demo
  Simple Terrain Using Colour HeightMap SourceCode Executable Demo
  X-Z Surface Plane Class SourceCode Executable Demo
Simple Ocean Surface SourceCode Executable Demo    
  SkyBox Demo SourceCode Executable Demo
  Object Selection (Mouse) SourceCode Executable Demo
  Simple Test Level (Mixing Above Demos) SourceCode Executable Demo
  Character/World Demo SourceCode Executable Demo
  Quake 2 MD2 Loader/Animation SourceCode Executable Demo
  Simple Button User Interface Demo SourceCode Executable Demo
         
         


DirectX (12.1) - Ray-Tracing


The era of real-time interactive ray-tracing is here. GPUs with specialist hardware for ray-tracing combined with SDK efeatures are allowing 3-dimensional graphic to move beyond rasterization concepts. Millions of rays can be shot into a scene to create realistic (physically accurate) effects, such as, reflections and caustics.

Of course, the code isn't easy to digest!

Simple Ray-Tracing Triangle

Basic Lighting (Cube)

Procedural Geometry


Articles & Rants


DirectX 13.0 (DX13) - YES!


DirectX 12 Visual Cheatsheet



DirectX 12 Cheatsheet (v.1.0.1).
DirectX 12 Cheatsheet (v.1.0.1).







 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2025 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.