Restored from previous forum. Originally posted by tinman.
Originally posted by Amiga5k
Hmm.. Seems like DirectX is pretty common and many of the other 'new' basics out there require it (Dark Basic, Blitz, etc), so I don't think that would necessarily be a bad thing. I'm surprised that PB is able to do all that it does without requiring DirectX!
I knew someone would say that. The new basics you mention by name are for games, so its fairly likely they'd require DirectX - I don't know about any others though.
And yes, it would be a bad thing, even though most people would normally have DirectX. PureBasic's runtimes are small and fast enough that you can safely use your executables on pretty old or even scaled down (read: embedded) hardware. That's two areas where your user might not have DirectX installed.
Besides, if you really need to use DirectX in an application you can do so just now by opening a windowed screen (and if need be, put it on an invisible window).
It's not surprising how much PB can do without it because the 2D drawing commands are pretty limited

It might be useful to be able to take advantage of DirectX, but not require it.
Which brings me to another idea: Since OpenGL is open source and is already available for many different platforms, would it benefit PB if it was used instead? Just a thought...
Oh no, please don't start this one up again
Unless Fred deleted the topic you should be able to search the forums and find his answer to that one. Something like "OGRE 3D engine".
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.51, external editor)