 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
SCRAPCODE |
|
|
|
In this simple page I will show part of my daily work with OpenGL and Visual C++. I am at present developing a 3D engine based on OpenGL. Among other features, the engine is currently capable of throwing shadows, hierarchy trees, roam terrain, sea with waves, sky, load 3ds objects, and all I add every day as I need it. |
|
|
|
First of all, the dynamic link libraries you will need are here. |
|
|
|
 |
|
|
|
Ok, ok, very typical but always loved. This is my simple tetris, one of my old projects. Nothing to say about it that you do not already know. Actually, it is not programmed with OpenGL but with DirectX. Well, it was the beginning. |
|
|
|
|
|
 |
|
|
|
As part of my work at ESA (European Space Agency) I developed a simulator for the reentry of space probes. Different phases form a reentry mission; ballistic phase, parachute phase, etc.. The software allows the user to work with different probes and it shows the data in a very friendly way. |
|
|
|
 |
|
|
|
With this project, terrainview, I tried to get acquanted with the roam algorithm. It is not easy, as it depends on the softness of you terrain and a thousand factors more, but I already use roam in my engine. You can play with the roam parameters in the menu, and move through the terrain with q,w,a,d,z. The heightmap you read must be squared and a power of 2 plus 1, this is 513x513, 1025x1025, etc. The bitmap for the texture must be opengl compatible, so the size must be a power of 2. |
|
|
|
 |
|
|
|
A submarine simulator. Of course far from completion. Among other features I use fog, roam terrain, waves in the sea, deformation under impact of torpedoe, path following for the enemy submarine, bubbles, etc.. Just another demonstrator. Better use joystick. You can change views with f1,f2,.... |
|
|
|
 |
|
|
|
I had a labyrinth game when I was young (I mean younger) and I try to emulate it in the computer but it requires a lot of work for the graphics, 3d stuff, etc.. Maybe one of these days I carry on with it. But up to now you can see the collision effect with the walls, and introduce holes in the data file even when they do not get reflected in the graphic. Use the mouse. |
|
|
|
 |
|
|
|
My first car simulator, still a lot of work to be done. |
|
|
|
 |
|
|
|
Of course, I have my own 3ds loader, and I am adding more and more functionality as I need it. You can see the model, and the animation. Use the left and right mouse buttons for zooming and rotating. |
|
|
|
 |
|
|
|
Hit the missiles with the laser. Move the turret with the mouse. |
|
|
|
 |
|
|
|
And a bit of maths to finish. This application finds the minimum tree that connects a set of points. Then it finds the steiner tree, a shorter tree made with the help of additional points. Not very optimized, but educational. You can move the nodes and the calculation is performed as you move it. |
|
|
|
Well, I think it is enough for now. I have other things to show but I do not want to bore you. |
|
|
|
contact me at [email protected] |
|