MantisBT - VTK
View Issue Details
0003839VTK(No Category)public2006-10-04 11:022016-08-12 09:54
Cory Quammen 
Kitware Robot 
lowfeaturealways
closedmoved 
 
 
0003839: Add PostRender() method to vtkTexture
I would like to see a PostRender() method added to vtkTexture that is called by vtkProperty::PostRender(). The vtkTexture::PostRender() method would let you clean up things you set up for applying the texture. For example, in vtkOpenGLProperty, you could use the PostRender() method to add a call to glDisable(GL_TEXTURE_2D), preventing you from having to disable texturing in other classes throughout VTK.

My particular need for a PostRender() method is prompted by a custom OpenGL 3D texture class I have written. I can enable 3D texturing in my class in the Load() method, but there is no logical place to disable it because after the geometry is rendered, there is no call back to vtkTexture. Because VTK does not support 3D textures by default, nowhere else in the code disables 3D texturing, which can cause rendering problems. For this reason, I would like to be able to disable 3D texturing in a PostRender() method in my custom class.
No tags attached.
Issue History
2008-11-30 09:06Mathieu MalaterreAssigned ToMathieu Malaterre => François Bertel
2010-09-07 13:46François BertelAssigned ToFrançois Bertel =>
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-06-11 23:13Cory QuammenNote Added: 0028687
2016-08-12 09:54Kitware RobotNote Added: 0036889
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0028687)
Cory Quammen   
2012-06-11 23:13   
This can be marked as closed because vtkTexture::PostRender() now exists.
(0036889)
Kitware Robot   
2016-08-12 09:54   
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.