CSE 781 Classwork
Overview
For my final project, I would like to focus on allowing simple reflections on a chess board. There will also be a use of noise to create a sky texture and possibly bump mapping to create a grassy area for the chess board to sit on. The chess pieces won't be anything special unless I can find some 3ds models that I can use.Algorithm
Chess Board Reflection
I will use techniques that apply to planar reflections to achieve this effect. The most logical algorithm for this appears to be the texture clipping method described in class.- Render the reflected geometry
- Store the image into a texture (using glCopyTexImage2D)
- Clear the color and depth buffer
- Redraw the entire scene, with the reflector textured with the previous texture (the process of texturing reflector will automatically clip the reflected geometry outside the boundary)
Sky Texture Noise
- Generate a white texture with an alpha of 0.5
- Perturb this alpha component texture using some sort of noise function
- Create variable to pass offset into shader to allow for animation of clouds. This will hopefully create a lively scene
Bumpmapped Grass
- Procedurally create texture containg normals
- Use Dot3 bump mapping technique
Implementation
None yet.Results
None yet.References
- OpenGL Programming Guide, Fourth Edition
- OpenGL SuperBible, Third Edition
- OpenGL Shading Language, Second Edition