Click or drag to resize
DigitalRuneRelease 2016-03-10
Release notes

The new release includes improved graphics interoperability and minor bug fixes.

SwapChainPresentationTarget for Universal Windows Platform (UWP)

This release adds a new interop presentation target for Universal Windows Platform (UWP) apps: The SwapChainPresentationTarget is a XAML element that is derived from the SwapChainPanel element. This control can be used to draw 3D graphics inside a regular UWP app.

We have provided a new example application, called UwpInteropSample, which shows how to use this new element.

Uwp Interop Sample
Screenshot: UwpInteropSample

Two SwapChainPresentationTargets are used in the screenshot. The SwapChainPresentationTarget supports transparency, scaling, and rotations - like other XAML elements.

The UwpInteropSample also shows how to create a game loop in a UWP app. The game loop runs in a parallel thread. It updates game services at a regular interval, e.g. 60 frames per second.

WPF applications over remote desktop (RDP)

The assembly DigitalRune.Graphics.dll now targets .NET 4.5, and the D3DImagePresentationTarget uses the improved D3DImage. The D3DImage will automatically fall back to software rendering when the front buffer becomes unavailable. (It is no longer necessary to check the IsFrontBufferAvailable flag.)

As a result of this change, WPF applications with 3D graphics can now be run over remote desktop (RDP) connections.

Change log

DigitalRune Base 1.20

DigitalRune Geometry 1.18.2

DigitalRune Graphics 1.2

  • NEW: SwapChainPresentationTarget for Universal Windows Platform (UWP) allows to combine 3D graphics with XAML elements.
  • NEW: Improved performance when resizing FormsPresentationTarget.
  • CHANGE: Switched DigitalRune Graphics for MonoGame/Windows from .NET 4.0 to .NET 4.5. This solves D3DImage problems when used in remote desktop.
  • CHANGE: DebugRenderer snaps text to pixel positions for sharper text rendering.
  • FIX: When model has skeleton with too many bones, a NullReferenceException is thrown instead of a GraphicsException.

DigitalRune Game 1.4

DigitalRune Game UI 1.7

  • NEW: Set attribute Premultiply="False" in theme XML to disable premultiplication with alpha during content processing of texture.
  • FIX: Users could write into a read-only TextBox if the focus was moved into the UI element with the keyboard.
  • FIX: Improved exception messages in content processor.

Samples

  • NEW: UwpInteropSample shows how to mix 3D graphics with XAML elements in Windows Universal Platform (UWP) apps.
  • CHANGE: Switched MonoGame/Windows samples from .NET 4.0 to .NET 4.5.
  • FIX: SampleHelper.CreateMesh did not set a proper bounding shape.