[Pythoncad-developer] Cairo or OpenGL?
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: <ger...@gm...> - 2010-02-02 20:12:23
|
Hi All, Starting a new thread about the renderer to choose. For the user interface we have chosen pygtk but the renderer is still unclear to me. A remainder from our emails: OpenGL: Pros: * very fast * in case we want to go on 3d no change of the way we show the entity Cons: * we need to learn how it works (personally i never use it) * installation problem we need more pakage to make it works * as gertwin say on mac we get some trouble. Cairo + homebrew display list: Pros: * no need to change the way that we draw the entity * it's no so slow if we build some smart algorithm Cons: * No real time zooming and panning possible, only on small parts of the drawing. Personally I would like to use OpenGL, realtime zooming and panning is a must have feature I think. Op OSX the cairo 3 second redraw time for 100000 elements is too much for such a feature. On linux we can use the gtkglext but on OSX I have to take a different approach. What are the opinions? If OpenGL is a no go I will let it rest, otherwise I am going to test gtk+opengl on OSX. Regards, Gertwin |