What api to use and why for delphi
The way I see it we have really 3 choices
Directx - all in one api, although it may become harder to convert to delphi with future versions
SDL - Another all in one, give nice interface into opengl. Domnique does a great job with this one
Straight OpenGl and other Apis (i.e. DevIL, OpenAL, etc)
I''ve played with all of these at one point in time or another. I deplore DirectX so that''s out for me personally.
SDL is a great api but it does have it shortcomings, although if your going to do 2d graphics without Directx this is the way to go.
The last option is where I''m leaning toward.
What''s your opinion and why?
I''m Not looking for flame war here, I think the people in this forum are grown up enough to have this conversation with out flaming.
HI!
I like DELPHIX with the turbo headers most. It''s very simple to handle, and you can do a lot. I think for 2D purposes it is a easy way to go and very effective.
Firlefanz
I like DELPHIX with the turbo headers most. It''s very simple to handle, and you can do a lot. I think for 2D purposes it is a easy way to go and very effective.
Firlefanz
I''m using DelphiX for a project of mine, but the speed isn''t
really satisfying. It draws Alpha/Additive blending really slow
and I''m sorry to say that I''m thinking of changing to another API.
///Scarabus
http://www.fudge.dot.nu
really satisfying. It draws Alpha/Additive blending really slow
and I''m sorry to say that I''m thinking of changing to another API.
///Scarabus
http://www.fudge.dot.nu
Hi ...
Personnaly, I''ve been using DirectX for 3 years ... 2.5 years of DelphiX and 0.5 year of Delphi-Jedi headers ...
I think that DelphiX is pretty good for 2D but not for 3D ...
DelphiX is only for DirectX7 and Hori doesn''t want to make an new version for DirectX8 ...
So I tried Delphi-Jedi headers for DirectX8 ...
What a surprise : no components ... But the source code was matching the C++ one ...
After using it half a year I conclued that those Headers are less bugged than DelphiX but hardest to use and understand ...
I don''t know very much SDL ... I''ve seen what Pythian Project made with it ... It''s not so bad![](smile.gif)
A lot of people on FlipCode told me that OpenGL was a lot simpler than DirectX ...
So I think that , if your a total begginner, you should use OpenGL or SDL and not DirectX ...
But never forget that YOUR opinion is the most important and not ours ...
Bye
Avatar
Personnaly, I''ve been using DirectX for 3 years ... 2.5 years of DelphiX and 0.5 year of Delphi-Jedi headers ...
I think that DelphiX is pretty good for 2D but not for 3D ...
DelphiX is only for DirectX7 and Hori doesn''t want to make an new version for DirectX8 ...
So I tried Delphi-Jedi headers for DirectX8 ...
What a surprise : no components ... But the source code was matching the C++ one ...
After using it half a year I conclued that those Headers are less bugged than DelphiX but hardest to use and understand ...
I don''t know very much SDL ... I''ve seen what Pythian Project made with it ... It''s not so bad
![](smile.gif)
A lot of people on FlipCode told me that OpenGL was a lot simpler than DirectX ...
So I think that , if your a total begginner, you should use OpenGL or SDL and not DirectX ...
But never forget that YOUR opinion is the most important and not ours ...
Bye
Avatar
GLScene is also a nice API (under development), its based on OpenGL and does much of the dirty work for you.
Im currently using it mainly cause its in-the-future portable to Kylix (some users have made some sucess with it on Kylix)
Also its easy to get hold of tutorials and such (demos etc.) even if they are in C++, OpenGL stays more or less the same.
you can probably get more info on: http://www.glscene.org
drawback is that there is little to none help or documentation (there are basic documentation though), but they have a great forum that you can post your questions to, its somewhat active aswell
Im currently using it mainly cause its in-the-future portable to Kylix (some users have made some sucess with it on Kylix)
Also its easy to get hold of tutorials and such (demos etc.) even if they are in C++, OpenGL stays more or less the same.
you can probably get more info on: http://www.glscene.org
drawback is that there is little to none help or documentation (there are basic documentation though), but they have a great forum that you can post your questions to, its somewhat active aswell
![](wink.gif)
Heya ![](smile.gif)
my take on the subject is:
OpenGL is easier to learn then DirectX (but not by much nowadays... used to be much worse) - however... once you''ve passed the initial bumps of learning the basic 3D stuff, then DirectX starts to shine, because it is easier to develop large and complex 3D with DX then OGL.
My opinion...![](wink.gif)
I use DirectX.
Oh yea... keep in mind that DX is a more "Active" standard - meaning you don''t have to bother with special extensions and the like for advanced features - everything is there and everything works. No special cases (atleast... not as many).
![](smile.gif)
my take on the subject is:
OpenGL is easier to learn then DirectX (but not by much nowadays... used to be much worse) - however... once you''ve passed the initial bumps of learning the basic 3D stuff, then DirectX starts to shine, because it is easier to develop large and complex 3D with DX then OGL.
My opinion...
![](wink.gif)
I use DirectX.
Oh yea... keep in mind that DX is a more "Active" standard - meaning you don''t have to bother with special extensions and the like for advanced features - everything is there and everything works. No special cases (atleast... not as many).
Hello There,
I don''t now, but I think that DirectX is easer to learn since there is a huge information for it available on the net.
The best thing for simple games and beginners is to use GDI API, I know that one of you will jump and (What about the speed?) and I will replay the the computers now are faster then ever before to handle that issue.
I don''t now, but I think that DirectX is easer to learn since there is a huge information for it available on the net.
The best thing for simple games and beginners is to use GDI API, I know that one of you will jump and (What about the speed?) and I will replay the the computers now are faster then ever before to handle that issue.
I use OpenGL for the graphics and DirectX for the sound.
www.delphi3d.net has got many good tutorials about Delphi and OpenGL. They cover everything from the beginning to using GF3/4 extensions.
www.delphi3d.net has got many good tutorials about Delphi and OpenGL. They cover everything from the beginning to using GF3/4 extensions.
I used DelphiX but stopped using it due to it''s lack of speed and documentation...
I recommend that you use the Delphi Jedi header translations from http://www.crazyentertainment.net
I''m currently writing my own wrapper classes for DirectX which will be a lot faster and more stable than DelphiX.
But I might take another three months or so to finish them all (although most of it works perfectly already).
The website URL of my wrappers is and will be
http://www.xcess.tk
I recommend that you use the Delphi Jedi header translations from http://www.crazyentertainment.net
I''m currently writing my own wrapper classes for DirectX which will be a lot faster and more stable than DelphiX.
But I might take another three months or so to finish them all (although most of it works perfectly already).
The website URL of my wrappers is and will be
http://www.xcess.tk
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement