?x Freeplot
OpenGL
Freeplot

WTF?

This is a simple demo of some OpenGL features. Nothing very new here but it is fun to fly around parametric surfaces at 80fps ;). Sources provided.

Features

Some of the features included: multiple mirror images (with progressive fade), visible transparent clip plane for surfaces, visible transparent normals, visible shining lights (true spherical non projective), progressive lens flares (fading when hidden by surface), realistic wall lighting, surface projection on walls, stupid scrolling banner (wall wrapping), textures on surface (generated or pictures), texture fonts (sucked from X server), antialiased adaptative grids, fog for depth cuing, animated objects (surface, observer, light, clip plane...), animation speeds are frame rate independent, predefined display modes (from my old Apple][+ greenish point plot to mirror/fog/texture... voodoo2), predefined parametric surfaces (z=f(x,y) and (x,y,z)=f(u,v)), user input for parameters controling surfaces, unified PNG I/O for images/textures., stats (triangle/second and frame/second), comprehensive help screen ;)

Download sources

They are provided as is. Code is plain C/OpenGL and is widely portable. The makefile is ok for Linux/Mesa/Glide but should be easy to adapt. Please let me know if you improve freeplot in any way email ;).
freeplot.tgz (~550k)

Screenshots

zoom
mesh nodes
zoom
mesh lines
zoom
plain surface
zoom
gouraud shaded
zoom
walls with simple ligthing
zoom
visible light and real point lighting
zoom
lens flares
zoom
ground miror
zoom
wall miror
zoom
multiple reflections
zoom
textures on surface
zoom
textures on walls
zoom
wall projection
zoom
normals and scrolling banner
zoom
variations on shells
zoom
parameter evolution 1
zoom
parameter evolution 2
zoom
help screen

Back to home page oliv@arsac.org