[vtkusers] Rendering Speed

Phil Goddard philgoddard at telus.net
Wed Jun 18 12:31:48 EDT 2008


I'm wondering if anyone can give me some pointers to overcome the following
problems:
(I'm using vtkStructuredGrid to view some scalar data on a 200x100x30 3D
grid, and I'm using the Java wrappers.)

When my JFrame becomes visible (the very last line in my code) it is grey
and the data/grid (which is being created on a vtkPanel) doesn't appear
until 5-7 seconds later.

Are there any methods that I could look at to speed up the rendering of the
vtkPanel, or is there a way to determine when my data is ready to be viewed
so that I can delay making the frame visible until that time?

Also, when it first appears only part of my data is being rendered.
I am essentially visualizing a cube, however when it first visualizes one or
two of the corners (erroneously) look like they've been shaved off.
Not until I rotate the image does it become a whole cube.

Thanks
Phil.








More information about the vtkusers mailing list