From this dialogue, we are not difficult to see the development direction of the next DirectX technology, Microsoft will force DirectX technology on .NET, and future XNA platform is more expected!
?
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 Assembly.
Moderator: ed_h (Microsoft) and I am Ed Hickey, VS Communities PM. GLAD you all could make it it today!
Moderator: Ed_H (Microsoft) Let's get started! Fire away with your quintions for ours.
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 have'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 support 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 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.
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 not 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 RELESE? 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 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 WILLER NEXT BOOK? A: this Summer
Host: Tommiller (Microsoft) Q: aren't the ms ppl supposed to be type the msdnchatexpert box? A: we are .. aren't 'w
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 Programming? A: My First Book cover The Managed DirectX API in Its Entirety, And Includes Source Code In Visual Basic.Net.
Host: Tommiller (Microsoft) Q: What's The title? A: Managed DirectX 9 Game and Graphics Programming Kick Start.
Host: TomMiller (Microsoft) Q: tom miller: can you also give a glimpse about what your next book will be about I read something about game programming fundamentals is that right A:?.? Somewhat It covers game programming using Managed DirectX rather. Than The API Coverage The First Book cover. It Contains 3 Full Games Rather Than A Bunch of SMALL CODE EXAMPLES.
Host: TomMiller (Microsoft) Q: Why does not DirectDraw have the same useful helper classes like D3D class SurfaceLoader A:? DirectDraw was last updated in DirectX7, and is no longer being enhanced You can get the features it supports through the Direct3D. Interfaces now, with much more flexibility.
Host: TomMiller (Microsoft) Q: What in your opinion are the "coolest" or most "revolutionary" features of the new DX A:? Aside from Shader 3.0, and the new effects system, Spherical Harmonics and Pre-computed radiance transfers are Big Things ..
Host: KevGee (Microsoft) Q: How will one safe himself against IL attacks I myself hacked some code of a friend, I added some health to his game and so on Obfuscation will not work for calls like DrawText because at this point?. you actually know what parameters the function takes and addiontally tools like ILDASM show the parameters.A: The CLR and .NET has security built in through the code Access Security (CAS) model All code has predetermined privilege levels and is signed to be tamper. proof.Host: TomMiller (Microsoft) Q: in unmanaged Direct3D I use two fullscreen triangles building a square and doing my 2D stuff in a texture, since that seems to be faster than old IDirectDraw7; in MDX there is a DD class, should I Use this, or stick with my d3d solution? A: I Would Stick with d3d. DirectDraw is not being enhanced Any Longer.
Host: Tommiller (Microsoft) Q: is theate Ever Going to Be A Feature IN The Platform Where I Can Just Add A Tag in My Assembly.vb File That Says Don't Do Garbage Collection for this app unsteil it quits. Kind of A game related question.A: not likely If you read Brad Abrams blog, you'll see some of the current thoughts around garbage collector enhancements for the next CLR, but turning it off completely is not something that will happen..
Host: KevGee (Microsoft) Q: Could you give a quick explanation of what those things are "Shader 3.0, and the new effects system, Spherical Harmonics and Pre-computed radiance transfers" A:? Shader 3.0 This is the advanced shader model which WE EXPECT TO SEE H / W Availability for Later this year.
Host: KevGee (Microsoft) A: new effects system Not sure exactly what the New stands for but we have significantly enhanced the existing effects systems performance and added support for pre-shaders.Host: KevGee (Microsoft) A: Pre-computed Radiance Transfer (PR) THIS A Relatively New Approach To Rendering Global Illumination Terms in The SDK That Detail How To Use this technology That Is Part of The D3DX API.
Host: Tommiller (Microsoft) Q: Why Was DD Included In MDX if it is no longer ening ... i mean what is the usething better? (Just Lower System Requirements?) A: Yes, The DirectDraw Has A Lower System Requirements. Plus, IT WAS Added for People Porting Existing Code.
Host: Tommiller (Microsoft) Q: Can The Blog Site Be Found AT MSDN Communities? A: YES. Http://blogs.msdn.com HAS MANY MS Blogs.
Host: TomMiller (Microsoft) Q: There were big changes in the CLR regarding Garbage Collection due to Yukon, since a database server can not really relay on non-deterministic finalization, any chance that MDX will be able to use this modified GC for GFX, Which Also Could from Ita: Once The New CLR IS Released, We Well Definitely Look At The Enhancements and See How The Can make Managed DirectX Better Than IT Already IT.
Host: TomMiller (Microsoft) Q: Could you ask some DX people or MS game devs start blogging bout their game / dx related experiences in past, if they can not talk about current development It would be still very nice A:.. I Have a blog on msdn.
Host: Tommiller (Microsoft) Q: What About Programming Xbox2 WITH MANAGED DIRECTX? A: We can't talk about the 'xbox2' in this chat.
Host: Jordan (Microsoft) Q: I Know, I Know, But I'm itching to ask ... Is XNA Going to BE Free To Develop for Like Directx or Will PPL Have to Buy a license? A: this is discussed in the XNA FAQ posted on www.Microsoft.com/xna/faq.aspxHost: KevGee (Microsoft) Q: We are having troubles with our dll files ... can somebody help pleaseA: Please send a fully detailed description of your problem to directX @ Microsoft.com and Contact Your Evangelist if You Are Working on a Shipping Product. Thanks.
Host: Tommiller (Microsoft) Q: Tommiller_ms: Where is your blog? A: blogs.msdn.com/ TMILLER
Host: TomMiller (Microsoft) Q: everybody is talking about speed (performance) of MDX, but are there any benchmarks about resource usage How much memory is needed compared to unmanaged DX A:?? It's something we're working on (benchmarks) .. Performance (Execution Speed) We've Talked Much About, And It's Close. Memory Usage, Naturally The Managed API Is Higher ..
Host: TomMiller (Microsoft) Q: Will there be MDX support (although very limited) for Compact Devices A:?. It's something that we are investigating, but nothing has been announced yet If you feel strongly please send us mail at directx @ microsoft .com
Moderator: Ed_H (Microsoft) This Has Been a Great Chat. Thank you to everyone. Unfortunately, it is time to go. Thanks for part you next time!
Host: kevgee (Microsoft) Thanks, Bye
Host: Tommiller (Microsoft) Thanks Everyone, Bye!