Hi Chris,
theis is a 3D rendering application, using openGL VTK c++ libraries,
wrapped with python,
with the view controlled by the wxPython GUI.
Specifically 3D rendering speed is slow,
using 2D texture mapping of VTK.
using shark, i think i see that much processor time is being used by openGL ,
with some symbol called _dyld_start eating well over half of the processor time.
still I dont know if it is python, wxMac or openGL that is causing the bottle neck, if there is one.
on windows and linux with the same code, the 3D rendering is much faster...
Dan
cheers
Dan White wrote:
but the OSX version seems to be much slower than the other two.
What, exactly is slower about it?
In general, I've found Python and wxPython to be reasonably snappy on OS-X, but there may be some things that are slower.
In particular, I've heard that STC is slow, and that's due to the DC Text calls. Are you using STC or a lot of text calls witha DC?
Also, OS-X double buffers everything, so if you're double buffering yourself, you could be inadvertently getting triple buffering. I haven't noticed a performance impact from this, but it's a possible issue.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and Department of Biological and Environmental Sciences
Division of Molecular Recognition
Ambiotica C242
PO Box 35
University of Jyväskylä
Jyväskylä
FIN 40014
Finland
+358 14 260 4183 (work)
+358 468102840 (mobile)
http://www.bioimagexd.org
http://www.chalkie.org.uk
dan@chalkie.org.uk
white@cc.jyu.fi
···
On Jan 31, 2006, at 7:59 PM, Christopher Barker wrote: