Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VTK
VTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 582
    • Issues 582
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 160
    • Merge Requests 160
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #16907

Closed
Open
Opened Nov 09, 2016 by Honghe@Honghe

VTK 7.1 vtkOpenGLGPUVolumeRayCastMapper will not refresh volume when the first frame is a pure color

Environment:

  • Ubuntu 14.04.5 64bit
  • VTK 7.1.0

vtkOpenGLGPUVolumeRayCastMapper will not refresh volume when the first volume frame is a pure color.

I have uploaded the demo code to https://github.com/Honghe/Demo_vtk_volume_not_refresh
And the code in the line ViewPort1.cpp#L62 is the toggle. If set the value to the same scalar, the subsequent volume data change will not be render.

The following image is a demo: the left sub image is set to pure color at the first frame, and the right sub image is set to random colors at the first frame.

Screenshot_from_2016-11-09_14_24_43

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: vtk/vtk#16907