![]() |
![]() |
|
![]() |
|||||||||||||
|
Here you can find tutorials and simple solutions for some common graphics programming problems and using some of the code releases. | ||||||||||||||||
|
OpenGL Errors
Detecting OpenGL errors has been a common problem, since OpenGL does not give you error messages unless you ask for them. This solution provides a simple way to retrieve OpenGL error strings that help you locate the problem. | ||||||||||||||||
|
Easy OpenGL Extensions
On Linux platforms OpenGL extensions are ready for you to use when you include "glx.h". However, on Windows systems things are not so easy (Vista, on the other hand, is a totally different story and we will have to wait for Microsoft to find a solution for OpenGL extensions first). This solution presents a simple way of using OpenGL extensions on Windows systems without going through the trouble of dealing with function pointer initializations. | ||||||||||||||||
|
Using cyCg Code Release
Using Cg shaders with OpenGL requires some initializations and sometimes continuous update of parameters. The classes in the cyCg code release simplify the use of Cg programs with OpenGL. This tutorial demonstrates different ways of using this code release. | ||||||||||||||||
|
Easy Performance Analysis
This solution presents a way of using cyTimer code release to easily analyze the performance of your code (Note that cyTimer requires Windows operating system). Using the code provided in this solution it very simple to use many timers and measure the performance of each part of your code and find the bottleneck. | ||||||||||||||||
|
Using HAIR files
A HAIR files is a binary file that keeps hair model data (see HAIR file description for more information). This solution presents a way of using cyHair code release to easily load HAIR files and display hair models using OpenGL. | ||||||||||||||||
| |
||||||||||||||||
![]() |
![]() |
|||||||||||||||