Outlines on Extruded Geometry Bottom

classic Classic list List threaded Threaded
1 message Options
jeladi jeladi
Reply | Threaded
Open this post in threaded view
|

Outlines on Extruded Geometry Bottom

I am drawing some extruded circles, line strings, and polygons that are typically offset from the ground.  Setting the line style like this allows me to get outlines on the top and side faces of the objects:

osgEarth::Symbology::Color outlineColor(osg::Vec4f(1.0f, 1.0f, 1.0f, 1.0f));

m_style.getOrCreate<osgEarth::Symbology::ExtrusionSymbol>()->height() = height;
m_style.getOrCreate<osgEarth::Symbology::LineSymbol>()->stroke()->color() = outlineColor;
m_style.getOrCreate<osgEarth::Symbology::PolygonSymbol>()->fill()->color() = fillColor;

However, I do not get outlines on the bottom faces of the objects.  Is there a way to enable this?