차세대 그래픽 개발 환경.NET & DirectX 강성재 Community Specialist Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 12 Introduction to ASP.NET.
Advertisements

Question Bank. Explain the syntax of if else statement? Define Union Define global and local variables with example Concept of recursion with example.
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Status – Week 257 Victor Moya. Summary GPU interface. GPU interface. GPU state. GPU state. API/Driver State. API/Driver State. Driver/CPU Proxy. Driver/CPU.
 Currently there is no software solution that combines video and animation in to one platform.  Every single change drag changes in all of the environments.
DirectX: A Brief Overview Daniel D’Agostino. Example: Far Cry 2.
Introduction to DirectX Programming Dongho Kim February 12, 2002 Dongho Kim February 12, 2002.
There has never been a better time to build a game that targets PC, tablets, phone and Xbox!
Graphics Virtual Channels (VCs) Mouse & Keyboard VCs Partner Virtual Channel Plug-Ins Partner Virtual Channel Plug-Ins Bulk Compression (RDP5+,
How to Be a Game Developer
You can use 3D graphics to enhance and differentiate your Metro style app.
1 DirectX CIS 487/587 Bruce R. Maxim UM-Dearborn.
Computer Graphics Introducing DirectX
DXVA 2.0 A new Hardware Video Acceleration Pipeline for Windows Vista
CSE328:Computer Graphics OpenGL Tutorial Dongli Zhang Department of Computer Science, SBU Department of Computer Science, Stony.
Android Introduction Platform Overview.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
1 Sandcastle Documentation Compilers For Managed Class Libraries common) Enabling managed class library developers throughout the world to easily create.
Real-time Graphical Shader Programming with Cg (HLSL)
 Nadim Abdo Principal Development Manager Microsoft Corporation
