World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 01-27-2012, 03:55 PM   #1
lancew
Junior Member
 
Join Date: Jan 2012
Posts: 1
lancew is on a distinguished road
Default Rendering ocean level as surface shape

I used the TexturedLayer class that pat wrote, and set the elevation to 0, but the surface shape was rendered right on the surface of terrain and seabed. From reading other posts, I thought that this class was supposed to be able to render a surface shape at an elevation above the surface.
lancew is offline   Reply With Quote
Old 01-30-2012, 07:54 PM   #2
heidtmare
Senior Member
 
heidtmare's Avatar
 
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 679
heidtmare is on a distinguished road
Default

surfaceshapes by definition are rendered into the imagery pipeline and as thus are always on the surface. They can't float above the surface.

If you need shapes that draw onto of the oceans surface then you either need a terrain model that never goes below MSL, or you need to use airspaces.
__________________