Archived

This topic is now archived and is closed to further replies.

dx for linux

This topic is 6268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Learn something new. There''s plenty of alternatives, and nearly everything in Linux can be ported back to Windows . SDL and OpenGl are my recommendations.



"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
plz forgive my ignorance again. ( i feel so small with all the matyers and Zealots that respond my post). :->
does sdl make emulation when an function isn''t suported by some hardware?
and what about something like an exclusive mode?
plz don''t be mad at me i''m a newbie to the linux.
i hate MS too(maybe not hate, hate is a strong word but u gotta love linux and ...).
what i''m actully bothering me is can linux be more usre friendly and desktop oriented without losing it''s power.

and again sorry for thinking such unholy thoughts.

Share this post


Link to post
Share on other sites
Uhh, why does everyone think that to use Linux you have to hate Microsoft? I mean, granted, *i* hate Microsoft, but in reality, i''m just in the vocal minority. Most people who use Linux are the right-tool-for-the-job types, rather than the i-refuse-to-use-comercial-software types. So, don''t feel bad or threatened if you think Microsoft did some things right (although you''d best be ready to back up that sort of statement), and certainly don''t feel that you have to hate them.

Anyway, SDL actually uses DirectX when it''s compiled for Windows, and thus has much of the same functionality and acceleration DirectX has. It uses the local services of whatever OS it''s compiled for, so generally, SDL allows you access to some of the best performance and functionality on whatever platform for which you develop.

-benc

Share this post


Link to post
Share on other sites
I''m not aware if DirectX is available for Linux/X.

An alternative approach is to write yer game using SDL
per it''s portable to Linux and Windows. However SDL
dosen''t allow you to take full advantage of Linux''s features since it needs to comform to Windows'' limitations (for
portability).

If you write an OpenGL with X11 game, it can be ported
to Windows quite easilly and you can take advantage of
Linux''s features since you arn''t using any wrappers in
between.

The down side is that you need to write the glx and glw
wrappers yourself.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
What are some of these features that Linux has that Windows doesn''t that keep getting mentioned?

Share this post


Link to post
Share on other sites
Yeah, LearFox, can you tell us what these "Limitations" are?

I can only name one - portability (or the lack thereof).



"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau

Share this post


Link to post
Share on other sites
SDK''s are usually wrappers and from my experiance with
the SDK in question it dosen''t allow multiple toplevel
windows or X style event handling.

There are other wrappers around X objects and obscure
some X objects'' features.

Again, I was just making a warning and trying to be
as fair as possable to the alternatives available.
Any time you have wrappers that run across platforms
you need to expect some limitations imposed to comform
to each of the target platforms.

Share this post


Link to post
Share on other sites
I love bill gates and microsoft - Windows is by far the best OS ever made, it never crashes and if it does, it always deals with it in a great way. Linux is just a Unix wannabe.

(will I get killed for this post, will you ignore me in my future posts)

Share this post


Link to post
Share on other sites
Starcraft uses directx and no other gfx-api, right?
Alot of dudes around the world (like myself) used to play starcraft under linux (through WINE . So DX under linux is not impossible.

Nice link: www.linuxgames.com (i think that''s the right url

"Look mom, a demoscener! Can i keep it?"

Share this post


Link to post
Share on other sites
quote:
Original post by JOL

I love bill gates and microsoft - Windows is by far the best OS ever made,


A broad generalization and completely an opinion. You get an "F" for logic and reasoning skills.

quote:
it never crashes and if it does, it always deals with it in a great way.


You just contradicted yourself. More bad reasoning.

"it never crashes" -- "and if it does"

Why say "if it does" if you claim "it never crashes"?

By the way, have you seen Windows on other computers? Oh yeah, that blue screen, It''s the best method in the world to handle a crash . . .

And locking up a computer, that''s another excellent way, along with killing the program before you can save your document!

-I''m still trying to find a crash that Windows deals with "in a great way".

quote:
Linux is just a Unix wannabe.



What''s wrong with Unix?

Yet Linux has exploded in popularity . . .

A large portion of servers in the industry today now run that OS that you claim is just a "Unix wannabe."

-And Unix has long been known as a good OS for servers, anyway.

quote:

(will I get killed for this post, will you ignore me in my future posts)


(im still trying to figure out the grammer in last sentence)

--Are you posting just to post?





"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau

Share this post


Link to post
Share on other sites
ok I love linux, I hate my Modem(winmodem= software modulated) its stable and fast. Though it is crashable, i have proved that.
DX is definatly portable to Linux(c/c++ api my friend) ,but its not going to be. One reason... for something new and exciting to come to linux someone has to do it for free. OpenGL will probably always be the choice for linux because SGI developed it to be incorperated (port is such a bad word) for multiple O/S''s. Any 3d graphic artist probably know''s that win 95/98/ME arent the choice O/S''s to run 3d graphic progs.(Blender is SOOOOOOOOO sweet on Linux!!!!!) If 3DSmax and lightwave could run on linux, us 3d Artists would probably never need to save till were done.(unless they F*ck up alot like I do!!)

Share this post


Link to post
Share on other sites
quote:
Original post by Ghoulflesh

ok I love linux, I hate my Modem(winmodem= software modulated)


WinModems take clock cycles away from the processor. Same with some of the new Windows printers - everything is done on the processor insetead of the printer itself. Why do such things? Because it''s cheap.

quote:
Any 3d graphic artist probably know''s that win 95/98/ME arent the choice O/S''s to run 3d graphic progs.(Blender is SOOOOOOOOO sweet on Linux!!!!!) If 3DSmax and lightwave could run on linux, us 3d Artists would probably never need to save till were done.(unless they F*ck up alot like I do!!)


POV-Ray is a good ray tracer that supports Linux. I think 3DSmax supports its format; most programs do. However, I''m still looking for a decent Linux modeller . 3dPM looks like it has promise, but I think it''s probably far from professional. Moray is a modeller that supports nearly all of POV-Ray''s features, but it''s for Windows only.



"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau

Share this post


Link to post
Share on other sites
quote:
Original post by ZomeonE

(almost) everyone who uses linux hates all microsoft stuff, so...


Well I bet you''d be in shock if I told you that Godfree''s favorite company is Microsoft.

---------------------------
No such thing as an innocent soul who lies to the world who he loves so much

Share this post


Link to post
Share on other sites