This website uses cookies to ensure you have the best experience. Learn more

Use Direct X In C# Essay

2043 words - 9 pages

UNIVERSITY OF WATERLOO
Faculty of Mathematics
USE DIRECTX IN C#
Intentional Software Corporation Bellevue, Washington
Prepared by Xingyu Zhang
Computer Science December 13, 2014


Table of Contents
Summary ....................................................................................................................................... iii 1.0 Introduction .............................................................................................................................. 1 2.0 Analysis .................................................................................................... 2
2.1 What is Metro ...view middle of the document...

The discussion shows that to port an existing desktop application written in C++/CLI, it has to be rewritten in C++/CX.
The report focuses only on how to achieve the goal of using the DirectX libraries in C#. It does not discuss any advanced computer graphics topics.

3
1.0 Introduction
As one of the most popular operating system, Windows always has a huge developer community. However, with the new Windows 8 comes with a lot of new concept: a new design style called Metro, a new runtime called WinRT and many new restrictions on app development, it can be confusing learning all these new ideas.
This report aims to be a general guideline for those who want to develop Metro apps with DirectX using C#. It is assumed that all readers would have basic knowledge of programming, the programming languages of C++ and C#, the basic usage of DirectX and the .NET framework.
The report discusses the concept of the new Metro design style. It briefly introduces the graphic libraries DirectX and then it jumps to the discussion of how to develop a Metro app in C# while making use of the DirectX libraries followed by detailed the instructions with sample code.
1
2.0 Analysis
2.1 What is Metro
Metro is the codename for the design style of the
newly added start screen in Windows 8 and
Windows Store Apps. The term was officially
introduced during the unveiling of Windows
Phone 7, but early examples can also be found in
Microsoft’s encyclopedia Encarta and its messaging application MSN 2.0[1], which was later merged with Skype. Now the Metro design style can be found in most of Microsoft’s software products like Windows 8, Windows Phone and Outlook[2]. Microsoft has a set of specific design guidelines for Windows Store Apps based on the Microsoft design principles
2.2 Microsoft Design Principles
Lately there is a shift that both consumers and companies are paying more attention to the design of products. Powerful foundations, creative and impactful ideas and the opinion of anything else is out of date made the shift possible. The premise of this shift have then become the Microsoft design principles.
2
The Metro design style can be generally classified as “flat design” based on three distinct pillars: The Bauhaus, International typographic style and Motion design. These inspirations lead to the Microsoft design principles[3]:
* Pride in craftsmanship
* Do more with less
* Fast and fluid
* Authentically digital * Win as one
2.3 DirectX
DirectX is a collection of low level APIs for dealing with tasks concerning graphics and multimedia developed by Microsoft. It is largely used in games and applications with stunning visuals. On the right is a screenshot of a game developed using the functionalities provided by the DirectX libraries.
http://msdn.microsoft.com/library/windows/
apps/jj554502.aspx
When people speak of DirectX, they are usually referring to the graphical APIs, but in fact, the complete DirectX...

Other Essays Like Use DirectX in C#

Adobe Premiere Pro 1.5 Essay

1140 words - 5 pages corporate project or an independent film. Premiere Pro need a fast processor to get the maximum effectiveness. It can be use on a personal computer, such as a desktop or a notebook computer. A Small Office/Home Office (SOHO) user. Business can use the Premiere Pro to show customers real time presentation of their business. Since Premiere has the capabilities to quickly remove unused material and consolidate the work into one location, it

Comparative Study on Sony Playstation and Microsoft Xbox

5291 words - 22 pages achievement occurred faster than its predecessor, the PlayStation, which took "9 years and 6 months since launch" to reach the same figure. PlayStation 2 shipments in Japan ended on December 28, 2012. The Guardian reported on January 4, 2013 that PS2 production had ended worldwide. But studies show that many people all around the world still own one even if it is no longer in use. Slimline model Released in 2004, four years after the launch of the

Term Paper

1807 words - 8 pages . Computer c. Cellphone d. Photocopier 36. What was Hebe the goddess of? a. Beauty b. War c. Water d. Youth 37. What colour graded slope do expert skiers use? a. Red b. Blue c. Green d. Black 38. Oliver was fed gruel - its made from water and what? a. Cereal b. Chocolate c. Grains d. Oatmeal 39. In the 18th century Siberia used solid blocks of what as money? a. Yen b. Dinar c. Pesos d. Tea 40

Health and Social Care

