OpenGL Tastic! :D

AH_Viper

Spy
Joined
Jul 20, 2003
Messages
605
Reaction score
0
I thought I might post this because persoanly... I think its the best thing since sliced bread!

I've just finished my first OpenGL assigment where the breif was to create some realistic moving cogs....

I took it a little further :D

http://lamppost.mine.nu/ahclan/files/Cogs.zip - Extract the EXE and DLL to the same folder.

Controls are in controls.txt
 
sweet i played with that for about 5 min
how long did that take
 
About 5 days. Hardest part was getting the piston rod to go up and down at the right time. It was always about 5mm out on the down stroke because of a little bit of maths I forgot :)
 
Just animated, neetly timed rotations with multipliers based on the preivous cogs speed

EDIT:: Acctualy, does anyone know how to hide the mouse pointer in full screen?

EDIT2:: For anyone that cares - include windows.h and put ShowCursor(0); in your init :)
 
Ok, if you've already downloaded it then download it again - Ive just added my own particle engine to it :D
 
I want a version where you can move/place cogs.

Kthxbye

(p.s. i know how hard that would be!)
 
each half rotation of the rear pistons it pauses now
its now not as fluid as it was the first time

i know that there is a way of changing the track in opengl which is quite easy
something about changing the path tracking filters so that the track can be twisted to make a crazy path
 
Well the track I made is just with a clyinder that rotates under the train ;)

Anyhoo - I've started work on my next assigment. It's an LSystem, essentialy a artifical life form type thing... pretty trees basicaly :)

http://lamppost.mine.nu/ahclan/files/lsystems.zip - its a bit crap at the mo but its a start. As always, controls in controls.txt
 
Back
Top