direct3d / openGL ?? [英] direct3d / openGL??

查看:82
本文介绍了direct3d / openGL ??的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个更好?

解决方案

" Bad_Kid" < RE ******************* @ yahoo.co.uk>在消息中写道

新闻:c6 ********** @ bagan.srce.hr ...

哪个更好?



Direct 3D是一个面向对象的3D图形库。 OpenGL是一种

结构化(C风格)API。他们都有自己的利弊。大多数人将选择OpenGL,因为它可以在非Microsoft

平台上使用。其他人会选择Direct X(不仅仅是Direct3D)

因为他们只对Windows感兴趣而DirectX是一个游戏SDK

(声音,视频,输入等等......)OpenGL只是一个图形SDK。

DirectX是基于COM而构建的,OpenGL是基于普通的旧C代码构建的。由于您是一名C#开发人员,因此您可以比OpenGL更快地启动和使用DirectX

。微软最近发布了一个托管的DirectX 9,它可以在C#中使用
而不需要所有的COM互操作。 AFAIK唯一的支持

for OpenGL在C#中都是第三方,并且涉及广泛使用P / Invoke

来调用OpenGL.dll API调用。我给了你所有关于

两种技术的信息。哪一个更好(根据您的需要)由您决定。
决定。您可以在Google上搜索更多这样的参数 - 我很确定您

并不是第一个尝试比较这两种技术的人。


谢谢!


" Trevor" < TR **** @ nospam.com>在消息中写道

news:uG ************** @ TK2MSFTNGP11.phx.gbl ...

" Bad_Kid" < RE ******************* @ yahoo.co.uk>在消息中写道
新闻:c6 ********** @ bagan.srce.hr ...

哪个更好?
直接3D是面向对象的三维图形库。 OpenGL是一种结构化的(C风格)API。他们都有自己的利弊。大多数人会选择OpenGL,因为它可以在非Microsoft
平台上使用。其他人会选择Direct X(不仅仅是Direct3D)
因为他们只对Windows感兴趣而DirectX是一个游戏SDK(声音,视频,输入等......)OpenGL只是一个图形SDK。
DirectX是基于COM构建的,OpenGL是基于普通的旧C代码构建的。



因为你是一个C#开发人员,你可以起床与OpenGL相比,使用DirectX要快得多。微软最近发布了一个托管的DirectX 9,它可以在C#中使用
,而不需要所有的COM互操作。 AFAIK对C#中OpenGL唯一的
支持是所有第三方,并且涉及广泛使用P / Invoke
来调用OpenGL.dll API调用。我给了你关于
两种技术的所有信息。哪一种更好(根据您的需要)取决于您决定。您可以在Google上搜索更多这样的参数 - 我确定您并不是第一个尝试比较这两种技术的人。



> Direct 3D是面向对象的3D图形库。 OpenGL是

结构化(C style)API。他们都有自己的利弊。大多数人会选择OpenGL,因为它可以在非Microsoft
平台上使用。其他人会选择Direct X(不仅仅是Direct3D)
因为他们只对Windows感兴趣而DirectX是一个游戏SDK(声音,视频,输入等......)OpenGL它只是一个图形SDK。
DirectX是基于COM构建的,OpenGL是基于普通的旧C代码构建的。
由于您是C#开发人员,因此您可以比OpenGL更快地启动和使用DirectX。微软最近发布了一个托管的DirectX 9,它可以在C#中使用
,而不需要所有的COM互操作。 AFAIK对C#中OpenGL唯一的
支持是所有第三方,并且涉及广泛使用P / Invoke
来调用OpenGL.dll API调用。我给了你关于
两种技术的所有信息。哪一种更好(根据您的需要)取决于您决定。您可以在Google上搜索更多这样的参数 - 我敢肯定您并不是第一个尝试比较这两种技术的人。



从什么时候开始Dir​​ectX不是用普通的旧C写的?

不要忘记还有一个托管的OpenGL for .NET。


-

cody


免费软件工具,游戏和幽默
http://www.deutronium.de.vu || http://www.deutronium.tk

which is better for what?

解决方案

"Bad_Kid" <RE*******************@yahoo.co.uk> wrote in message
news:c6**********@bagan.srce.hr...

which is better for what?



Direct 3D is an object orientated 3d graphics library. OpenGL is a
structured ("C style") API. They both have their own pros and cons. Most
people will choose OpenGL because it is available on non-Microsoft
platforms. The other people will choose Direct X (Not just Direct3D)
because they are only interested in Windows and DirectX is a "gaming SDK"
(sound, video, input, etc...) where OpenGL is just a "graphics SDK".
DirectX is built upon COM and OpenGL is built upon plain old C code. Since
you are a C# developer you can get up and going with DirectX much quicker
than OpenGL. Microsoft has recently released a managed DirectX 9 which can
be used in C# without all of the COM interop stuff. AFAIK the only support
for OpenGL in C# is all third party and involves extensive use of P/Invoke
to call the OpenGL.dll API calls. I gave you all of the info I have on the
two technologies. Which one is better (for your needs) is up to you to
decide. You can search Google for more arguments like this - I''m sure you
aren''t the first who tried to compare the two technologies.


thanks!

"Trevor" <tr****@nospam.com> wrote in message
news:uG**************@TK2MSFTNGP11.phx.gbl...

"Bad_Kid" <RE*******************@yahoo.co.uk> wrote in message
news:c6**********@bagan.srce.hr...

which is better for what?
Direct 3D is an object orientated 3d graphics library. OpenGL is a
structured ("C style") API. They both have their own pros and cons. Most
people will choose OpenGL because it is available on non-Microsoft
platforms. The other people will choose Direct X (Not just Direct3D)
because they are only interested in Windows and DirectX is a "gaming SDK"
(sound, video, input, etc...) where OpenGL is just a "graphics SDK".
DirectX is built upon COM and OpenGL is built upon plain old C code.


Since you are a C# developer you can get up and going with DirectX much quicker
than OpenGL. Microsoft has recently released a managed DirectX 9 which can be used in C# without all of the COM interop stuff. AFAIK the only support for OpenGL in C# is all third party and involves extensive use of P/Invoke
to call the OpenGL.dll API calls. I gave you all of the info I have on the two technologies. Which one is better (for your needs) is up to you to
decide. You can search Google for more arguments like this - I''m sure you
aren''t the first who tried to compare the two technologies.



> Direct 3D is an object orientated 3d graphics library. OpenGL is a

structured ("C style") API. They both have their own pros and cons. Most
people will choose OpenGL because it is available on non-Microsoft
platforms. The other people will choose Direct X (Not just Direct3D)
because they are only interested in Windows and DirectX is a "gaming SDK"
(sound, video, input, etc...) where OpenGL is just a "graphics SDK".
DirectX is built upon COM and OpenGL is built upon plain old C code. Since you are a C# developer you can get up and going with DirectX much quicker
than OpenGL. Microsoft has recently released a managed DirectX 9 which can be used in C# without all of the COM interop stuff. AFAIK the only support for OpenGL in C# is all third party and involves extensive use of P/Invoke
to call the OpenGL.dll API calls. I gave you all of the info I have on the two technologies. Which one is better (for your needs) is up to you to
decide. You can search Google for more arguments like this - I''m sure you
aren''t the first who tried to compare the two technologies.


Since when is DirectX not written in plain old C?
And do not forget that there is also a managed OpenGL for .NET.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk


这篇关于direct3d / openGL ??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