NASAWorldWind / WebWorldWind

The NASA WorldWind Javascript SDK (WebWW) includes the library and examples for creating geo-browser web applications and for embedding a 3D globe in HTML5 web pages.
887 stars 385 forks source link

Collada example near plane clipping #338

Open GabrielePrestifilippo opened 6 years ago

GabrielePrestifilippo commented 6 years ago

Child of #510

Description

In the Collada example, the duck becomes to hide below approximately 7,000 km when heading towards the duck.

Steps to Reproduce

  1. Open Example
  2. Tilt or pan the globe and zoom towards the duck

Expected behavior: Duck should not be hidden when the camera is far

Actual behavior: Duck starts to hide

Reproduces how often: 100%

Operating System and Version

Windows 10 (Version 1709) Firefox 57.0 (64bit)

pdavidc commented 6 years ago

The camera's near clip plan occludes the Collada models, which are positioned at high altitude. This is a good catch, and is part of a broader need to enhance WorldWind's handling of clip planes to support this type of use case.