Ian
On 11 November 2011 15:42, Eleftherios Garyfallidis
Hi Emanuele,Welcome! And glad you could implement something useful with Fos.I am looking forward to test the "spaghetti" app, a small datasets would help indeed.
I was also thinking about a slice viewer for fos-pyside, I saw you guys implemented somethingusing pyglet sprites - looking forward to test it.
Regarding the picking, I implemented in fos-pyside another very fast method using frame bufferscolors for object identity, as compared to ray-object intersections which is currently in Fos (andwhich needs good spatial datastructures for large datasets, or nice clustering :)
Possibly for another thread dicussion, we need to think how we want to handle keystroke-events.One could envisage several models,e.g.1) An actor contributes key-events to the window when added to the world (region).2) We have specialized keyevents for particular applications that "assume" the existence of certain actors in the world3) Key strokes are propagated3a) to each actor, and the actor knows what to do with it. (downside: multiple actors do something on keystroke)3b) We designate an "active" actor that only receives the keystrokes and changes its state.
In general, it would be nice to to override the semantics of particular keys too much.