|Anonymous | Login||2017-07-24 07:03 EDT|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006444||VTK||(No Category)||public||2008-02-26 09:14||2016-08-12 09:54|
|Assigned To||Kitware Robot|
|Target Version||Fixed in Version|
|Summary||0006444: vtkOpenGLExtensionManager performs undesired Render when vtkRenderWindowInteractor::Initialize() is called|
|Description||vtkOpenGLExtensionManager r1.31 calls vtkRenderWindow::Render() at line 399 if vtkRenderWindow::GetNeverRendered() returns 1 at line 397.|
This results in vtkRenderWindow::Render() being called from the middle of vtkOpenGLRenderWindow::OpenGLInit() with some of the settings which are set in this function still disabled, most notably GL_NORMALIZE. This in turn results in wrong rendering results during the first render after program start, which are very noticeable in some circumstances. See the attached image, on the left what it should look like, and on the right what it actually looks like.
The issue only happens when vtkRenderWindowInteractor::Start() (or Initialize()) is called, and only on the first render pass, thus on any next render pass (such as after any interaction) the image is as it should be. When vtkRenderWindow::Render() is called the issue does not happen, because vtkRenderWindow::Render sets NeverRendered to 0 before any initialization, thus before OpenGLInit() gets called.
|Additional Information||This probably only matters in strange circumstances, nevertheless it does happen. |
The extension manager should probably not call Render at all, since the manager works just as well when the RenderWindow has not yet actually ever rendered anything in spite of the NeverRendered ivar being set to 0. This happens when vtkRenderWindow::Render() is called - the ivar is 0 but no rendering has yet happened when the manager checks this ivar when it is created in OpenGLInit)).
|Tags||No tags attached.|
|Attached Files|| example.png [^] (2,434 bytes) 2008-02-26 09:14
Kitware Robot (administrator)
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.
|2008-02-26 09:14||Chris Kruszynski||New Issue|
|2008-02-26 09:14||Chris Kruszynski||File Added: example.png|
|2011-06-16 13:11||Zack Galbreath||Category||=> (No Category)|
|2016-08-12 09:54||Kitware Robot||Note Added: 0036953|
|2016-08-12 09:54||Kitware Robot||Status||expired => closed|
|2016-08-12 09:54||Kitware Robot||Resolution||open => moved|
|2016-08-12 09:54||Kitware Robot||Assigned To||=> Kitware Robot|
|Copyright © 2000 - 2017 MantisBT Team|