Example_TextureStreaming_A

Description

sealed class Tinman.Demo.Examples.Example_TextureStreaming_A

Derived from

Example_TextureStreaming abstract

Full source code is included in the Tinman 3D SDK download.

This example shows how to perform texture streaming with a single TerrainDecal object and a IModelTextureDynamic that has multiple array slices.

Using a single dynamic model texture array is the most straightforward way for implementing streaming and is also the most efficient one. However, it requires GPU support (see ITextureFactory.MaximumCount) and needs the source data of the data frames to be aligned in a pixel perfect manner. If these requirements cannot be met for some reason, please refer to Example_TextureStreaming_B for an alternative approach.

Public / Constructors

Example_​Texture​Streaming_​A


public constructor Example_TextureStreaming_A → (2)

center in : LatLon

The location of the terrain decal center.

heading in : float64

The heading of the terrain decal, in degrees.

Creates a new instance of Example_TextureStreaming_A.