Stefan has released his first demopack for GeeXLab.
The polyline is a nice object because it allows you to draw lot of lines with one render call.
Here is a simple slideshow demo. You load several images using the LoadTexture() (INIT script line 20) function and each texture is displayed during duration time (FRAME script lines 3 and 7).
Today we are going to see how to build and render a simple scene that includes a camera, a triangle, a reference grid and a GPU program (in GLSL). GLSL Hacker supports both Lua and Python programming languages. We will use Lua for this article. So let’s go!
Today, a small code sample (in Lua) that shows how to use the mouse to put where you want on the screen a letter with random parameters (position, scaling, orientation and color).