project-navigation
Personal tools

Author Topic: Can UFO use Direct3D rendering instead of OpenGL?  (Read 10109 times)

pako

  • Guest
Can UFO use Direct3D rendering instead of OpenGL?
« on: June 30, 2006, 08:45:18 am »
Can UFO use Direct3D rendering instead of OpenGL?

I have some problems with OpenGL, it causes most programs crash, not only the UFOAI. And D3D works better on my machine.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Can UFO use Direct3D rendering instead of OpenGL?
« Reply #1 on: June 30, 2006, 09:57:32 am »
No, DirectX is windows only. OpenGL is available on most plattforms.

TerminatorII

  • Guest
Can UFO use Direct3D rendering instead of OpenGL?
« Reply #2 on: July 26, 2006, 09:52:21 am »
Why could we not offer multiple ones? D3D does indeed work better most of the time for Windows Users. (less chance of incompatiale programs running.)

We could offer in hte set up of the game Which do you prefere? D3D or Open GL?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Can UFO use Direct3D rendering instead of OpenGL?
« Reply #3 on: July 26, 2006, 10:15:04 am »
well of course we could - but i won't. if would like to write cross plattform stuff and not stuff that is only for one plattform available.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Can UFO use Direct3D rendering instead of OpenGL?
« Reply #4 on: July 26, 2006, 12:44:22 pm »
He means you are free to write a D3D version, but its a lot of work...

pako

  • Guest
Can UFO use Direct3D rendering instead of OpenGL?
« Reply #5 on: July 26, 2006, 08:17:02 pm »
Quote from: "Mattn"
well of course we could - but i won't. if would like to write cross plattform stuff and not stuff that is only for one plattform available.

You could use some open-source crossplatform 3d engine, ogre3d for example, supports both d3d and opengl, when compiled under windows.
And there are many other advantages in using a 3rd party engine.
On the other hand migrating to a new engine is also a lot of work.

But I got UFOAI running, so d3d is not needed any longer  :)