bug fix for ImmediateModeRendering

Bill Lorensen wlorens1 at nycap.rr.com
Sat Mar 25 08:37:31 EST 2000


Randy,
         Thanks for the bug report AND the fix. It should appear tonight. I added your example as a regression test.

Bill

At 10:59 AM 3/23/00 -0600, Randy Heiland wrote:
>My earlier bug report for ImmediateModeRendering can be fixed by the following,
>in graphics/vtkOpenGLPolyDataMapper.cxx:
>
>after:
>   // if we are in immediate mode rendering we always
>   // want to draw the primitives here
>   if (this->ImmediateModeRendering ||
>       this->GetGlobalImmediateModeRendering())
>     {
>insert:
>     this->GetColors();
>
>
>I've no idea if this is the best fix, but it solves my immediate problem - no
>pun intended :)
>
>I'm still confused over this relationship between vtkScalars and
>vtkLookupTable, and the fact that a LUT also has a copy of the ScalarRange (I
>sent in a question earlier, but the list was down)...
>
>--Randy


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list