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

Andrea Gavana andrea.gavana at gmail.com
Fri Mar 24 08:06:16 EST 2006


Hello Goodwin,

   thank you for your suggestions. Well, at the very end, I uninstalled
everything Python-related on my PC and I installed the Enthought Python, the
latest one announced today. Well, believe it or not, it's working :-)
It's working also the vtkFloatArray(), exactly what I was doing before. The
only changes I made (suggested by Prabhu Ramachandran on mayavi list) were
to use scipy instead of numpy.
The only drawback of this installation is that is using Python 2.3.5 (while
I had Python 2.4.2). However, if I can find somewhere a scipy version
0.3.3for Python
2.4, I will try the same scripts on other machines that have Python 2.4.
After all the trial and error things I have tried, it may be possible that
the bug is in Python 2.4.2.

Thank you very much.

Andrea.


On 3/24/06, Goodwin Lawlor <goodwin.lawlor at ucd.ie> wrote:
>
> 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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



--
"Imagination Is The Only Weapon In The War Against Reality."

http://xoomer.virgilio.it/infinity77/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060324/28dfe60d/attachment.htm>


More information about the vtkusers mailing list