View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015583 | VTK | (No Category) | public | 2015-07-15 10:56 | 2015-08-05 10:54 | ||||
Reporter | Matthew | ||||||||
Assigned To | T.J. Corona | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 6.3.0 | |||||||
Summary | 0015583: Rendering error in VTK 6.2.0 when using Opengl2 | ||||||||
Description | If you enable edge visibility on a vtkActor, render the actor, then later disable edge visibility, and render the actor. The actor will be rendered in such a way that you can still see lines from inner faces. (You need to be rendering an actor with inside faces, like an actor where you have 10 cubes right next to each other in each direction. The issue is caused by GL_POLYGON_OFFSET_FILL being left enabled. The file that needs modifying is: Rendering\OpenGL2\vtkOpenGLPolyDataMapper.cxx In: void vtkOpenGLPolyDataMapper::RenderPieceStart(vtkRenderer* ren, vtkActor *actor) bool draw_surface_with_edges = (prop->GetEdgeVisibility() && prop->GetRepresentation() == VTK_SURFACE); if ( this->GetResolveCoincidentTopology() || draw_surface_with_edges) { glEnable(GL_POLYGON_OFFSET_FILL); But then in void vtkOpenGLPolyDataMapper::RenderPieceFinish(vtkRenderer* ren, vtkActor *vtkNotUsed(actor)) if ( this->GetResolveCoincidentTopology()) { glDisable(GL_POLYGON_OFFSET_FILL); GL_POLYGON_OFFSET_FILL is only disabled if GetResolveCoincidentTopology even though it was enabled by either GetResolveCoincidentTopology or EdgeVisibility. Which causes GL_POLYGON_OFFSET_FILL to remain enabled when EdgeVisibility is enabled and GetResolveCoincidentTopology is disabled. This results in the incorrect rendering issue. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034891) T.J. Corona (developer) 2015-08-05 10:54 |
This problem has been fixed in 6.3.0. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-15 10:56 | Matthew | New Issue | |
2015-08-05 08:10 | Utkarsh Ayachit | Assigned To | => T.J. Corona |
2015-08-05 10:53 | T.J. Corona | Assigned To | T.J. Corona => T.J. Corona |
2015-08-05 10:54 | T.J. Corona | Note Added: 0034891 | |
2015-08-05 10:54 | T.J. Corona | Status | backlog => closed |
2015-08-05 10:54 | T.J. Corona | Resolution | open => fixed |
2015-08-05 10:54 | T.J. Corona | Fixed in Version | => 6.3.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |