Multimedia Seminar DirectX – use und concepts. 2 structure development / definition parts of DirectX versions concepts perspective.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Scenario: EOT/EOT-R/COT Resident admitted March 10th Admitted for PT and OT following knee replacement for patient with CHF, COPD, shortness of breath.
Angstrom Care 培苗社 Quadratic Equation II
AP STUDY SESSION 2.
1
Distributed Systems Architectures
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Myra Shields Training Manager Introduction to OvidSP.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
1 Hyades Command Routing Message flow and data translation.
David Burdett May 11, 2004 Package Binding for WS CDL.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination. Introduction to the Business.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt RhymesMapsMathInsects.
1 Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Break Time Remaining 10:00.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
ETS4 - What's new? - How to start? - Any questions?
PP Test Review Sections 6-1 to 6-6
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
TESOL International Convention Presentation- ESL Instruction: Developing Your Skills to Become a Master Conductor by Beth Clifton Crumpler by.
HORIZONT 1 XINFO ® The IT Information System PL/1 HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
1 Titre de la diapositive SDMO Industries – Training Département MICS KERYS 09- MICS KERYS – WEBSITE.
Essential Cell Biology
Converting a Fraction to %
Clock will move after 1 minute
PSSA Preparation.
Essential Cell Biology
The DDS Benchmarking Environment James Edmondson Vanderbilt University Nashville, TN.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Copyright Tim Morris/St Stephen's School
1.step PMIT start + initial project data input Concept Concept.
Introduction Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September 9, 2010.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Presentation transcript:

Multimedia Seminar DirectX – use und concepts

2 structure development / definition parts of DirectX versions concepts perspective

3 review – MS DOS Application had exclusive access to the hardware Programming in consideration of different hardware configurations required

4 review - Windows 95 multitasking ressources had to be shared poor performance in MM applications

5 definition what is DirectX as direct as possible as fast as possible as decent as possible

6 alternatives OpenGL 3dfx Glide

7 structure development / definition parts of DirectX versions concepts perspective

8 DirectX Components DirectGraphics DirectAudio DirectVideo DirectPlay DirectInput DirectShow

9 structure development / definition parts of DirectX versions concepts perspective

10 versions development course of the versions important features

11 DirectX 1 published 1995 with Win95 DirectDraw, DirectInput, DirectSound, DirectPlay no support for 3D Graphics yet

12 DirectX 2 published 1996 introduction of Direct3D creation of simple vector graphics

13 DirectX 3 DirectSound-3D extension for DirectSound support for Intels MMX extensions

14 DirectX 5 many new extensions -> skipped V4 force Feedback input devices hardwaresupport for 3D Audio introduction DirectX Media 3D API updated

15 DirectX 6 further 3D extensions (effects, texture compression, …) integration 3Dnow updated MMX support introduction of DirectMusic API

16 DirectX 7 further 3D API updates (Vertex Blending, Cubic Environment Mapping, …) MS Visual Basic Interface

17 DirectX 8 3D API extensions (point sprites to design rain or snow, …) support for Vertex Shader D3D & DirectDraw -> DirectGraphics, DirectSound & DirectMusic -> DirectAudio

18 DirectX 9 (actual version) HLSL performance enhancements in Vertex- and Pixelshader more exact calculations in D3D API interface to Visual Studio.NET development environment

19 DxDiag test DirectX functions display system hardware

20 Shader Definitions: Shader Pixel Vertex

21 Vertex Shader geometric calculations no creation but transformation used before Pixel Shader  possible parameter passing

22 Pixel Shader adressing of textures color and transparency calculation using parameters passed by the Vertex Shader for calculations SIMD

23 Shader programming pre-DirectX9 Complex visual effects had to be implemented in assembler DP3 R0, c[11].xyzx, c[11].xyzx RSQ R0, R0.x MUL R0, R0.x, c[11].xyzx MOV R1, c[3] MUL R1, R1.x, c[0].xyzx DP3 R2, R1.xyzx, R1.xyzx RSQ R2, R2.x MUL R1, R2.x, R1.xyzx ADD R2, R0.xyzx, R1.xyzx DP3 R3, R2.xyzx, R2.xyzx RSQ R3, R3.x MUL R2, R3.x, R2.xyzx DP3 R2, R1.xyzx, R2.xyzx MAX R2, c[3].z, R2.x MOV R2.z, c[3].y MOV R2.w, c[3].y LIT R2, R2

24 Shader programming DirectX 9 HLSL / Cg differences concept of HLSL/Cg (profiles) benefits

25 Shader programming in HLSL / Cg using known C/C++ constructs float4 cSpec = pow(max(0, dot(Nf, H)), phongExp).xxx; float4 cPlastic = Cd * (cAmbi + cDiff) + Cs * cSpec;

26 examples for effects Environment Bump Mapping

27 Anisotropic BRDF shading

28 fisheye lenseeffect

29 procedural deformation

30 phong shading

31 Structure of the DirectX APIs DirectX Media DirectX Foundation

32 structure development / definition parts of DirectX versions concepts perspective

33 Direct X - concepts HAL and HEL „Pseudo Einprozess System“ filter concept

34 HAL und HEL concept for programming without knowledge of the hardware

35 „Pseudo“ single process system more effective hardware usage by exclusive access release of control over hardware in case of request by other components already used by MS Game SDK, Vorgänger of DirectX

36 filter concept in detail used for processing streams, for example in DirectShow uses module architecture for stream processing -> flexible usage modules presented by filter filter types: source~, transform~, rendering~, effect~, splitter~.

37 FilterGraph GraphEdit

38 supported development environments Visual C and C++ Borland C++ MS Visual Basic Borland Delphi Smalltalk MT Java

39 DirectX Programming DirectX SDK as free download available, which contains the programming interfaces programming based on Component Object Model

40 COM client-server architecture used to import (make available) classes reusability many DirectX SDK functions can be reached by COM

41 COM server provides exportable classes (COM objects) COM objects contain the code and are defined by the COM interface 3 different server types:In-Process- Server, Local Server, Remote Server

42 COM – in process server COM object implemented in DLL file fast access every process using a COM object has to load it in the memory -> high memory usage

43 COM - local server executable Windows programs which implement the COM-Objects Start of these programs in case of request of an implemented object communication via RPC-protocol (remote procedure call) -> slow once loaded, a local server can provide several clients -> low memory usage

44 COM - remote server used if server and client are connected by a network uses DCOM (distributed COM) also using RPC -> slow access insecure RPC implementation in DCOM made W32.Blaster attack possible

45 COM client uses functions of the COM server knows the possible functions, declared in the interface conversation between server and client is done by the marshaler (which can e.g. convert data types)

46 COM interface represents a pointer referencing functions of the COM object each Interface has a unique ID (GUID – global unique identifier) has to be implemented in a specific IDL (Interface Definition Language) COM objects live as long as there exist references to their interface

47 structure development / definition parts of DirectX versions concepts perspective

48 perspective – DirectX Next release expected 2005 together with Longhorn unified shaders PPP - Programmable Primitive Processor Framebuffer access by shader virtual memory management integer instruction set

49 Questions ? ? ? ? ? ?

50 The end Thanks for your attention