Commit 8dc6d5a6 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE #747] removed commented unnecessary code

parent a58751fe
......@@ -789,21 +789,6 @@ void WMFiberDisplay::createFiberGeode( std::shared_ptr< WDataSetFibers > fibers,
endGeometry->setUseDisplayList( false );
endGeometry->setUseVertexBufferObjects( true );
// // bind the attribute
// geometry->setVertexAttribArray( 15, m_primitiveID );
// // the attributes are define per line strip, thus we bind the array accordingly
// geometry->setVertexAttribBinding( 15, osg::Geometry::BIND_PER_VERTEX );
// // geometry->setSecondaryColorBinding( osg::Geometry::BIND_PER_VERTEX );
// if( tubeMode )
// {
// // we have one vertex per line, so bind the attribute array per vertex
// startGeometry->setVertexAttribArray( 15, m_primitiveID );
// startGeometry->setVertexAttribBinding( 15, osg::Geometry::BIND_PER_VERTEX );
// endGeometry->setVertexAttribArray( 15, m_primitiveID );
// endGeometry->setVertexAttribBinding( 15, osg::Geometry::BIND_PER_VERTEX );
// }
// add an update callback which later handles several things like the filter attribute array
geometry->setUpdateCallback( new WGEFunctorCallback< osg::Drawable >( boost::bind( &WMFiberDisplay::geometryUpdate,
this,
......
......@@ -130,9 +130,6 @@ void main()
// use secondary color only if bitfield filtering is active
#ifdef BITFIELD_ENABLED
#ifdef SECONDARY_COLORING_ENABLED
// finalColor = mix( v_clusterColor, osg_Color, u_roiFilterColorOverride );
// FIXME_ somehow, the secondary color array does not arrive at the vertex shader although it is bound. We make endcaps transparent in the
// case
finalColor = mix( v_clusterColor, v_colorOut, u_roiFilterColorOverride );
#endif
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment