Insolit Dust Logo

Oldschool Productions And Demo Effects
Linux - Windows - Aros - Haiku

Insolit Dust Source Code

Insolit Dust productions (demo, intro, etc..) - Insolit Dust home page - Insolit Dust graphics


No Image Logo

Insolit Dust base class: Texture

This
is a simple class
that allows you to read a .pcx file (256 colors). Main methods are:
  • Contructor, accept the name of pcx file.
  • GetPalette(), return a pointer to pcx palette.
  • GetImage(), return a pointer to unpacked image.
  • GetXSize(), return the width of the image.
  • GetYSize(), return the height of the image.
  • Destructor, free memory used.
Download texturelib.zip

No Image Logo

Insolit Dust base class: Timer

This is a simple class that return the time elapsed from its start. Main methods are:
  • Constructor, start the timer count.
  • GetCount(), return tick from start.
  • Destructor, simply destroy the class.
Download timerlib.zip

No Image Logo

Insolit Dust base class: VgaXMode

This is the main class. Manage the access to video memory and has some useful utility. Main methods are:
  • Constructor, enable the "320x240" at 256 colors mode and set or not the fullscreen visualization.
  • Update(), check for vertical retrace and show video memory on screen.
  • PutPixel(), draw a pixel on screen.
  • GetPixel(), read a pixel from screen.
  • DrawLine(), draw a line on screen.
  • Clear(), clear the screen (fill with color 0).
  • ClearToColor(), fill the screen with the selected color.
  • SetColour(), set the selected color at the value r, g, b.
  • UpdatePalette(), enabled the defined palette.
  • GetPalette(), return a pointer to the actual palette.
  • GetVideoMem(), return a pointer to the video memory.
  • Blit(), put a buffer into video memory.
  • BitmapBlit(), put a bitmap on screen.
  • GetPixTable(), return a pointer to a precalculated pixel offset table.
  • CheckLock(), check if the screen must be "locked".
  • BlackPalette(), set the actual palette to all blacks.
  • FadeIn(), fade from black palette to actual palette; accept speed.
  • FadeOut(), fade from actual palette to bleck palette; accept speed.
  • ResetFade(), reset fade functions to use another fade effect
  • Destructor, free all memory used.
Download xmodelib.zip

VgaXMode basic tutorial

VgaXMode: basic tutorial

This is a simple tutorial
that shows how to use the VgaXMode class to setup video and colors and put some object on screen (pixel and line). To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows -
Download Aros version - Download Haiku version

showpcx logo

Texture: basic tutorial

This is a simple tutorial that shows how to use the Texture class to load a pcx file, setup video and colors and show image on screen. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

FadeIn and Out

Fade in and fade out tutorial

This is a simple tutorial that shows how fade in and fade out a pcx file. To quit from tutorial press Esc key on keyboard. From this tutorial on, the main function of the tutorial will be called in a separate thread. This ensures that our effect will be executed 30 times per second on each machine, regardless of its computing power, therefore the animation will always be smooth.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Plasma

Plasma tutorial

Let's start with a classic old-school realtime effect. 256 colors plasma!!! To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

fire demo

Fire tutorial

Another classic effect: 256 colors fire!! This demo change palette every 3 seconds. To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

lens demo

Lens tutorial

Let's see how to implement this classic distortion lens effect, using a class that allows us to have all the lenses we want! To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Voxel

Voxel tutorial

Voxel Time!!! This tutorial show how implement simple voxel engine. Now the effect use 256 gray scale palette, but is simple to change the colors... To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Bumo

Bump map tutorial

This tutorial show a simple but more impressive realtime bump map. Work with any 256 grayscale pcx image.
To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Tunnel

Textured tunnel tutorial

This is another classic effect, a texturized  tunnel. Very simple code. Work with 128x128 pixels 256 colors pcx image. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Water effect

Realtime drop on water effect

This is a very beautiful effect. The code simulate rain on water with reflections and blurred animation. The original code is taken on Dark Bit Factory forum and converted to 256 grayscale palette and 320x240 resolution. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Rotozoom effect

Rotozoom effect

This is another classic effect, fast fullscreen rotozoom image. Work with any 256x256 pcx image. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Dot Torus

Moving dot torus effect

And here you have a dancing dot toroid on screen!! The animation is enriched with a fine blurring effect.  All with 163 colors. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Metaballs

Metaballs effect

