The following list contains my programs made in C++ Builder to present some simple algorithms from computer graphics. These programs was created during my undergraduate studies at Faculty of mathematics, physics and informatics of Comenius University. To each every program is attached one zip file, which contains the executable version of the program, but there are doesn`t included the source codes. This fact has two reasons - the first is to give you some motivation to try programming such things, the second reason is that I don`t think about myself that I`m a professional programmer and I hope that you can make it better. I included some links to the literature and web pages where you can find the used algorithms, but if you still have some problems you can also write me e-mail. Some of my earlier programs has bugs - I will correct them (but I need some freetime).
Weak engine - it`s an abadoned incomplet project, this version supports: .ase scene loading, octree optimizing, collision detection. It`s powered by OpenGL.
download
Keywords : format .ase (txt .3DS), collision detction, octree
Texturing under OpenGL - a simple and useful utility, it`s created to experiment with texture parameter settings such us intensity and color of reflections , enviroment mapping, transparency. (I included some sample textures beside exe file, but You can experiment with your own .bmp textures.)
download
Keywords : texturing technics, enviroment mapping
Fractals II. - so here is the new version of the fractal maker (this time based on OpenGL). This version contains L - system and a tree editor based on it (very simple but cool) also some demonstration of Mandelbrot (as a 2.5D terrain) and Julia sets. Check the gallery for fractal images.
download
Keywords : L-system, Mandelbrot set, Julia set, tree modelling
Particle system - this is a simple program based on OpenGL. The fire is created with particle system, the 3D model with 3DMax.
download
Keywords : particle system
VRML - my first steps in VRML, VRML player required to see it - you can download it from: http://www.parallelgraphics.com
browse
Keywords : VRML (or in future X3D)
Surfaces in CAGD 2 - two new surfaces, also based on OpenGL (that time - I hope - without any hardware compatibility problems) The added surfaces are Composite Coons Surface and Composite B-Spline Surface.
download
Keywords : Composite Coons s., Composite B-Spline s.
Surfaces in CAGD - this program was made with OpenGL (I encountered some problems in graphic cards without NVidia chipset). Supports some basic surface types, such as Bezier,Triangular Bezier, Cardinal, Beta-Spline, B-Spline and Coons.
download
Keywords : surfaces, Bezier s., Coons s., NURBS
Ray Casting - this program is demonstrating a simpler version of ray tracing - a global illumation model.You can change a number,position and color of objects and lights in files - Objekt.gra;Svetlo.sve.
download
Keywords : ray tracing, ray casting, global illumination models
Polygon filling with Scanline algorithm - representating a scanline algorithm for polygon filling, (it`s a slower version, doesn`t contains a table of active edges, but is also faster then brute force flood filling) sometimes doesn`t find the optimal filling-bug in my program, not in the algorithm.
download
Keywords : area filling, scanline algorithm
Space marbles - this is my first program, its a simple logical game for two peoples, just enjoy it.
download
Z-buffer - implementation of well knowed and simple algorithm to specificate a visibility.It`s implemented in hardware so if you are going to program some application a suppose to use OpenGL.
download
Keywords : z-buffer,algorithms of visibility
Fractals in 3D - some fractals definated with L-system in 3D.(it`s an interesting idea to add some rotation and experimantate to get some pretty fractals)
download
Keywords : fractals,L-systems
Phong shader - a local shading model, really slow because of two reasons : my algortihm isn`t optimalized and also Phong shading isn`t the fastest (try Gourard shading or what is simpler use OpenGL)
download
Keywords : local shading models, Phong`s shading model
2d transform - 2D transformations : zooming,scaling,rotating
download
Keywords : 2D transformations
3d transform - 3D transformations : zooming ,scaling, rotating
download
Keywords : 3D transformations
Bresenham algorithm (for lines) - a rasterization algorithm of line - implemented Bresenham algorithm and DDA.(good idea : try to do some antialiasing)
download
Keywords : Bresenham,DDA
Curves in CAGD - Newton`s interpolation curve, spline, Bezier`s curve,composite Bezier curve, cardinal spline,beta spline, bspline,interpolate bspline curve.This is little bit harder to programmate, because is not to easy find all this algorithms, and to hope at all you will need some basics from mathematics.
download
Keywords : all the type of curves what I mentioned
Line clipping into window - an implementation of Cohen-Sutherland algorithm of clipping (you can also try parametric clipping or alg. of Cyrus-Beck)
download
Keywords : Cohen-Sutherland clipping
Polygon clipping into window - the same situation as in line clipping but there is a problem that here must keep some order because we are dealing about polygons.
download
Keywords : polygon clipping
Projectation methods - a demonstration of projection methods in graphical objects
download
Keywords : projectation methods

Zsolt Toth 2002-2007(c)