PDA

View Full Version : Linux demo of my OpenGL engine



stodge
05-12-2003, 04:46 PM
I've been working on a simple OpenGL based game engine over recent months, and I finally found the time to attempt a Linux port. Luckily, using SDL has made the process easier. I'd be very grateful if anyone who has some spare time could download it and try it out on their Linux box.

The only caveat that I can think of is that you need to have the SDL runtime libraries installed; version 1.25 (or 1.2.5?) should be fine.

The demo was compiled with g++ 3.2.2 running under Mandrake 9.1, so you will probably need a distribution that is as recent as mine, simply to get the correct runtime C++ libraries (I think).

Also, the main music file doesn't seem to work under Linux (FMOD thinks it has an invalid file format), so you wont get any music. You should hear the sounds when you use the buttons though.

Run the demo using the shell file testSDL.sh, as it sets up the load library path to pick up the shared libraries.

Anyway, if you try it and it works, let me know:

Linux distribution
FPS value, graphics card, processor

Keys:

escape - quit
f1 - help
f2 - test menu
tab - toggle console
wasd move the camera

Good luck and I'll keep my fingers crossed!

http://prodigy.openglforums.com/downloads/HabitatLinuxDemo.tar.gz

Thanks
Mike

shinpaughp
05-12-2003, 05:52 PM
Okay... I see a simple lit stationary cube in shades of gray... Am I missing something?

Mandrake 9.1
160 - 185 fps
GF2 MX
Athlon XP 1800

And what is the test (F2) thing about?


[This message has been edited by shinpaughp (edited 05-12-2003).]

stodge
05-12-2003, 06:34 PM
The cube is the only 3d object in the demo. The main focus of the demo is:

- test cross platform support
- test Gui engine, of which F2 is a part. It doesn't do anything, but if you type in text, click the button and open the console you'll see some simple output. Check out test.lua to see what's happening and why F2 is important (to me)
- test the scripting and integration with other parts of the engine
- test the audio
- test the input

I haven't focused on the 3D side of the engine so much as that's not the most important part for me at the moment.

Thanks for the info; I'm really glad it worked!

shinpaughp
05-12-2003, 06:43 PM
I just wanted to make sure there wasn't more. GF2 MX isn't a very good card (not bad either) and sometimes people have ATI specific functionality without comparable NV functionality or vice versa. Also, I could not get console to pop up (F12) either before or after entering anything in the test dialog of which there was only an exit button.

stodge
05-12-2003, 06:46 PM
Oh sorry - I changed the console key to tab. I discovered that when debugging the demo under Win2k, F12 actually causes a user breakpoint to be triggered. I'll check the documentation, I thought I updated it.

Thanks again

shinpaughp
05-12-2003, 07:18 PM
Also, you may actually want to post this in the Linux forum as most Linux users probably view that more often.