03.08.2002
Texture projected on objects is interesting effect. This makes it possible do interesting lighting of scene, example uses light through stained glass.
source code (without jpeg.lib) and executable – 245kB
26.07.2002
Sphere mapping is technique of environment mapping. This uses a sphere map. A sphere map is a single texture of a perfectly reflecting sphere in the environment where the viewer is infinitely far from the sphere.
source code (without jpeg.lib) and executable – 342kB
09.07.2002
Unlike cine-camera where fast moving objest are blurred, each image rendered in OpenGL is sharp. This causes discontinuous motion also above FPS.
source code (without jpeg.lib) and executable – 80kB
06.07.2002
Shadows are make with light maps. Light maps are created with render to texture. Light map was creat for each wall, so camera is moved to light position and draw with dark color all objects which cast shadows. This technique is possible used only shadows which cast to planar surfaces.
source code (without jpeg.lib) and executable – 222kB
03.07.2002
Rendering to texture is interesting technique. That makes it possible to creates various effects: motion blur, radial blur, …
This works simple: uses glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, size, size, 0); to copy data from screen to texture.
source code and program – 93kB
26.06.2002
These files export AutoCad or CADKEY. I load only quadrilateral surfaces – data from 3DFACE sections. Name of level uses for texture name.
source code (without jpeg.lib) and executable – 212kB
26.06.2002
3ds files is possible export from 3ds max. In files are store texture coordinations and texture names.
source code (without jpeg.lib) and executable – 410kB