[vtkusers] Attribute AllocatedRenderTime from vtkProp are a nan - VTK CVS HEAD
Francois Bertel
francois.bertel at kitware.com
Tue Mar 23 09:57:03 EDT 2010
Hello,
In your program, enable the floating point exceptions with:
#include "vtkFloatingPointExceptions.h" // this file is in VTK/Common
int main()
{
vtkFloatingPointExceptions::Enable();
// rest of your program here.
}
It then will crash where the first exception happen, probably because
of a division by 0. After locating, the line that triggers the
exception, you will be able to try to figure out why it happens.
On Tue, Mar 23, 2010 at 2:51 AM, Wagner Sales <wsales at gmail.com> wrote:
> Hi all,
>
> I'm using vtkGPUVolumeRayCastMapper to render some datasets. All
> things works fine, but in one condition, when I set the zoom, the
> property AllocatedRenderTime from vtkProp acquires a NAN value, and,
> of course, the application crashes. I really don't know what can turn
> this property in a NAN, then I'm asking here if someone knows. This
> will helps me to find the problem, and if necessary, fill the bug
> and/or suggest a path.
> Only to help, here are my backtrace:
>
>
> 0 vtkProp::GetAllocatedRenderTime vtkProp.h 300 0x01712f8e
> 1 vtkOpenGLGPUVolumeRayCastMapper::PreRender vtkOpenGLGPUVolumeRayCastMapper.cxx 4184 0x0784c5cd
> 2 vtkOpenGLGPUVolumeRayCastMapper::GPURender vtkOpenGLGPUVolumeRayCastMapper.cxx 5227 0x0785006e
> 3 vtkGPUVolumeRayCastMapper::Render vtkGPUVolumeRayCastMapper.cxx 145 0x0775f3d5
> 4 vtkVolume::RenderVolumetricGeometry vtkVolume.cxx 384 0x0190fb8e
> 5 vtkRenderer::UpdateGeometry vtkRenderer.cxx 655 0x01887e89
> 6 vtkOpenGLRenderer::DeviceRender vtkOpenGLRenderer.cxx 245 0x0197c1db
> 7 vtkRenderer::Render vtkRenderer.cxx 346 0x0188705d
> 8 vtkRendererCollection::Render vtkRendererCollection.cxx 52 0x018849bd
> 9 vtkRenderWindow::DoStereoRender vtkRenderWindow.cxx 708 0x0189b01f
> 10 vtkRenderWindow::DoFDRender vtkRenderWindow.cxx 677 0x0189af3e
> 11 vtkRenderWindow::DoAARender vtkRenderWindow.cxx 564 0x0189aadb
> 12 vtkRenderWindow::Render vtkRenderWindow.cxx 377 0x0189a2d3
> 13 vtkXOpenGLRenderWindow::Render vtkXOpenGLRenderWindow.cxx 1846 0x019d051c
>
>
> Regards,
>
> Wagner Sales
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list