Welcome, Guest. Please login or register.

Author Topic: 3D Acceleration on OS4 ( SDL and MESA )  (Read 1745 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ronybeckTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2002
  • Posts: 51
    • Show only replies by ronybeck
3D Acceleration on OS4 ( SDL and MESA )
« on: August 28, 2003, 01:10:40 AM »
Forgive me if this is an old topic but I am curious to know what sort of talk there has been from Hyperion about support for Hardware 3D cards.  This is important because given that Amiga has SDL support and will have Mesa Support it makes it Ideal to port some 3D games from linux.  How ever, Mesa by default will use software 3d rendering which is not so nice.

I hear that OS4 will support NVida and ATI cards but to what level of functionality.  Will it go beyond 2D?

Porting 3D games from Linux is not so unrealistic because the SDL API allows a games programer to use fairly generic code with out too much need to use OS specific API's and Libraries.  For example, UT2k3 was ported from Linux to MacOS because it used OpenGl and SDL ( on the linux version ) which is common on most platforms, and with realtive ease.

SDL is good because it deals with fast access to the GFX card, sound, threading and input such as Joysticks and mice with out the need to code specifically for the OS.  Does any one else see the possibilities of where I am going with this?
================================================
Did you just call me paranoid?
================================================
 

Offline csirac_

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 154
    • Show only replies by csirac_
Re: 3D Acceleration on OS4 ( SDL and MESA )
« Reply #1 on: August 28, 2003, 01:22:00 AM »
Actually, although I've only used the input/2d side of the SDL, it didnt' really seem to support much in the way of 3D except in setting up OpenGL.

I think any commerical game that used the SDL would only use it for input/2d parts (menus, etc.) and then the 3D part would be any implimentation of OpenGL. I think the really hard part, though, would be in getting the source for those Linux games ;-)

Loki doesn't operate any more do they? Who is porting what to Linux these days? Linux is my only OS on my PC, but I'm way out of the loop when it comes to games :)

- Paul
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show only replies by downix
    • http://www.applemonthly.com
Re: 3D Acceleration on OS4 ( SDL and MESA )
« Reply #2 on: August 28, 2003, 01:39:03 AM »
IIRC SDL does not interact with the video card directly at all, it simply redirects to the systems native drivers, or to the CPU when no hw accelerated drivers are availible.

MESA is the same way, no built-in drivers included, just wrappers to the system drivers.  No hw accelerated drivers, you get software-rendering.

What will AOS4 support for hw accelerated drivers, not a clue.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: 3D Acceleration on OS4 ( SDL and MESA )
« Reply #3 on: August 28, 2003, 03:11:28 AM »
According to rumour, OS4 will have a 3D acceleration graphics system called Nova, the successor to Warp3D. MiniGL or something similar will probably run on top of this. No doubt it won't be hard to get SDL and MESA wrapped to Nova. The hard part will be the drivers...

btw. SDL is a great wrapper, but it's horribly slow and bloated and this makes its applications limited, even on G3s and G4s. I could probably say the same for MESA, in fact.
 

Offline ronybeckTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2002
  • Posts: 51
    • Show only replies by ronybeck
Re: 3D Acceleration on OS4 ( SDL and MESA )
« Reply #4 on: August 28, 2003, 03:17:26 AM »
Quote
IIRC SDL does not interact with the video card directly at all


This is not always true.  SDL issues Register level intructrions to Vodoo and some matrox cards I believe.  John Hall wrote a little bit about this In his book "Programing Linux Games" which you used to be able to download the PDF for at no charge.

Loki is gone but others are writing Linux games.  Never Winter Nights is a good example.  Savage is the next big release for Linux followed by Doom3

But look beyond the commercial shops. There are many great Open Source games that would work nicely on an OS4 amiga.

Quote
it didnt' really seem to support much in the way of 3D except in setting up OpenGL.


Yes!   It doesn't do anything in the way of 3D but it does set up the display for redndering OpenGL.  This is good because you don't need to write OS specific code to open a window with a frame buffer then get openGL to use it.  SDL does this all for you with few lines of generic code.
================================================
Did you just call me paranoid?
================================================