Issue involves:
python 2.7
pil
pyopengl
pyside
In the midst of developing a small drawing test, I've run into a situation involving line computations.
Currently the drawing test works, but only enables singular point drawing at the cursor position.
[IMG]http://i246.photobucket.com/albums/gg94/Braschko/Forum%20Posts/Screenshot-1.png[/IMG]
I've seen python interpretations of Bresenham's line algorithm, which works as expected.
However, with loop overhead, the calculations become slow... revealing a slowly generating line of sorts.
Threading might be an answer, my understanding is limited though.
The question being, what would be a better method to allow for faster line drawing in this situation?
My thoughts are to reduce the number of glUpdate calls... still testing.
*source available, feel free to use*