Difference between revisions of "Tutorials"

From KlayGE
Jump to: navigation, search
(Created page with "'''Note''' Before running these samples for the first time, it's recommended to run KGEConfig, which is provided by KlayGE, to complete the configuration first. = D...")
 
 
Line 46: Line 46:
 
'''Requirements'''
 
'''Requirements'''
 
*Geforce FX+ or Radeon 9500. Geforce 6+ recommended.
 
*Geforce FX+ or Radeon 9500. Geforce 6+ recommended.
 +
 +
'''Rendering plugin supported'''
 +
*D3D11/OpenGL/OpenGLES2.
 +
 +
= Tutor1 =
 +
[[File:Tutor1.JPG|200px|thumb|right|Tutorial 1]]
 +
[[Tutor1_-_构建自己的应用程序框架|Tutorial 1: Application framework]]
 +
 +
'''Techniques'''
 +
#Application framework
 +
 +
'''Requirements'''
 +
*Geforce 4 Ti+ or Radeon 9200+.
 +
 +
'''Rendering plugin supported'''
 +
*D3D11/OpenGL/OpenGLES2.
 +
 +
= Tutor2 =
 +
[[File:Tutor2.JPG|200px|thumb|right|Tutorial 2]]
 +
[[Tutor2 - 渲染几何体数据|Tutorial 2: Geometry rendering]]
 +
 +
'''Techniques'''
 +
#Geometry rendering
 +
 +
'''Requirements'''
 +
*Geforce 4 Ti+ or Radeon 9200+.
  
 
'''Rendering plugin supported'''
 
'''Rendering plugin supported'''

Latest revision as of 01:06, 24 October 2012

Note

Before running these samples for the first time, it's recommended to run KGEConfig, which is provided by KlayGE, to complete the configuration first.


Distance mapping

Distancemapping

Distance mapping from chapter 8 of GPU Gems 2. In pixel shader, precomputed distance field is used to do local sphere ray tracing. The extension here is the silhouette can be presented well.

Techniques

  1. Distance mapping
  2. Silhouette detection
  3. Normal map compression (since 3.4.0)

Requirements

  • Geforce FX+ or Radeon 9500+. Geforce 6+ recommended.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.

Fractal

Fractal

Calculate fractal on GPUs.

Techniques

  1. Ping-pong buffers

Requirements

  • Geforce FX+ or Radeon 9500+. Geforce 6+ recommended.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.

Refract

Refract

Refraction rendering. Fresnel and dispersion are supported.

Techniques

  1. Reflection, refraction and fresnel
  2. Dispersion
  3. HDR rendering
  4. Tone mapping
  5. HDR texture compression
  6. Dual face refraction

Requirements

  • Geforce FX+ or Radeon 9500. Geforce 6+ recommended.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.

Tutor1

Tutorial 1

Tutorial 1: Application framework

Techniques

  1. Application framework

Requirements

  • Geforce 4 Ti+ or Radeon 9200+.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.

Tutor2

Tutorial 2

Tutorial 2: Geometry rendering

Techniques

  1. Geometry rendering

Requirements

  • Geforce 4 Ti+ or Radeon 9200+.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.

Vertex displacement

Vertex displacement

Calculate position and normal displacement in vertex shader.

Techniques

  1. Vertex displacement
  2. Directly compute normal by derivative function.

Requirements

  • Geforce 4 Ti+ or Radeon 9200+.

Rendering plugin supported

  • D3D11/OpenGL/OpenGLES2.