mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Revert ContourMap texture-based rendering changes
Reverts: - ContourMap: Smooth texture edges with weighted alpha blending (2dc7123d8) - ContourMap: Increase texture resolution with bilinear interpolation (2e1e99602) - ContourMap: Add texture-based rendering as default rendering mode (87ef7a01b)
This commit is contained in:
1 parent
2dc7123d8f
commit
4b43fcf0a7
6 files changed
+19
-305
No files matched your search
@@ -345,24 +345,12 @@ void RimEclipseContourMapView::appendContourMapProjectionToModel()
|
||||
|
||||
cvf::ref<caf::DisplayCoordTransform> transForm = displayCoordTransform();
|
||||
|
||||
if ( m_contourMapProjection->showTrianglesWithColor() )
|
||||
{
|
||||
m_contourMapProjectionPartMgr->appendProjectionToModel( contourMapProjectionModelBasicList.p(),
|
||||
transForm.p(),
|
||||
m_contourMapProjection->trianglesWithVertexValues(),
|
||||
*m_contourMapProjection->mapGrid(),
|
||||
backgroundColor(),
|
||||
m_contourMapProjection->legendConfig()->scalarMapper() );
|
||||
}
|
||||
|
||||
if ( m_contourMapProjection->showImage() )
|
||||
{
|
||||
m_contourMapProjectionPartMgr->appendProjectionAsTexturedQuad( contourMapProjectionModelBasicList.p(),
|
||||
transForm.p(),
|
||||
m_contourMapProjection->legendConfig()->scalarMapper(),
|
||||
*m_contourMapProjection->mapProjection(),
|
||||
*m_contourMapProjection->mapGrid() );
|
||||
}
|
||||
m_contourMapProjectionPartMgr->appendProjectionToModel( contourMapProjectionModelBasicList.p(),
|
||||
transForm.p(),
|
||||
m_contourMapProjection->trianglesWithVertexValues(),
|
||||
*m_contourMapProjection->mapGrid(),
|
||||
backgroundColor(),
|
||||
m_contourMapProjection->legendConfig()->scalarMapper() );
|
||||
|
||||
contourMapProjectionModelBasicList->updateBoundingBoxesRecursive();
|
||||
frameScene->addModel( contourMapProjectionModelBasicList.p() );
|
||||
|
||||
Reference in new issue
Block a user