Computing with C# and the.NET Framework Chapter 1 An Introduction to Computing with C# ©2003, 2011 Art Gittleman.
OpenGL Shading Language (Advanced Computer Graphics) Ernest Tatum.
1 ETC. 2 Sounds FX Sounds FX –WAV audio files –Load into memory and play it »Load »Play »Stop »Pause –2D or 3D »3D should be integrated into scene management.
Building RIA for Desktop, Web and Mobile using Silverlight and WPF Giorgio Sardo UX Consultant, Microsoft UK blogs.msdn.com/Giorgio.
The Graphics Rendering Pipeline 3D SCENE Collection of 3D primitives IMAGE Array of pixels Primitives: Basic geometric structures (points, lines, triangles,
Programming in C#. I. Introduction C# (or C-Sharp) is a programming language. C# is used to write software that runs on the.NET Framework. Although C#
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
CSE 690: GPGPU Lecture 6: Cg Tutorial Klaus Mueller Computer Science, Stony Brook University.
Presentation advances in.NET Framework 3.0 Mark Johnston Developer & Platform Group, Microsoft Ltd
C++ History C++ was designed at AT&T Bell Labs by Bjarne Stroustrup in the early 80's Based on the ‘C’ programming language C++ language standardised in.
Sound DirectMusic & DirectSound. DirectShow Video Formats DirectShow is an open architecture, it can support any format as long as there are filters to.
3D Programming and DirectX API. Content Mathematics Mathematics Prepare to Write a 3D program Prepare to Write a 3D program Program Structure Program.
The Cg Runtime Cyril Zeller. Cg Pipeline Graphics programs are written in Cg and compiled to low-level assembly code... Cg Runtime API...
C# 2.0 and Future Directions Anders Hejlsberg Technical Fellow Microsoft Corporation.
Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers.
1 Contents  Audio  Sprite  Input devices  Game production milestones  Course summary.
Computer Graphics 3 Lecture 6: Other Hardware-Based Extensions Benjamin Mora 1 University of Wales Swansea Dr. Benjamin Mora.
Developing a 64-bit Strategy Craig McMurtry Developer Evangelist, Software Vendors Developer and Platform Evangelism Microsoft Corporation.
GAM666 – Introduction To Game Programming ● Programmer's perspective of Game Industry ● Introduction to Windows Programming ● 2D animation using DirectX.
Ray Tracing using Programmable Graphics Hardware
Chapter 5: DirectX ® Chas. Boyd DIRECTX ® Microsoft 3 OutlineOutline What drove the language design? What drove the language design? Background What.
IE Developer Tools Jonathan Seitel Program Manager.
Advanced D3D10 Shader Authoring Presentation/Presenter Title Slide.
Rong Lu Senior Program Manager, Visual Studio GPU Usage tool in Visual Studio.
The Windows 10 App platform: an introduction to the UWP Andy Wigley b:
What is DirectX? DirectX is built by Microsoft as a collection of API’s (Application Programming Interfaces) for the purpose of multimedia processing.
C++ Lesson 1.
Tooling Breakout Session
Unit testing your metro style apps built using XAML
C# and the .NET Framework
Getting Started with Visual Studio Tools for Tizen
Azure API Management Jothi Prakash A
A lap around DirectX game development tools
C++ History C++ was designed at AT&T Bell Labs by Bjarne Stroustrup in the early 80's Based on the ‘C’ programming language C++ language standardised in.
Les nouveautés autour de WebGL Pour Windows 8.1 et Windows Phone 8.1
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Managed DirectX Joe Gavin.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Certifying graphics experiences on Windows 8
What’s new in F# 4.1 Phillip Carter Program Manager.
Overview of Silverlight 2
1/14/2019 3:57 AM © 2004 Microsoft Corporation. All rights reserved.
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
4/28/2019 6:13 PM HW-889P Advanced driver code analysis techniques Tips and tricks to develop more secure & reliable drivers Dave Sielaff Principal Software.
CIS 441/541: Introduction to Computer Graphics Lecture 15: shaders
Language Definitions Chap. 3 of Orange Book.
Computer Graphics Introducing DirectX
Presentation transcript:

차세대 그래픽 개발 환경.NET & DirectX 강성재 Community Specialist Microsoft Corporation

Agenda DirectX 9.0 살펴보기 DirectX 9.0 살펴보기.NET 과 DirectX 9 Managed Programming.NET 과 DirectX 9 Managed Programming

DirectX 9.0 살펴보기 Foundation Layer Foundation Layer  DirectGraphics  DirectInput  DirectSound  DirectPlay  DirectMusic Media Layer Media Layer  DirectShow

Windows Graphics Stack D3D Rendering DXG Infrastructure D3DX Application Driver Hardware Gameplay Shader Compiler, shader mgt routines Software emulation, hw transport Execution Command translation, buffering Resource Mgt, OS

DirectX ® High Level Shader Language (HLSL) Design Baseline Design Baseline Preprocessor Preprocessor Types Types Variables Variables User Functions User Functions Some Intrinsic functions Some Intrinsic functions

Design Baseline ‘ C ’ -like syntax ‘ C ’ -like syntax A standard language A standard language  like C++ or C# ™ or HTML  in Visual Studio ®.NET

Preprocessor #define #define #elif #elif #else #else #endif #endif #error #error  Preprocessor present in all file formats  ASM, HLSL, Effect

Types Basic types Basic types  float  int  bool  double  half Structs and arrays supported Structs and arrays supported

Variables Local / global Local / global Static Static Const Const

User Functions Standard ‘ C ’ -like functions Standard ‘ C ’ -like functions Output type and input parameters Output type and input parameters Parameters are passed by copy in/copy out mechanism Parameters are passed by copy in/copy out mechanism  in/out declaration Inlined internally Inlined internally  NO recursion

Some Intrinsic functions

DirectX 8 Vertex Declaration v0skipv1 Strm0Strm1 Declaration Vertex layout vs 1.1 mov r0, v0 … Shader program Shader handle

posnormdiff Strm0Strm1 posnormdiff Strm0 Declaration Vertex layout vs 1.1 dcl_position v0 dcl_diffuse v1 mov r0, v0 … Shader program (Shader handle) New Vertex Declaration vs 1.1 dcl_position v0 dcl_diffuse v1 mov r0, v0 …

.NET 과 DirectX 9 Managed Programming What is Managed DirectX? What is Managed DirectX? Managed DirectX Namespace Managed DirectX Namespace

What is Managed DirectX? A thin wrapping of DirectX to provide support to CLS Compliant Languages (i.e. C#) A thin wrapping of DirectX to provide support to CLS Compliant Languages (i.e. C#) Eliminates using COM interop or the DXVB library Eliminates using COM interop or the DXVB library  Removes performance cost of COM interop  Using the DXVB library was unsupported

What is Managed DirectX? Features supported in Managed DirectX Features supported in Managed DirectX  Graphics  Feature parity with Direct3D, D3DX  DirectDraw ® (DirectX 7 level interfaces)  Audio  Feature parity with DirectSound ®  Input  Feature parity with DirectInput ®  Networking  Feature parity with DirectPlay ®  Video  Simple audio/video playback functionality  Diagnostics  Easily access data provided by DxDiag

What is Managed DirectX? Principle Namespaces Principle Namespaces  Microsoft.DirectX  Microsoft.DirectX.Direct3D  Microsoft.DirectX.DirectPlay  Microsoft.DirectX.DirectDraw  Microsoft.DirectX.DirectSound  Microsoft.DirectX.DirectMusic  Microsoft.DirectX.DirectInput  Microsoft.DirectX.AudioVideoPlayback  Microsoft.DirectX.Diagnostics

demo demo

Design DX10 차세대 하드웨어 적용 차세대 하드웨어 적용  새로운 Shader models Refactoring APIs 와 DDIs Refactoring APIs 와 DDIs 관리형 GPU 와 CPU 관리형 GPU 와 CPU

5-Year Plan 2002 DX DX DX DX DX9+, DX10 in Longhorn 2004 DX9+, DX10 in Longhorn  New shader models  Introduce GPU management 2005 안정된 DX 안정된 DX10  Begin technology transfers to  VStudio team (compilers, tools)  Core OS team (GPU management) 2006 Blackcomb 2006 Blackcomb

Q & A ?

© 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.