Game Development Community

Just out of curiosity

by Devon Ly · in General Discussion · 05/21/2003 (1:23 am) · 3 replies

This may be a totally dumb question to ask but why the need for Torque to wrap OpenGL calls to Direct3D on windows?

Wouldn't it have been easier to implement OpenGL across the board, Linux, Mac and Windows?

#1
05/21/2003 (1:42 am)
err, OGL *is* implemented for all platforms, the D3D wrapper is only an "addition" (in case anybody just hates OGL or whatever... :P)
You don't have to use it at all on windows since every video card really should support OGL these days... and I wouldn't recommend using it anyways cause it's just a lot slower...
#2
05/21/2003 (1:52 am)
I see, so the direct X wrapper is in essence redirecting all the openGL calls and passing them onto Direct X for processing?
#3
05/21/2003 (2:08 am)
Yep, that's all it does :) Just a "converting" sort of thing...