2570 words - 11 pages behaviour |Optional Group C | |HSC 3047 |5 |3 |Support use of medication in social care settings |Optional Group C | |HSC 3048 |7 |3 |Support individuals at the end of life |Optional Group C | |HSC 3049 |3 |2 |Prepare environments and

Docawfgw3Wfg

2483 words - 10 pages breather. Em, D (don't use your middle finger), C and A "Breakdown" by SEETHER Em D The sun is gone and the flowers rot Em D Words are spaces between us Em D And I should've been drown in the rivers I've found of token lost Em D And I should've been down when you made me insecure C

Unit 7 Chapter 8 Study Guide

3947 words - 16 pages are around the central iodine atom? A) 0 B) 1 C) 2 D) 3 E) 4 87. In the Lewis structure for SF6, the central sulfur atom shares __________ electrons. A) 4 B) 8 C) 10 D) 12 E) none of the above, because SF6 is an ionic compound Use the following to answer questions 88-89: Consider the following molecules. I. BF3 II. CHBr3 (C is the central atom) III. Br2 IV. XeCl2

Marker Rings

3692 words - 15 pages . According to the passage, the energy requirement of the future will be decided on the basis of which of the following? (A) Total energy already consumed by us in the past (B) The increase in the buildings constructed in the rural areas (C) Level of development of the oil industry and profile of the affected people (D) None of these Ans. (D) 5. The author feels that increasing per capita use of energy is— (A) Not at all desirable (B) A

Calyx and Corolla

1266 words - 6 pages market needs that align with C&C’s products; the company can use these categories to guide their marketing and capture more of those individuals. One area in which C&C could drive up sales is among customers who already understand the benefit of the company’s offerings and business model.  The establishment of a loyalty program would allow the company to aggressively target these consumers through both the use of incentives and

Mgt/330 Final Test

1308 words - 6 pages programming stage of human resources management consists of: A. Setting up employee files in the computer B. Evaluating employee performance levels C. Implementing plans determined earlier D. Determining appropriate automation methods 20) Companies use empowerment programs, continuous improvement, and total quality initiatives to achieve: A. Complete organization B. Imitation C. Rareness D. Value

English Proficiency

1268 words - 6 pages descriptive research goes beyond mere tabulation of data to the analysis and interpretation and meaning of what is being described. It involves a more in depth analysis through the use of numerical and comparative analysis. Population, Sample Size and Sampling Technique Table 1 Frequency and Percentage Distribution of Population and Sample |Course, Year and Section |Population |Sample

Psychology Today

2162 words - 9 pages unconscious encoding of incidental information.| B)|the tendency to recall best the first item in a list.| C)|the organization of information into meaningful units.| D)|getting information into memory through the use of visual imagery.| 12.|A momentary sensory memory of visual stimuli is called ________ memory.| A)|implicit| B)|flashbulb| C)|echoic| D)|iconic| 13.|Echoic memory refers to:| A)|a vivid memory of an emotionally

Related Papers

Vet It Assignment

988 words - 4 pages ICAU2005B Operate computer hardware (Complete and Email by 19/5/10) Task 1: Identify and use workplace computer hardware Scenario |Welcome to Diggit Engineering. We provide technical, engineering and construction services to the mining industry in the Asia-Pacific. | |Your position is officially designated as an Office Assistant, but your role will likely include other activities as required. As a | |result of expansion

My Engine Class Essay

1437 words - 6 pages My Engine Class Not too long ago I was coding a game engine. Oh, it had everything; sound was automated, 3d meshes of varying formats were loaded in nicely consolidated classes, I had font classes and sprites for 2d animation, and all in all it was about an eight thousand-line project. It was fairly solid, had never crashed on me, and I thought I was ready to create a game. Then I ran it through Microsoft's Visual C++ debugger. Darn

Reverberation Essay

2121 words - 9 pages mix them together into a final production. • Audio editors: eg Sonic Foundry Sound Forge, Syntrillium Cool Edit Pro, Steinberg Wavelab (etc)... These are for editing individual WAV files - cutting, fading, splicing etc. • The Steinberg products use a technology called VST, the others use one called DirectX. In each case it allows the application to have more "options" available in their menus There are two ways you can use these effects

Compare Windows 7 To Vista To Xp

1936 words - 8 pages List. Windows Taskbar allows users to quickly access the programs they use the most. One advantage to having the applications on the Windows 7 Taskbar is you have fewer icons on the Desktop, thus allowing for a more manageable desktop environment.Jump Lists Jump Lists are a new feature to the Windows lineup. They allow you to quickly access files that you have been working on. For example, if you have the Microsoft Word icon in the taskbar, you can