SvenGL | C++ SvenGL Swarm Gallery

All images were created using Swarm in a resolution of 1024x768 pixels, 24-bit colour depth. The computer was an AMD Athlon Thunderbird 900 MHz, equipped with a CardExpert GeForce2 MX graphics card, running Windows 98. OpenGL's anti-aliasing was disabled and the images were converted from BMP to JPG (because each bitmap file was about 2.25 MB).
Note: when running Swarm, press the P-key and watch yourself flying around...

Click on the small images to view their full-sized versions.

(a) (b)
(c) (d)
(e) (f)
(g) (h)
In (a) you can see OpenGL's rendering when lighting is turned off (notice the blending of all the edges/surfaces in the objects' uniform colours). In (b) lighting was turned on (you can clearly see the shading due to the the diffuse colour component and the specular highlights). In (c) I used teapots instead of ordinary cones (every flying agent is oriented in the direction it's flying). In (d) I used the dreaded Borg-cubes. (e) and (f) show close-ups of two interlocking pulsating tori. The difference between them is flat shading (e) versus interpolated Gouraud shading (f). (g) shows what happens when the camera's 'near plane' is moved forward: the polygonal intersection with the tori is clearly visible. In (h) I introduced fog to the scene: objects that are more distant appear more blended with the grey fog colour.