Tutorial_30_SceneViewWidget
Description
- Derived from
-
Tutorial_03_Widget<SceneViewWidget> abstract
IEventListenerGeneric<Component> - Extended by
-
Tutorial_31_Showcase sealed
Tutorial_32_Gallery sealed
Tutorial_33_Effects sealed
Tutorial_34_Water sealed
Tutorial_35_Physics sealed
Tutorial_36_ImportExport sealed
Tutorial_38_Performance sealed
Tutorial_39_Editor sealed
Full source code is included in the Tinman 3D SDK download. |
Tinman 3D tutorial #30 : SceneViewWidget
This is the base class for tutorials that demonstrate how to use the Scene API. In this class, you will find some commonly used factory methods for creating scene components.
Public / Constants
Public / Methods
CreateDefaultTextureLayer
Declares the texture caches for the default texture layer by calling SceneOptions.TextureAtlas.
Creates the default texture layer and adds it to the scene.
The default texture layer is a TextureLayer scene entity that uses three pixel pyramids as content: a low-resolution albedo map for imagery (BlueMarble2), a linear normal map based on elevation and a linear reflectivity/gloss map for water bodies.
- IOException
-
If an I/O error has occurred.
CreateHeightmap_Earth_DEM
Creates a heightmap for the DEM of the Earth.
- IOException
-
If an I/O error has occurred.
CreateHeightmap_Earth_Geoid
Creates a heightmap for the geoid of the Earth.
- IOException
-
If an I/O error has occurred.
CreateHeightmap_Moon_DEM
Creates a heightmap for the Moon.
- IOException
-
If an I/O error has occurred.
CreateSceneAndPrimaryView
Creates a new Scene object using the given options in, along with a primary ISceneView3D.
RenderPleaseWait
This method can be used as a PleaseWaitDelegate for rendering a please-wait prompt while the scene is loading.