[vtkusers] vtkTextureObject bind error

Rick Dailey rick at pile.com
Fri Jul 28 11:26:21 EDT 2017


Note 1: PDI-TOMO.exe vtkControlBase::Render() is my code that starts the
render process from a Windows WM_PAINT message.  I should not have have
named this class with the vtk prefix (may be confusing) and will probably
change it eventually.

Note 2: This stack trace only includes the render portion of the code - not
adding the objects to the renderer.  I could probably supply that too if
necessary.

Note 3: Remember that this error occurs only on a fraction of the volumes
that are rendered.  Most work fine.

>	ucrtbased.dll!common_assert_to_message_box<wchar_t>(const wchar_t * const
expression, const wchar_t * const file_name, const unsigned int line_number,
void * const return_address) Line 351	C++
 	ucrtbased.dll!common_assert<wchar_t>(const wchar_t * const expression,
const wchar_t * const file_name, const unsigned int line_number, void *
const return_address) Line 386	C++
 	ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t *
file_name, unsigned int line_number) Line 404	C++
 	vtkRenderingOpenGL2-8.1.dll!vtkTextureObject::Bind() Line 546	C++
 	vtkRenderingOpenGL2-8.1.dll!vtkTextureObject::Activate() Line 491	C++
 	vtkRenderingVolumeOpenGL2-8.1.dll!vtkVolumeTexture::LoadTexture(const int
interpolation, vtkVolumeTexture::VolumeBlock * volBlock) Line 268	C++
 	vtkRenderingVolumeOpenGL2-8.1.dll!vtkVolumeTexture::LoadVolume(vtkRenderer
* ren, vtkImageData * data, vtkDataArray * scalars, const int interpolation)
Line 114	C++
 
vtkRenderingVolumeOpenGL2-8.1.dll!vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::LoadData(vtkRenderer
* ren, vtkVolume * vol, vtkVolumeProperty * volProp, vtkImageData * input,
vtkDataArray * scalars) Line 900	C++
 
vtkRenderingVolumeOpenGL2-8.1.dll!vtkOpenGLGPUVolumeRayCastMapper::GPURender(vtkRenderer
* ren, vtkVolume * vol) Line 3427	C++
 	vtkRenderingVolume-8.1.dll!vtkGPUVolumeRayCastMapper::Render(vtkRenderer *
ren, vtkVolume * vol) Line 154	C++
 	vtkRenderingCore-8.1.dll!vtkVolume::RenderVolumetricGeometry(vtkViewport *
vp) Line 370	C++
 	vtkRenderingOpenGL2-8.1.dll!vtkOpenGLRenderer::UpdateGeometry() Line 273
C++
 	vtkRenderingOpenGL2-8.1.dll!vtkOpenGLRenderer::DeviceRender() Line 170	C++
 	vtkRenderingCore-8.1.dll!vtkRenderer::Render() Line 351	C++
 	vtkRenderingCore-8.1.dll!vtkRendererCollection::Render() Line 51	C++
 	vtkRenderingCore-8.1.dll!vtkRenderWindow::DoStereoRender() Line 781	C++
 	vtkRenderingCore-8.1.dll!vtkRenderWindow::DoFDRender() Line 747	C++
 	vtkRenderingCore-8.1.dll!vtkRenderWindow::DoAARender() Line 626	C++
 	vtkRenderingCore-8.1.dll!vtkRenderWindow::Render() Line 439	C++
 	PDI-TOMO.exe!vtkControlBase::Render(HDC dc, const wchar_t * location) Line
694	C++




--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkTextureObject-bind-error-tp5744068p5744198.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list