打印本文 打印本文 关闭窗口 关闭窗口
关于DirectX技术的未来和在VB.NET中应用的对话(微软)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1324  更新时间:2009/4/23 19:01:24  文章录入:mintao  责任编辑:mintao

从这篇对话中我们不难看出下一步DirectX技术的发展方向,微软将力推.NET上的DirectX技术,并且未来的XNA平台更是令人期待!

 

DirectX 9.0 Direct3D Graphics with Visual Basic .NET

Posted April 30, 2004

 

Chat Date: March 30, 2004

Please note: Portions of this transcript have been edited for clarity



Introduction

Moderator: Ed_H (Microsoft)
Welcome to today’s chat on DirectX 9.0 - Direct3D Graphics with Visual Basic .NET. We have members of the DirectX team here to answer your questions today. I will ask the hosts to introduce themselves.

Host: Jason (Microsoft)
Hi! My name is Jason Cooke, and I''''m a programmer/writer for Visual Basic User Education.

Host: Jordan (Microsoft)
I''''m Jordan Correa and I am a software test engineer for a new gaming feature for the next version of Windows.

Host: KevGee (Microsoft)
Kev Gee worked as a game developer for over 6 years before joining Microsoft 2 years ago to work in the Windows Gaming and Graphics technologies team. His work at Microsoft involves helping game developers the world over create the most stunning and addictive games on the Windows platform.

Host: TomMiller (Microsoft)
Hi, I''''m Tom Miller, developer in the DirectX team, and I am responsible for implementing the Managed DirectX assemblies.

Moderator: Ed_H (Microsoft)
And I am Ed Hickey, VS Communities PM. Glad you all could make it today!

Moderator: Ed_H (Microsoft)
Let''''s get started! Fire away with your questions for our hosts.

Start of Chat

Host: KevGee (Microsoft)
Q: are we allows to ask about XNA?
A: We''''re concentrating on DirectX 9.0 Direct3D Graphics with Visual Basic .NET in this talk. You may want to check out more info at www.microsoft.com/xna if you haven''''t already..

Host: TomMiller (Microsoft)
Q: What features are planned in the next Managed Directx version?
A: We will be implementing all of the new features that the D3DX libraries (effect state management, Spherical Harmonics PRT, etc), as well as many performance enhancements, and ease of use additions.

Host: KevGee (Microsoft)
Q: I''''ve heard I can do the same kind of 2D stuff that I do in DirectDraw using the Sprite class in D3D and supposedly with better performance. Is this true?
A: The sprite class is part of the D3DX library and supports many features in addition to simple 2D sprites such as font rendering and extrusion. Check out the text 3D sample in the sdk for more information around this. .

Host: TomMiller (Microsoft)
Q: Will there be DirectShow support added to MDX?
A: There are no current plans to add this support. If you have strong feedback, please mail directx@micrsofot.com.

Host: TomMiller (Microsoft)
The managed documentation is still kept a bit short, although there is a new version available online recently.

Host: TomMiller (Microsoft)
Q: when do you think will be the next update for download available?
A: The next release of the DirectX SDK will have updated Managed DirectX documentation.

Host: TomMiller (Microsoft)
Q: will we see anything like directmusic or a new version of audiovideoplayback in the next managed directx update or will we have to wait until directx 10
A: There are no plans to support Direct Music currently. The AudioVideoPlayback assemblies will be updated in the next DirectX SDK release.

Host: TomMiller (Microsoft)
Q: How will DirectX 9.0 support Direct3D Graphics with Visual Basic .NET?
A: Managed DirectX works well with Visual Basic.NET and gives you support for the entire DirectX API, including rich 3D Graphics.

Host: TomMiller (Microsoft)
Q: If I render on the form thread, the 3D halts when the form is processing events.
A: I think this would be expected behavior. The message pump should be single threaded.

Host: TomMiller (Microsoft)
Q: Which professional game uses VB.Net and Managed DirectX ?
A: There are professional applications (including games) using Managed DirectX, but until they announce the applications, we can''''t discuss them. Soon though.

Host: KevGee (Microsoft)
Q: Because the DirectX code will be managed under the CLR will there be any disadvantages to developing a game in vb as opposed to c++.... Or is VB now on par with c++ when it comes to this stuff? IE: Speed, capabilities, etc?
A: There can be a small performance cost for developing games using managed code. However, careful management of object allocations, deallocations under the garbage collector can reduce these significantly..

Host: TomMiller (Microsoft)
A: Like Kev mentions, the perfomance cost is relatively small (in the neighborhood of 1-2%).. negligible.

Host: TomMiller (Microsoft)
Q: Yes I expected, that, original question was what approach should be used to keep render going while not halting the pump. If I play a video file in WMP and resize/move window, it''''s not halting anything.
A: You could always render when you get a ''''Paint'''' event (ie, OnPaint).

Host: KevGee (Microsoft)
Q: When will be next release?
A: We have just shipped beta 2 of the SDK Update 2004 and are planning to release the final version around Q4 2004.

Host: TomMiller (Microsoft)
Q: Is there a speed difference between vb.net + managed directx code and c++.net managed directx code?
A: Since they both should compile down to IL code, there should be no noticeable difference (unless you''''re doing native/managed interop, in which case MC++ will be faster).

Host: TomMiller (Microsoft)
Q: Why is so less information about directX and vb.net available? Very short sdk, very less examples!!
A: It''''s something we''''re working on. The next version of the SDK should have better documentation, and better samples.

Host: KevGee (Microsoft)
Q: Are there any plans for supporting XML based meshes, scenes, object graphs.... similar to XAML for the Avalon objectmodel. This would be IMHO very useful for simple D3D apps that need to be build in very short time.
A: Discussions around Avalon are outside the scope of this chat. Please direct your questions and feedback for this to directx@microsoft.com. Thanks..

Host: TomMiller (Microsoft)
Q: So would I be correct in saying that when making a language choice for developing your next game, the speed and capabilities of the two languages are now close enough that you could make that choice more on your person language preference.
A: Exactly.

Host: TomMiller (Microsoft)
Q: tom miller: when will we see your next book?
A: This Summer

Host: TomMiller (Microsoft)
Q: Aren’t the MS ppl supposed to be typing there answers/responses in the MSDNChatExpert box?
A: We are.. aren’t'''' we?

Host: KevGee (Microsoft)
Q: what are the plans towards support for advanced debuggers/profilers for vertex and pixel shaders?
A: We shipped the original Visual Studio shader debugger with the DirectX 9 SDK and have been updating the feature set with each SDK Update. For profiling tools, we have just announced the Performance Investigator for Windows (PIX) which will help you determine where your performance bottlenecks are. We shipped an early version of PIX in the SDK beta.

Host: TomMiller (Microsoft)
Q: Tom, what books have you written that would assist a vb.net developer with DX programmi

[1] [2]  下一页

打印本文 打印本文 关闭窗口 关闭窗口