[vtkusers] Toggling ScalarVisibility ruins actor's backface color

Jochen K. jochen.kling at email.de
Fri Jun 22 06:31:03 EDT 2012


Hi Peter,

sorry, my approach to this problem has been a bit too naive.

I compiled VTK with Debug ON and ran a debug session reproducing this
problem with C++. 

The only thing I found out so far is the function which is rendering the
backface
(look at function vtkActor::RenderOpaqueGeometry(vtkViewport *vp) for this
call: this->BackfaceProperty->BackfaceRender(this, ren)) 

is called no matter how ScalarVisibility is set, which indeed is surprising
me.

After this->BackfaceProperty->BackfaceRender(this, ren) has been called
another two calls are made:

  this->Render(ren,this->Mapper); // which calls the superclass Render
function
  this->Property->PostRender(this, ren);

The "failure" seems to be located within one of these two functions but I
cannot find it.
I have the feeling that this issue should be escalated to the developer
crew. I'm running out of any idea.

Sorry again for my naive approach in the first place. ;-)

with best regards
Jochen


--
View this message in context: http://vtk.1045678.n5.nabble.com/Toggling-ScalarVisibility-ruins-actor-s-backface-color-tp5714065p5714096.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list