• Journal
  • Gallery
  • Products
  • Projects
  • Tutorials

Raytracer

Link to this picture

2008.04.27.01.png

Link to this picture

Surfaces can implement ITexturable, which requires that they return a (u,v) texture coordinate for the struck (x,y,z) coordinate.

Surfaces can implement ITexturable, which requires that they return a (u,v) texture coordinate for the struck (x,y,z) coordinate.

Link to this picture

Planes need to define two vectors to align the texture to their surface - one per texture axis.

Planes need to define two vectors to align the texture to their surface - one per texture axis.

Link to this picture

Procedurally generated textures.

Procedurally generated textures.

Link to this picture

Infinite cylinder test. The normal is set to point straight forwards, so shading is innacurate.

Infinite cylinder test. The normal is set to point straight forwards, so shading is innacurate.

Link to this picture

Multiple cylinder test. The normal is now calculated.

Multiple cylinder test. The normal is now calculated.

Link to this picture

Bounded cylinder test. These cylinders have their ends capped with spheres.

Bounded cylinder test. These cylinders have their ends capped with spheres.

  • Introduction
  • VB6 Terrain
  • OpenWorld
  • Raycaster
  • SoftWorld
  • MDX DOOM
  • XNA Quake
  • Raytracer
    • 24/04/2008
    • 25/04/2008
    • 26/04/2008
    • 27/04/2008
    • 28/04/2008
    • 29/04/2008
    • 30/04/2008
    • 02/05/2008
    • 05/05/2008
  • BBC BASIC
  • XNA DOOM 3
  • Bletchley Park
Site Contents © Ben Ryves 2003–2023