Here are 8 metaballs moving on the screen. To get a better result, the screen is a little blurred. To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Twister effect

Twister effect

This is an effect most used in Amiga scene. Now you can see it on your monitor, in 256 colors!!
To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Glenz effect

Glenz cube effect

Test the transparent cube!!!
This beautiful effect  use only 64 colors. Very simple code. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Distort

Fullscreen Bitmap Distortion

This effect distort a 256 colors 320x240 pcx image. Very useful to animate a static background.
To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Fire Logo

Fire Logo effect

A variant of a classic fire effect, flame your greyscale logo at realtime!!
To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Sun

Flame Sun effect

A very nice effect that simulates a star emitting plasma!! Very optimized code. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Magiclines

Magic lines effect

And here are some beautiful lines that dancing on the screen, their movement is never the same. Probably this effect is useful as a screen saver. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version -
Download Haiku version

Warp distortion

Warp distortion effect

Another classic example: warp effect in full screen mode. The texture should be 256x256 pixels. To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version -
Download Haiku version

Gouraud Shade

Gouraud Shade effect

3D object renderized in gouraud shade mode, all in software mode!! To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Particle effect

Particles explosion effect

This effect simulates explosions made with 6000 particles. To get a better result, the screen is a little blurred. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Infinite Plane

Infinite plane effect

This effect uses a texture of 256x256 pixel and 256 colors to create an infinite plane in motion. Another classic demoeffect for you!! To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Free Direction Tunnel

Free Directional Tunnel

And here is another version of tunnel effect. The camera now moves and the code uses a texture with higher resolution: 256x256 pixel! To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Blobs effect

Blobs effect

Now is the turn of the blobs, another classic effect much used in the past. To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Whitenoise effect

Whitenoise effect

A simple effect that simulates the white noise disturb of analog TVs. To get a better result, the screen is a little blurred. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Ripples effect

Lake waves effect

Another beautiful old school effect which simulates a lake reflecting a portion of the screen. To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Burning Cube

Burning cube effect

Certainly could not miss this super classic effect. A wireframe cube that burns directly on your screens. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Horizontal Text Scroller

Horizontal bitmap scroller effect

Here's another classic demoscene effect, a horizontal bitmap text scroller that can be used in transparent mode (as pictured at left). To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Flubber effect

Flubber effect

This effect is really nice, so that was used in our first production (see the related page for info). All light reflections are precalculated on the texture palette. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Simple Underwater effect

Simple underwater effect

A simple code that simulate an underwater deformation effect,
used in our first production (see the related page for info). To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Sine dots flag

Sine dots flag effect

Another simple effect that simulate a dots moving flags. Very old school style !!! To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Shaded Dot Sphere Effect

Shaded Dot Sphere effect

This is a very particular effect... 2048 shaded dot forming a rotating sphere. To get a better result, the screen is a little blurred. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Xor Circles Effect

Xor Circles effect

Obviously could not miss a classic effect so important... fullscreen xor circles for all of you!!! To quit from tutorial press Esc key on keyboard.


Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Dots Morph Effects

Dots Morph effect

This example shows how to make a morphing between two 3D points objects: a sphere and a torus. To get a better result, the screen is a little blurred. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Particle Swarm Effect

Particles Swarm effect

This effect uses 4000 particles to simulate the flight of a swarm. Believe me, the photo not gives a good effect, download and try it. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Waving Rainbow Effect

Waving Rainbow effect

A very simple effect but interesting to animate monotonous backgrounds, uses only 11 precalculated colors. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Insolit Dust Wormhole Effect

Wormhole effect

A funnel-shaped hole sucking its texture to the middle. The texture used is 15x15 pixel. The algorithm is parameterized, in order to easily achieve different effects. To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Pixels Tunnel Effect

Pixels Tunnel effect

Here is another effect very OLD school, a tunnel of moving pixels that, unlike many, in addition to scroll changes its geometry! To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Rasterbars Effect

Rasterbars effect

This effect is very common in demos for the Commodore 64, Commodore Amiga, Atari ST, ZX Spectrum and Amstrad CPC. Now you can see it on your computer.
To quit from tutorial press Esc key on keyboard.

Dowload Linux version (read file README to compile) - Download Dev-C++ version for Windows - Download Aros version - Download Haiku version

Other effects coming....

Insolit Dust productions (demo, intro, etc..) - Insolit Dust home page - Insolit Dust graphics


Copyright 2012/2013 Calogiuri Enzo Antonio