Changeset 4650 for vtkvis


Ignore:
Timestamp:
Oct 16, 2014, 12:42:33 PM (10 years ago)
Author:
ldelgass
Message:

Another fix for OpenGL2 backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/trunk/Volume.cpp

    r4245 r4650  
    210210        // DataSet is unstructured grid
    211211        // Only works if cells are all tetrahedra
    212         _volumeMapper = vtkSmartPointer<vtkProjectedTetrahedraMapper>::New();
     212        //_volumeMapper = vtkSmartPointer<vtkProjectedTetrahedraMapper>::New();
    213213        // Software raycast rendering - requires all tetrahedra
    214         //_volumeMapper = vtkSmartPointer<vtkUnstructuredGridVolumeRayCastMapper>::New();
     214        _volumeMapper = vtkSmartPointer<vtkUnstructuredGridVolumeRayCastMapper>::New();
    215215        if (ugrid->GetCellType(0) == VTK_TETRA &&
    216216            ugrid->IsHomogeneous()) {
Note: See TracChangeset for help on using the changeset viewer.