#Win32 Graphics Programming Learning ##Features
- Transform Matrix:
- Local Transform(Translation, Rotation and Scale)
- Camera Transform
- Projection Transform(Orth and Perspective)
- Framebuffer and Depthbuffer support
- Draw line(Bresenham Algorithm) and draw triangle support
- Lighting system:
- Direction Light
- Ambient, Specular and Diffuse color support
- Shininess support
- Vertex Lit
- Per Pixel Lit (normal interpolation)
- Backface culling
- Triangle clipping
- Triangle scan line algorithm (Rasterization)
- Perspective Texture Mapping
- Depth Test
- Camera control using keyboard and mouse
- Frame update and refresh 60 times per second
- Render object auto-rotation
- Example:
- Cube
- Quad with texture
- Sphere with texture
##System requirement
- Visual Studio 2013 utimate with update 4
- window 7 or above
##Bugs
- [Fixed] After porj-model-view transform, x,y,z must not divided by w before triangle clipping.
- Cannot get the accurate windows resolution in virtual machine.
- [Fixed] Texture coordinate interpolation while clipping.
- [Fixed] Depth buffer value < 0.
- Blink while scaling window or moving window.
- [Fixed] Back face culling error.
- [Fixed] Interpolated fragment out of triangle.
- [Fixed] Clipping triangle while orth projection.
- [Fixed] Buffer overflow.
- [Fixed] Clipping triangle come out more than 6 points.