|
|
|||||||||||||||
| Bezier
surface with source code [18 jan. 01] 199kb Here is at last my Bezier surface program. It's very simple but you can play with the source code in order to change resolution, try windowed and fullscreen modes. It has texture mapping and lighting. PageUp/PageDown change the precision of the patch. I still use the Intel JPEG Library.
|
|
| Rubber with source
code [18 nov. 00] 216kb You can switch between wireframe and textured, you can change the texture and choose whether you use verties of faces normals to calculate the lighting. I know I could have done lot better for this effect with display lists for exemple. I'll soon work on it. The program itself is not optimized: I generate the normals EACH frame but I don't care for the moment! I know that I just have to rotate the normals with the object but I'm lazy to do this and I concentrate more on the OpenGL than on the program optimization for the moment. I certainly improve this effect with code optimization in the next few days. The textures are very ugly, if you can create a nice one, please send it to me, i'll put in on this site! I use the "Intel Jpeg Library" to load JPEG files. The dll is included. You'll need the .h and .lib to recompile this. The GLUT and OpenGL dlls are NOT included in the zip file (because I suppose everyone got them!) but you can download them below in this section .
|
|
| Smoke [13 nov. 00] This is an effect that (tries to) simulates the apparence of smoke. It was done for the flipcode coding contest of march, I think. It requires DirectX. Should work on every computer with DirectX 7 and a 3D card.
|
![]() |
| Particles+Envi [13 nov. 00] This is a demo with a 2D particle system and another effect with environment mapping and reflections on the floor. Note that this demo is quite old and may not work on your computer. If that's the case, too bad!
|
|
| B-Spline
curves with source code [08 nov. 00] 25kb This program generate a B-Spline curve with nearly unlimited number of control points. As with the Bezier curve, the rendering is made in OpenGL with GLUT.
|
|
| Bezier curves
with source code [08 nov. 00] 28kb This program generate a Bezier curve with two to ten control points. The rendering is made in OpenGL with GLUT.
|
|
| GLUT
skeleton source code [08 nov. 00] Here is a skeleton in C that will allow you to develop with GLUT. This skeleton draws a single line in an OpenGL window. If you have any problem compiling that file, contact me. Be sure to have the LIBs and DLLs to compile and run the application. |
|
| OpenGL/GLU/GLUT
DLLs for Windows OpenGL/GLU/GLUT LIBs for Windows OpenGL/GLU/GLUT headers for Windows |