You can customize GermaniumWeb behavior and appearance for your application. Concretely, you have the following settings to customize:

Customizing GermaniumWeb user interface

There are 2 GermaniumWeb user interface elements that you can customize:

Eye controls

Eye controls are at upper-right corner of plugin area

Eye controls are the buttons located at the upper-right corner of the plugin area, as shown in the screenshot. Your end-users can manipulate the Eye using these buttons.

You can hide eye controls by calling SetEyeControlsVisible().



Default state of the grid

The grid visualizes the horizontal plane. When the scene is empty, it helps to visualize the scene orientation. You can:

Hiding the grid

Hiding grid

You can hide the grid by calling SetGridVisibility().

Setting grid height

Setting grid height

You can set the height of the grid by calling SetGridHeight().


Customizing scene background

You can customize the scene background by:

Setting a custom background color

Setting background to blue

You can set a custom background color by calling SetBackgroundColor().


Using the sky box

Using sky box

You can use the sky box by calling SetUseSkybox().


Customizing auto-rotation

You can customize the following auto-rotation settings:

You can set the rotation direction by calling SetAutoRotationDirection().


You can set the rotation period by calling SetAutoRotationPeriod().

germ.GetOptions().SetAutoRotationPeriod(10); // finish 1 revolution in 10 seconds

You can allow or disallow end-users to cancel auto-rotation by calling SetAutoRotationCancellable().


Customizing navigation modes

You can customize the settings for different navigation modes. Refer to the article on Navigation Modes to learn more.

Querying animated fading

End-users of your application can enable animated fading. When animated fading is enabled, objects fades gradually when appearing/disappearing. It looks nicer, but may interfere with your application behavior.

You can query whether or not animated fading is enabled by calling IsAnimatedFadingEnabled().

var outcome = germ.GetOptions().IsAnimatedFadingEnabled();
Enabling animated fading

Here is how end-users can turn on animated fading:

  1. Right click on the 3D scene,
  2. Click “Settings”,
  3. Click the “Display” tab,
  4. Check the “Enable animated fading” check box,
  5. Click the green check button to apply the change.



Retrieved from "http://www.germanium3d.com/code/OptionsConcepts"

This page has been accessed 97,731 times. This page was last modified on 30 April 2010, at 02:58.



API Key Registration

Developer Guide
- Introduction
- Buildings
- Point Placemarks
- Line & Polygon      PlacemarksUpdated
- Model Placemarks New
- HTMLBoxes New
- Eye Control
- Clip Planes
- Events
- Coordinate System
- Navigation Modes
- Options

API Documentation

- Applications Gallery
- Hello Germanium
- Interactive samples

More Resources
- API Release Notes
- Developer FAQ
- "A Beginner's Guide" slides
- Training Materials
- Icon Gallery
- Sample Buildings
- BBL Tree

Report Bugs