Rendu
A lightweight rendering engine for experimentations
|
Example of using the stencil buffer for visual effects.
Perform black and white rendering of a scene with alternating stripes depending on the number of primitives covering each surface.
Classes | |
class | StenciledApp |
Application for the stencil demo. More... | |
class | StenciledRenderer |
Renders a scene with an alternating black and white region style, using the stencil buffer to count primitives covering each pixel. More... | |
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
The main function of the physically-based rendering demo. Handles the setup and main loop.
argc | the number of input arguments. |
argv | a pointer to the raw input arguments. |