[vtkusers] Re: What's Wrong With This?!?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Fri Mar 24 06:57:40 EST 2006


Andrea Gavana wrote:
> Hello Goodwin,
>  
>     thank you very much for your answer. I have used vtkDoubleArray 
> instead of vtkFloatArray. Well, it doesn't crash anymore, but all I get 
> is a black screen, there is nothing inside... no surface, no points, 
> nothing. Am I doing something wrong?
> Moreover, I think I have to assume that using vtkDoubleArray instead of 
> vtkFloatArray will somewhat double my RAM usage during rendering, 
> zooming, panning, whatever. Am I right? It will also affect the data, 
> because originally the were simple Float8 (real(4) for those that know 
> Fortran) and occupied much less memory than plain double numbers...
> 
> Thank you very much for your suggestions.
>  
> Andrea.

Hi Andrea,

Yeah... it would double the RAM needed to represent your point coords. 
So long as your pipeline didn't cause any paging I don't think it would 
cause a rendering performance hit though. Don't think you're doing 
anything wrong though.

Goodwin




More information about the vtkusers mailing list