Subscribe: Daniel Lehenbauer's Blog
Preview: Daniel Lehenbauer's Blog

Daniel Lehenbauer's Blog

Exploring 3D graphics with the Windows Presentation Foundation, and other topics occasionally of interest to .NET developers.

Last Build Date: Fri, 24 Jul 2015 08:24:33 +0000


My not-so new opportunity…

Wed, 13 May 2009 09:13:00 +0000

It is perhaps an understatement to say it's been a while since I blogged. As is commonly the case with Microsoft blogs, the reason for going dark is that I left the WPF team almost two years ago for an opportunity I couldn't pass by to join a systems incubation startup. We're a small team with big ambitions,...

New Blender Exporter Features: Double Sided & Solid (Flat) Shading

Fri, 23 Jun 2006 00:33:00 +0000

[UPDATE: The Xaml Exporter now is hosted on CodePlex (here)]  I checked in an updated Blender exporter to 3D Tools for Windows Presentation Foundation which adds support for double sided materials and flat shaded geometry.  I have not yet package a new release, so for the moment you’ll need to grab from source control. These features are accessible via...

Looking for ScreenSpaceLines3D? — 3D Tools v0.4 released

Mon, 29 May 2006 18:08:13 +0000

I have posted a new release of the 3D Tools for the Windows Presentation Foundation targeting the Beta 2 release of the WinFX runtime.  The big addition in this release is a community owned implementation of the ScreenSpaceLines3D class.  ScreenSpaceLines3D is a 3D line primitive whose thickness is constant in 2D space post projection.*  This means that the...

Sphere, Cone, and Cylinder Sample Updated

Sat, 11 Feb 2006 23:23:00 +0000

Minor update: The "Extending Visual3D - Sphere, Cone, and Cylinder" sample has been updated to the December and January CTP (either will work).  Thanks to Barry Briggs for doing this and sending me the updated source.

Xaml Export Script for Blender

Sat, 14 Jan 2006 23:13:00 +0000

[UPDATE: The Xaml Exporter now is hosted on CodePlex (here)]  The 3D features in the Windows Presentation Foundation make it easier than ever to integrate 3D content into your applications.  However, unless you are satisfied with basic solid geometry you are going to need more than just the WPF.  You’re going to need 3D authoring tools to...

Why did we change LookAtPoint to LookDirection?

Wed, 04 Jan 2006 01:43:44 +0000

Ernie posted about the differences between the old LookAtPoint property and the new LookDirection property on ProjectionCamera (via KarstenJ.)  The quick summary is that LookAtPoint caused the camera to look at a fixed point in space (Figure 1a).  The new LookDirection property causes the camera to look in a fixed direction (Figure 1b).   Figure...

3D Tools Workspace updated to December CTP bits

Tue, 20 Dec 2005 14:58:00 +0000

I've packaged a new release of the 3D Tools workspace targeting the December CTP WinFX bits.  This release adds two requested features to the ModelViewer sample.  The first is the ability to light the scene.  This is convenient if you are viewing a model which does not contain lights.  There are two options for lighting: 1.  Headlight – This will add a white...

Rotating the Camera with the Mouse

Thu, 15 Dec 2005 21:29:00 +0000

Possibly the most common 3D UI paradigm is to rotate an object with the mouse in order to view it from all angles.  This is illustrated by the images of the tiger model below:  Figure 1a Tiger model in its original configuration Figure 1b Tiger model after the mouse has been dragged to the left...

WinFX November CTP Released!

Wed, 30 Nov 2005 13:54:00 +0000

If you are like me and have been holding off on installing the final version of the .NET Framework 2.0 and Visual Studio 2005 until you had Windows Presentation Foundation (formerly code-named Avalon) bits to work with then the wait is over.  The November CTP of the WPF works with the final .NET/VS bits. Tim...

3D for the Rest of Us: Texture Coordinates

Sun, 06 Nov 2005 18:05:00 +0000

Introduction People new to 3D are frequently confused by the extra level of indirection introduced by texture coordinates.  3D veterans familiar with texture coordinates from other platforms are sometimes surprised that the default behavior in the Windows Presentation Foundation (formerly code-named Avalon) is a bit different than what they are accustomed to in other 3D APIs. ...