For network with small architecture, the simulation works very well.. but for big networks, it is terribly slow due to number of 3D objects increase exponentially. For example, if we have a region with 2048 columns wich each column having 32 cells, we will have 65536 objects! I'm using MeshItens to draw spheres (i.e. neurons), and even disabling "smoth" option, operations like zoom are very slow.
The source code:
cellMd = gl.MeshData.sphere(rows=10, cols=10)
cell.tree3d_item = gl.GLMeshItem(meshdata=cellMd, shader='shaded', smooth=False, glOptions='opaque')
cell.tree3d_item.translate(cell.tree3d_x, cell.tree3d_y, cell.tree3d_z)
self.viewer.addItem(cell.tree3d_item)
This said, what you guys suggest to improve performance? Is possible I have a column and its neurons as single object in order to I have better results??
I mean how multiple spheres are concatenated as a single GLMeshItem?On 30 September 2014 20:15, David Ragazzi <davidr...@gmail.com> wrote:Thank you, Luke!Just a question, would have you some example where meshdata are concatenated as a single GLMeshItem?
----
You received this message because you are subscribed to a topic in the Google Groups "pyqtgraph" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyqtgraph/x5ROUR6MEMY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyqtgraph+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/CACZXET_9gHKTw-gGt%2BcHPKMC8kkRrogySbFjfhzMpCEbACSLcg%40mail.gmail.com.David Ragazzi
MSc in Sofware Engineer (University of Liverpool)
OS Community Commiter at Numenta.org
--
"I think James Connolly, the Irish revolutionary, is right when he says that the only prophets are those who make their future. So we're not anticipating, we're working for it."
--David Ragazzi
MSc in Sofware Engineer (University of Liverpool)
OS Community Commiter at Numenta.org
--
"I think James Connolly, the Irish revolutionary, is right when he says that the only prophets are those who make their future. So we're not anticipating, we're working for it."
Unfortutely not, in my case I had to show only the active spheres leaving the visualization of the gray ones as an option which the user can turn on.. :-(By the way, it seems that PyQtGraph is 0.9.10 now, have you checked whether the performance improved with this version?
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/2f698936-a551-4005-a50f-3895a51678de%40googlegroups.com.