[vtkusers] "big" spheres not plotting

David E DeMarle dave.demarle at kitware.com
Mon Mar 17 15:10:36 EDT 2014


I think you will have to scale those down to something that will fit into a
float. Except for some of the new code in the charts modules, VTK uses
single precision openGL rendering.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sun, Mar 16, 2014 at 11:05 AM, Peter Bosler <pbosler at umich.edu> wrote:

> Good morning,
>
> I have just upgraded my model from testing algorithms on the unit sphere
> (x,y,z in [-1,1]) to a model that computes in physical units relevant to an
> Earth-sized sphere, so that now x,y,z span [-6.371e6, 6.371e6].  While
> ParaView handles this change with no problem, my vtk codes no longer show
> the polydata -- all I get upon rendering is a blank field.
>
> I have tried changing the camera positions to account for the now much
> larger physical space, and I can verify that the vtkPolyDataReaders are
> working by displaying the number of cells.  I suspect it's an issue with
> coordinate systems, but then changing the camera position and view up
> should have worked.
>
> Any suggestions to get my "big" spheres to show up in vtk?
>
> Thanks very much.
>
>
> -----------------------
> Pete Bosler
> Postdoctoral Assistant Professor
> Applied and Interdisciplinary Mathematics
> University of Michigan
>
> pbosler at umich.edu
> http://www-personal.umich.edu/~pbosler/
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140317/729191ec/attachment.html>


More information about the vtkusers mailing list