[prev in list] [next in list] [prev in thread] [next in thread]
List: vtk-developers
Subject: Re: [vtk-developers] vtkShadowRenderer
From: Lisa Avila <lisa.avila () kitware ! com>
Date: 2003-03-31 21:41:39
Message-ID: 5.2.0.9.0.20030331163726.030b4ec8 () pop ! biz ! rr ! com
[Download RAW message or body]
Hi Brian,
>vtkOpenGLPolyDataMapper.cxx -- line 126
>ren->GetRenderWindow()->MakeCurrent();
This line is needed because the Update call made to update the input data
may have caused another OpenGL context to become current. This line cannot
be removed.
>vtkOpenGLProperty.cxx -- line 51
>glDisable(GL_TEXTURE_2D);
This actually should be replaced - instead of enabling and disabling things
we should probably push the attribute bits and pop them - the only problem
is that the path through the rendering code goes through the OpenGL
property early on - so we could push there - but it is not quite as clear
where we would do the pop. This is the same reason why the disable is here
- it may have been enabled in a previous prop but not disabled, so it is
done in the next prop's property. Do you know why this particular disable
is causing you problems?
Lisa
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic