BasicKeyboard
Purpose
This sample is all about the reading of the keyboard. Displays the scan code of each key pressed.
Downloads
The project files are available here: PeonSDK-BasicKeyboard
This sample is all about the reading of the keyboard. Displays the scan code of each key pressed.
The project files are available here: PeonSDK-BasicKeyboard
This sample is a demonstration of using VertexArrays within your scene. It’s yet another mechanism provided by OpenGL to speed up rendering objects in your game world. Instead of feeding the vertices into the pipeline “by hand” you’re caching them.
Download the project files here: PeonSDK-BasicVertexArray
This sample demonstrates how to use multitexturing in your scene. In the past, to render a scorch mark on a wall, or maybe some brains exploding, you had to first set one texture, render the object, then set the other texture, render, and repeat. With the multitexturing capabilities of OpenGL, you can set multiple textures at once, which feed into the final output for the scene.
Download the project files here: PeonSDK-BasicMultitexturing
This sample demonstrates how to use OpenGL’s basic lighting in your scene. It’s all done by the hardware, you just need to position the light along with defining how that light source interacts with any object in your game world. OpenGL will do the rest.
Download the project files here: PeonSDK-BasicLight
This sample demonstrates how to use the handy dandy alpha blending capabilites of OpenGL. This allows you to create transparency effects within your scene, which steps up the “Cool Factor”.
Download the project files here: PeonSDK-BasicBlending