Direct3D or OpenGl?
#1

Hi ,

 

I started to code in C# 3 weeks ago.

 

now iam able to code with MySql and C#.

 

but now i wanna learn how to use Models and texture / animation in my progamms.

 

i heard about OpenGl and Direct3D.

 

 

i want to start with Direct3D but first i wanna hear ur oppinion what i should learn : OpenGl or Direct3D?

 

would be rly nice to hear ur opinion about that.

 

[Why i am learning C# etc? because i wanna do some software/game developement in my future work.I am 15 now and i wanna have some knowledge until im on a university or something like that.I have knowledge in PHP and a little in JAVA]

#2

This topic generally starts a war so no one likes to comment.

 

I use DirectX mainly because I target only windows platforms and Generally DirectX support atleast in my case is consistantly more supported than OpenGL.

 

Systems that have drivers from OEM manufactures that run windows are targeted to support all directx feature sets the graphics card can handle the OpenGL support on my system however was quiet a bit lower..

 

Now before the OGL fan boys have a nutt fest on this I will explain that its basicly preference the C style interface between code and OpenGL was not my thing I like the structure that directx has.

 

if you do not intend to be making mac apps or linux apps I would say that DirectX is your best bet but do not limit yourself try a little of both see which you like more get the feel for them so you can implement basic systems in either should come the day you need to.

 

Also most DirectX API's have tons of documentation and tutorials that are not too old. (I mean currently valid concepts in the tutorial)

 

Final notes the Msdn (Microsoft Developer Network)

2

Contains: all windows based SDK's (DirectX, Windows)

All documents relating to any publicly usable windows api function tons of samples helpful hints and to the T descriptions of structures classes functions ect....

 

Hope this helps as for OpenGL your kinda out of luck because I myself have had a hard time finding up to date descriptions and samples for that api..

#3

I see u are talking about C#

Both directx and opengl have terrible support for C#

Personally i would go for OpenGL because its easier to learn, and u can achieve more with less code.

Im sure u don't want to create big games and flashy animations with sparkly effects and those things, so i would go for the simplicity of OpenGL.

 

#4

Ok thx for this answer noticed that direct 3d is much code so i will try openGL.

 

looked into direct3d ofc. i will try both (means learning both ).

 

Big thx for ur answers!

#5

Ok i Decided to use the XNA Framework to Code my Games.

seems the easiest atm for me



Forum Jump:


Users browsing this thread: 1 Guest(s)