Zanir » Programming

Archive for the ‘Programming’ Category

Program 22 – Horizon Mapping

06.01.2005

022_Horizon_MappingHorizon Mapping is sometimes name also self shadowing. The bump on surface cast shadows on surface. I used this article.

Program request pixel shader 1.1. Uses also ps 1.4.

source code and executable – 800kB

Program 21 – Many Per Pixel Lights with Stencil Shadow

29.12.2004

021_MPPL_ShadowProgram show stencil shadow on many lights. This is vertex lighting, per pixel lighting and per pixel lighting with offset mapping.

Program request hardware accelerated 8 bits stencil buffer. Uses also pixel shader 1.1 and 1.4.

source code and executable – 720kB

Program 20 – Stencil Shadow

22.12.2004

020_Stencil_ShadowProgram show stencil shadow and bump mapping with attenuation. I use z-fail algorithm which is described in Practical and Robust Shadow Volumes (.pdf) (2153 KB) document.

Program request hardware accelerated 8 bits stencil buffer. Uses also pixel shader 1.1.

source code and executable – 650kB

3D_Lsystems java applet

12.12.2004

3D_Lsystems_javaApplet is here.
Applet description in Slovak language is here and description of description in Slovak language is here.

runable jar – 170kB
source code and class files – 410kB

J006 – camera

06.11.2004

J006_cameraDownload:
runable jar
source code

Applet:

Read the rest of this entry »

J005 – z-buffer

06.11.2004

J005_zBufferDownload:
runable jar
source code

Applet:

Read the rest of this entry »

J004 – lights

01.11.2004

J004_lightsDownload:
runable jar
source code

Applet:

Read the rest of this entry »

J003 – triangle

01.11.2004

J003_trianglesDownload:
runable jar
source code

Applet:

Read the rest of this entry »

J002 – perspective

01.11.2004

J002_perspectiveDownload:
runable jar
source code

Applet:

Read the rest of this entry »

J001 – lines

31.10.2004

J001_linesDownload:
runable jar
source code

Applet:

Read the rest of this entry »