[vtkusers] Problem displaying actors with large coordinates values ?

pof jd379252 at gmail.com
Thu Jul 2 14:16:25 EDT 2009


Hi L.J.,
A way to test your assumption would be to write the same sample using 
OpenGL directly, i.e. without the vtk overlay.
I might give it a go, if I find some spare time.
Thanks for your comment.
P.

L.J. van Ruijven a écrit :
> Hi P,
>
> I am not 100% convinced that the problem is caused by OpenGL. VTK also has functions that are numerically not optimal. For instance I have rewritten vtkTriangle::IntersectWithLine(...) because its result can be very inaccurate. In general you can decrease numerical errors by moving the centroid of the dataset to the origin, and/or scaling the dataset such that X,Y, and Z have ranges from -1 to 1. But the best solution remains of course rewriting all numerically unstable functions :-).
>
> Good luck,
> Leo
>
>
>
>   




More information about the vtkusers mailing list