Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 30th, 2007, 11:40 PM
imsangha imsangha is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Concord, California
Posts: 20 imsangha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 34 m 22 sec
Reputation Power: 0
Send a message via MSN to imsangha
DirectX library vs SDL?

I know everyone's sick of D3d vs OPENGL topic, so I'm not even gonna pull at that thread.

But SDL looks really interesting to me. Its graphic looks fabulous, and the API looks really easy. It provides Sound, Midi, Keyboard input and stuffs. That's actually great.

The only reason I was thinking of D3D was that Microsoft no longer publishes DirectDraw within their SDK, so programmers had to learn D3D to do 2D programming.

Has anyone used both DirectDraw and SDL? If you have, will you please post some comparisons between those two libraries?

Reply With Quote
  #2  
Old March 31st, 2007, 01:07 AM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,489 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 18 h 14 m 53 sec
Reputation Power: 440
I guess the best way to compare them is to see their objectives. DirectDraw is a now deprecated video rendering API, which was part of DirectX. DirectX itself is a set of multimedia libraries, only useful on Windows.

SDL is a library for multimedia, sort of like DirectX, but it is cross-platform. In reality, it is an abstracting layer, so you can have code that works with Linux and the same for Windows.

So I guess the best way to put it is, DirectDraw is a video API that SDL could use on Windows, but SDL deals with all of multimedia, and isn't restricted to DirectDraw/Direct3D for video.
__________________
C/C++: Books, C FAQ, C++ FAQ, C/C++ Reference.
Python: Website, Beautiful Soup.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > DirectX library vs SDL?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway