View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013151 | VTK | (No Category) | public | 2012-05-07 04:20 | 2013-10-30 14:03 | ||||
Reporter | Benoît Bleuzé | ||||||||
Assigned To | Dan Lipsa | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013151: Incorrect assert in volume rendering shading with dependent components | ||||||||
Description | Hi, I mentioned this problem on the user mailing list, but no one seemed to take any interest in it, so I am filing this as a bug, even if I am not sure it is desirable behaviour: I am doing volume rendering of an rgba volume (4 channels 3d image). To do this I set the following 2 vtkVolume properties: vtkVolumeProperty::IndependentComponentsOff() and vtkVolumeProperty::ShadeOn() I use the GPU Rendering: vtkGPUVolumeRayCastMapper As a result, if I compile vtk in debug mode I stumble upon this failing assert call, in vtkOpenGLGPUVolumeRayCastMapper.cxx, line 4159 in vtk 5.8.0 (in git at this time it's on line 4152), in the following method: void vtkOpenGLGPUVolumeRayCastMapper::PreRender(vtkRenderer *ren, vtkVolume *vol, double datasetBounds[6], double scalarRange[2], int numberOfScalarComponents, unsigned int numberOfLevels) [...] if ( vol->GetProperty()->GetShade() ) { shadeMethod=vtkOpenGLGPUVolumeRayCastMapperShadeYes; assert("check: only_1_component_todo" && numberOfScalarComponents==1); } [...] If I run the same code in Release mode, nothing goes wrong and there is indeed shading performed on my rgba data. Should this assert be removed, or is shading on dependent components not something to do? I reckon this is indeed a dangling assert from a tiem this was not possible. But maybe I am just lucky that it works. In the latter case, I do apologise for the noise, but would like to get the reasoning behind this assert. Best wishes, Benoit Bleuzé | ||||||||
Steps To Reproduce | In the following VTK test Rendering/Volume/Testing/Cxx/TestGPURayCastFourComponentsComposite.cxx set ShadeOn. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
There are no notes attached to this issue. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-07 04:20 | Benoît Bleuzé | New Issue | |
2013-10-21 13:46 | Dan Lipsa | Assigned To | => Dan Lipsa |
2013-10-21 13:46 | Dan Lipsa | Status | backlog => tabled |
2013-10-21 14:18 | Dave DeMarle | Status | tabled => backlog |
2013-10-28 14:00 | Dan Lipsa | Status | backlog => gerrit review |
2013-10-28 14:00 | Dan Lipsa | Resolution | open => fixed |
2013-10-28 14:00 | Dan Lipsa | Steps to Reproduce Updated | |
2013-10-29 14:51 | Dan Lipsa | Steps to Reproduce Updated | |
2013-10-29 16:11 | Dan Lipsa | Steps to Reproduce Updated | |
2013-10-30 14:03 | Dan Lipsa | Status | gerrit review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |