View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015914VTK(No Category)public2016-01-04 14:532016-01-08 09:44
ReporterKenji Tsumura 
Assigned ToDavid Gobbi 
PriorityurgentSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.0.rcs 
Target Version7.0.0Fixed in Version7.0.0 
Summary0015914: VTK-7.0.0 RC1: Image reslice with OpenGL2
DescriptionWhen I rotated a volume image, a portion of the resliced image is missing sometimes. The bug can be reproducible using the attached test code. As far as I can tell, the bug doesn't occur with VTK_RENDERING_BACKEND OpenGL setting.

My environment is:
VTK-7.0.0 RC1
CMake 3.1.1
Visual Studio 12 2013 Win 64
Steps To ReproduceI've confirmed this bug on my own system (OS X with ATI graphics). To reproduce, call vtkInteractorStyleImage::SetInteractionModeToImage3D() in TestImageResliceMapperOrient3D.cxx, and then perform oblique slicing on any of the displayed images (use shift-drag with left mouse button). The attached image shows more of the weird results.
Additional InformationFrom the look of the results, I suspect that the polygons are being generated incorrectly. The textures themselves look fine, and I also believe the texture coordinates are fine.

I can confirm that the oblique slicing was working for OpenGL2 at commit 06ad5dec (Tue Oct 27). So the bug was the result of a merge that occurred between Oct 27 and Dec 10.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Filescxx file icon TestImageResliceMapperOrient3D_mod.cxx [^] (3,563 bytes) 2016-01-04 14:53
jpg file icon ImageReslice_Bug.jpg [^] (53,372 bytes) 2016-01-04 18:45


png file icon ResliceMapperOrient.png [^] (87,274 bytes) 2016-01-06 12:39

 Relationships

  Notes
(0035637)
David Gobbi (developer)
2016-01-07 12:25

The following commit introduced the bug, according to git bisect:

commit 263583d1ced875bc422325dc6123d0309b0612ed
Author: Ken Martin <ken.martin@kitware.com>
Date: Thu Dec 3 11:25:59 2015 -0500

    Make the rebuilding of VBO and IBO very conservative_vbo_ibo_rebuild
    
    This topic should make it so that the VBO and IBO only gets
    rebuilt when it really needs to. Instead of relying on high
    level MTimes it actually looks at the pieces of data that impact
    the VBO or IBO respectively. The VBO can build without the IBO
    rebuilding and vice versa.
(0035638)
David Gobbi (developer)
2016-01-07 13:32

The problem appears to have been a timestamp issue, the correct geometry was not being pushed to the GPU. The following patch seems to fix the issue:

https://gitlab.kitware.com/vtk/vtk/merge_requests/1057 [^]
(0035639)
David Gobbi (developer)
2016-01-08 09:44

Fix has been merged into master and is scheduled for merge into 7.0.0.

 Issue History
Date Modified Username Field Change
2016-01-04 14:53 Kenji Tsumura New Issue
2016-01-04 14:53 Kenji Tsumura File Added: TestImageResliceMapperOrient3D_mod.cxx
2016-01-04 18:45 Kenji Tsumura File Added: ImageReslice_Bug.jpg
2016-01-06 09:51 David Gobbi Assigned To => David Gobbi
2016-01-06 12:39 David Gobbi Reproducibility have not tried => always
2016-01-06 12:39 David Gobbi Steps to Reproduce Updated
2016-01-06 12:39 David Gobbi File Added: ResliceMapperOrient.png
2016-01-06 13:05 David Gobbi Additional Information Updated
2016-01-06 16:28 David Gobbi Additional Information Updated
2016-01-06 16:29 David Gobbi Additional Information Updated
2016-01-06 16:41 David Gobbi Additional Information Updated
2016-01-06 18:56 David Gobbi Additional Information Updated
2016-01-06 19:09 David Gobbi Priority normal => urgent
2016-01-06 19:09 David Gobbi Product Version 6.3.0 => 7.0.rcs
2016-01-06 19:09 David Gobbi Target Version => 7.0.0
2016-01-07 12:25 David Gobbi Note Added: 0035637
2016-01-07 13:32 David Gobbi Note Added: 0035638
2016-01-07 13:32 David Gobbi Status backlog => active development
2016-01-08 09:44 David Gobbi Note Added: 0035639
2016-01-08 09:44 David Gobbi Status active development => closed
2016-01-08 09:44 David Gobbi Resolution open => fixed
2016-01-08 09:44 David Gobbi Fixed in Version => 7.0.0


Copyright © 2000 - 2018 MantisBT Team