Large change to the way sculptmode drawing works. The default is now to draw
using the standard drawing functions. Enabling the "Partial Redraw" item in the sculpt menu will turn on the optimizations which stores unmodified parts of the color buffer and only redraws the polygons that are within the modified area(s). The Partial Redraw option uses the accumulation buffer to store the copy, and unfortunately this is not accelerated on older cards. There are alternatives, e.g. drawing to an auxiliary buffer or downloading the data from the graphics card with glReadPixels, but there's no guarantee that these will run at an acceptable speed on older graphics cards either. For the cards that do accelerate the accumulation buffer (for nvidia cards, I would assume that is at least FX5200 and up, and maybe earlier) it provides a very significant speedup.
This commit is contained in:
@@ -2159,7 +2159,8 @@ static int draw_mesh_object(Base *base, int dt, int flag)
|
||||
cageDM->release(cageDM);
|
||||
finalDM->release(finalDM);
|
||||
}
|
||||
else if(!G.obedit && G.scene->sculptdata.active_ob == ob && !modifiers_getVirtualModifierList(ob)) {
|
||||
else if(!G.obedit && G.scene->sculptdata.draw_mode &&
|
||||
G.scene->sculptdata.active_ob == ob && !modifiers_getVirtualModifierList(ob)) {
|
||||
sculptmode_draw_mesh(0);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user