Sign in to follow this  
Twinblad3r

SDL Directx 10 on Vista

Recommended Posts

Hi, has anyone tried SDL with direct 10 on Vista? I heard SDL uses dx 5. Would not using SDL for the window on Vista any faster? Also... Is SDL inputs quicker than DirectInput? I'm still pretty new to directx and I read there are major change between dx 9 and dx 10 but all I found on google is unified shader. Can someone briefly explain to me if there are other differences. Thanks ;D

Share this post


Link to post
Share on other sites
SDL uses dx5 only for hardware accelerated operations on SDL_Surface. If you use 3D API like DirectX (any version) or OpenGL then it doesn't matter, because you will not be using SDL_Surface's.

Share this post


Link to post
Share on other sites
Thank you for the fast reply..

SDL is definitely neater for setting up the window, I wonder if there will be problems on Vista/Windows 7 or eventually...

Share this post


Link to post
Share on other sites
Quote:
Original post by Twinblad3r
I'm still pretty new to directx and I read there are major change between dx 9 and dx 10 but all I found on google is unified shader. Can someone briefly explain to me if there are other differences.


First and foremost, DX10 is Vista only. That may limit your decision to program with it depending on your target audience. Beyond that, the differences get pretty technical but the basic idea is that DX10 is a complete re-write of DirectX to take advantage of newer hardware and driver models. This makes it very different to program in than DX9 or any of the previous versions. Some of the highlights are:

* No fixed-function rendering. You MUST use shaders in DX10 (not a bad thing, mind you)
* Addition of geometry shaders
* Shader uniforms built and passed as buffers. Lets you use them like textures or vertex buffers.
* Heavy emphasis on render-to-surface. Even your main window is basically a texture that you render to.

Overall the changes streamline the process greatly, though you will still see a lot of complaints about the API (Primarily because of it's ties to Vista). What it boils down to in the end is that you should use DX9 for older hardware or OSes and DX10 for newer hardware on Vista and up.

For more info, start here

Share this post


Link to post
Share on other sites
Directx 10 sounds interesting, I'm going for performance... Dx 11 is also getting me excited =D

Is it ok to jump straight to dx 10 or start learning with 9? ><

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this