PT : JEDI-SDL OpenGL BSP Renderer

Hi All,
As the JEDI-SDL team had stability problems during the last SDL
competition. Could anyone, who has 5 minutes to spare, please test
Christian Hackbart’s OpenGL BSP Renderer @
http://groups.yahoo.com/group/JEDI-SDL/files/YaSr.zip ( 2MB ).
This zip files includes exes for Windows and Linux and also the textures
required for the level ( it also includes the source code, but since
most of you are C/C++ programmers, this probably won’t interest you as
the source code is Object Pascal talking to OpenGL ).

Please could you test it on your distribution of Linux and report back
any problems ( or praises ) and I will send them on to Christian. BTW,
it uses SDL_Image to load the textures. I tested it under Mandrake 8.1
and it ran faster and smoother than on my Windows 2000 system :).

Note : Christian has not included collision detection, so you will be
able to walk through walls etc. The A and Z keys move you forward and
back and the arrow keys turn and change elevation. The demo defaults to
Windowed mode but if you want to run it Fullscreen, just start it with
the -fullscreen parameter.

If there are any OpenGL gurus, that don’t mind looking at some Object
Pascal code, could you suggest ways in which the speed can be improved (
through OpenGL rather than someone suggesting we should be using C/C++
:-). Or if there are any glaring errors that Christian has made in his
OpenGL code or that I ( with my newbie OpenGL eyes ) have not spotted,
please let us know so that we can all become better OpenGL programmers.
There is a plan to include Mouse support as per Quake, so if anyone
can provide some URLs where we can learn the best way to do this, that
would be great.

Some screenshots of it running under Windows and Linux can be found here…
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrLinux2.png
and
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrWindows.png

Thanks,

Dominique.–
http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.

Somehow, it does not run on my system… I have a 1.2 Ghz Athlon, GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro, 256
MB memory

It starts, shows the SDL window, waits for 5 seconds, then just quits. The log file only contains an ‘initialization’ line, and that’s it…>Hi All,

As the JEDI-SDL team had stability problems during the last SDL
competition. Could anyone, who has 5 minutes to spare, please test
Christian Hackbart’s OpenGL BSP Renderer @
http://groups.yahoo.com/group/JEDI-SDL/files/YaSr.zip ( 2MB ).
This zip files includes exes for Windows and Linux and also the textures
required for the level ( it also includes the source code, but since
most of you are C/C++ programmers, this probably won’t interest you as
the source code is Object Pascal talking to OpenGL ).

Please could you test it on your distribution of Linux and report back
any problems ( or praises ) and I will send them on to Christian. BTW,
it uses SDL_Image to load the textures. I tested it under Mandrake 8.1
and it ran faster and smoother than on my Windows 2000 system :).

Note : Christian has not included collision detection, so you will be
able to walk through walls etc. The A and Z keys move you forward and
back and the arrow keys turn and change elevation. The demo defaults to
Windowed mode but if you want to run it Fullscreen, just start it with
the -fullscreen parameter.

If there are any OpenGL gurus, that don’t mind looking at some Object
Pascal code, could you suggest ways in which the speed can be improved (
through OpenGL rather than someone suggesting we should be using C/C++
:-). Or if there are any glaring errors that Christian has made in his
OpenGL code or that I ( with my newbie OpenGL eyes ) have not spotted,
please let us know so that we can all become better OpenGL programmers.
There is a plan to include Mouse support as per Quake, so if anyone
can provide some URLs where we can learn the best way to do this, that
would be great.

Some screenshots of it running under Windows and Linux can be found here…
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrLinux2.png
and
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrWindows.png

Thanks,

Dominique.

http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi Martijn,
Hmmm, this is very strange. Have you tied recompiling it, as I am
sure you have Delphi.

Thanks,

Dominique.

Martijn Melenhorst wrote:> Somehow, it does not run on my system… I have a 1.2 Ghz Athlon, GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro, 256

MB memory

It starts, shows the SDL window, waits for 5 seconds, then just quits. The log file only contains an ‘initialization’ line, and that’s it…

Hi All,
As the JEDI-SDL team had stability problems during the last SDL
competition. Could anyone, who has 5 minutes to spare, please test
Christian Hackbart’s OpenGL BSP Renderer @
http://groups.yahoo.com/group/JEDI-SDL/files/YaSr.zip ( 2MB ).
This zip files includes exes for Windows and Linux and also the textures
required for the level ( it also includes the source code, but since
most of you are C/C++ programmers, this probably won’t interest you as
the source code is Object Pascal talking to OpenGL ).

Please could you test it on your distribution of Linux and report back
any problems ( or praises ) and I will send them on to Christian. BTW,
it uses SDL_Image to load the textures. I tested it under Mandrake 8.1
and it ran faster and smoother than on my Windows 2000 system :).

Note : Christian has not included collision detection, so you will be
able to walk through walls etc. The A and Z keys move you forward and
back and the arrow keys turn and change elevation. The demo defaults to
Windowed mode but if you want to run it Fullscreen, just start it with
the -fullscreen parameter.

If there are any OpenGL gurus, that don’t mind looking at some Object
Pascal code, could you suggest ways in which the speed can be improved (
through OpenGL rather than someone suggesting we should be using C/C++
:-). Or if there are any glaring errors that Christian has made in his
OpenGL code or that I ( with my newbie OpenGL eyes ) have not spotted,
please let us know so that we can all become better OpenGL programmers.
There is a plan to include Mouse support as per Quake, so if anyone
can provide some URLs where we can learn the best way to do this, that
would be great.

Some screenshots of it running under Windows and Linux can be found here…
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrLinux2.png
and
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrWindows.png

Thanks,

Dominique.

http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.

I’ll try that today…

Hi Martijn,
Hmmm, this is very strange. Have you tied recompiling it, as I am
sure you have Delphi.

Thanks,

Dominique.

Martijn Melenhorst wrote:

Somehow, it does not run on my system… I have a 1.2 Ghz Athlon, GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro,
256>> MB memory

It starts, shows the SDL window, waits for 5 seconds, then just quits. The log file only contains an ‘initialization’ line, and that’s it…

Hi All,
As the JEDI-SDL team had stability problems during the last SDL
competition. Could anyone, who has 5 minutes to spare, please test
Christian Hackbart’s OpenGL BSP Renderer @
http://groups.yahoo.com/group/JEDI-SDL/files/YaSr.zip ( 2MB ).
This zip files includes exes for Windows and Linux and also the textures
required for the level ( it also includes the source code, but since
most of you are C/C++ programmers, this probably won’t interest you as
the source code is Object Pascal talking to OpenGL ).

Please could you test it on your distribution of Linux and report back
any problems ( or praises ) and I will send them on to Christian. BTW,
it uses SDL_Image to load the textures. I tested it under Mandrake 8.1
and it ran faster and smoother than on my Windows 2000 system :).

Note : Christian has not included collision detection, so you will be
able to walk through walls etc. The A and Z keys move you forward and
back and the arrow keys turn and change elevation. The demo defaults to
Windowed mode but if you want to run it Fullscreen, just start it with
the -fullscreen parameter.

If there are any OpenGL gurus, that don’t mind looking at some Object
Pascal code, could you suggest ways in which the speed can be improved (
through OpenGL rather than someone suggesting we should be using C/C++
:-). Or if there are any glaring errors that Christian has made in his
OpenGL code or that I ( with my newbie OpenGL eyes ) have not spotted,
please let us know so that we can all become better OpenGL programmers.
There is a plan to include Mouse support as per Quake, so if anyone
can provide some URLs where we can learn the best way to do this, that
would be great.

Some screenshots of it running under Windows and Linux can be found here…
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrLinux2.png
and
http://www.savagesoftware.com.au/DelphiGamer/images/YaSrWindows.png

Thanks,

Dominique.

http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Somehow, it does not run on my system… I have a 1.2 Ghz Athlon, GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro,
256

MB memory

It starts, shows the SDL window, waits for 5 seconds, then just quits. The log file only contains an ‘initialization’ line, and that’s it…

It fails in this piece of code in the Render() procedure:

for i := 0 to bsp.numfaces - 1 do
begin
  glBindTexture( GL_TEXTURE_2D, bsp.lightmaps[ bsp.faces[ i ].lid ].id );
  glDrawArrays( GL_TRIANGLE_FAN, bsp.faces[ i ].start, bsp.faces[ i ].num );
end;

So it has loaded the bsp file correctly, I would think, and the textures too… Maybe this helps?

At 11:40 09.03.2002 +0100, you wrote:

Somehow, it does not run on my system… I have a 1.2 Ghz Athlon,
GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro,

Hi!
Just a question off-topic: where’d you get the 27.50-nvidias? I was at
nvidia last week and just found the 23.12-drivers … also I heard, there’d
be a bug in those 27.50s
Cheers, St0fF.

At 18:53 09.03.2002 +0100, you wrote:

It fails in this piece of code in the Render() procedure:

for i := 0 to bsp.numfaces - 1 do
begin
  glBindTexture( GL_TEXTURE_2D, bsp.lightmaps[ bsp.faces[ i ].lid ].id );
  glDrawArrays( GL_TRIANGLE_FAN, bsp.faces[ i ].start, bsp.faces[ i 

].num );
end;

So it has loaded the bsp file correctly, I would think, and the textures
too… Maybe this helps?

In this case it looks like one of your arrays is not correctly addressed, I
mean, when I use array (any kind, no need to be vertex-arrays) and cross
their boundaries, then SDL-parachute gets deploied …
Just check, if there might be a logical error … and try glGetError() more
often, this really helps (from my experience)
St0fF.

Hi Martijn,
Thanks, I will look into it. In my tests, so far it works on my
Win2000, Win98 and Mandrake 8.1 partitions.
Is anyone else having problems?

Thanks,

Dominique.

Martijn Melenhorst wrote:>>>>Somehow, it does not run on my system… I have a 1.2 Ghz Athlon, GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro,

256

MB memory

It starts, shows the SDL window, waits for 5 seconds, then just quits. The log file only contains an ‘initialization’ line, and that’s it…

It fails in this piece of code in the Render() procedure:

for i := 0 to bsp.numfaces - 1 do
begin
  glBindTexture( GL_TEXTURE_2D, bsp.lightmaps[ bsp.faces[ i ].lid ].id );
  glDrawArrays( GL_TRIANGLE_FAN, bsp.faces[ i ].start, bsp.faces[ i ].num );
end;

So it has loaded the bsp file correctly, I would think, and the textures too… Maybe this helps?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


http://www.DelphiGamer.com := for all your Object Pascal game
development needs;
http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME := Home of JEDI-SDL;
Cross-platform game development with Pascal, has never been easier.

I always watch http://gameguru.box.sk, search for nvidia, that’ll get you the latest drivers, possibly for your card even :slight_smile:

9-3-2002 19:00:23, St0fF 64 wrote:>At 11:40 09.03.2002 +0100, you wrote:

Somehow, it does not run on my system… I have a 1.2 Ghz Athlon,
GeForce 2 MX 400 with 32 MB, NVidia 27.50 drivers, Windows XP Pro,

Hi!
Just a question off-topic: where’d you get the 27.50-nvidias? I was at
nvidia last week and just found the 23.12-drivers … also I heard, there’d
be a bug in those 27.50s
Cheers, St0fF.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl