Page MenuHome

Slow OpenGL calls for every vertex and weight painting step
Closed, ResolvedPublic


paint_last_stroke_update is called for every stroke step, which calls ED_view3d_autodist_simple to convert a mouse position to world space position. This does an OpenGL call to read from the depth buffer which has high latency.

Computing a world space position should not require an OpenGL call, it is already computed for the actual painting operation.