From the course: Windows Presentation Foundation: 1 Build Dramatic Desktop Applications
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
The 3D parts of WPF
From the course: Windows Presentation Foundation: 1 Build Dramatic Desktop Applications
The 3D parts of WPF
- [Narrator] WPF is built on the DirectX 3D rendering engine which means that the pixels rendered to the screen are coming from DirectX. This results in fast, dynamic UI because WPF can leverage the DirectX accelerated 3D rendering pipeline and 2D bitmap rending. This enables WPF to take advantage of the modern graphics cards. Most line of business applications stay in the 2D realm and don't venture over to the 3D side very often. But the 3D system is available when needed. Here are some examples. I'll run this VideoWrapping.exe. So this is a WPF application. Let me maximize it so it can see everything. And it is a normal two-dimensional application. But it's being rendered as a 3D surface. And I can build a scene that looks more three-dimensional by using what's called a 3D viewport. And I'll go over here to this Cube A demonstration. And this is an example of a viewport, this black area on the screen is the viewport, and what I have here is that viewport inside my WPF application…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.