Page MenuHome

OGL preview render speed regression
Closed, ResolvedPublic

Description

--- Operating System, Graphics card ---

Linux 64
GTX 480 SC

--- Blender version with error, and version that worked ---

2.6 was fast, same speed as viewport animation playback

2.61 and up is slow

--- Short description of error ---

OGL render is very slow, up to 3 secs per frame on basic animation files


--- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Press the OGL render animation button in the 3D view in the attached file

Event Timeline

Checked on code and logs. It's caused by svn rev42275 whic hwas a fix for #27981.

For proper rendering it's linearization of float buffer is needed, which takes time. Could be optimized (using multi-threading or GLSL) but would not consider this is a bug.

Thanks for the report anyway.

Hey sergey, would your awesome glsl code also work for this case?

Linearization already happens with GLSL. The only possible speed regression could be is file saving, which would not use GLSL for color space conversion and i do not want to use it there actually.

Reopened and assigning to self, will look into it to see if I can improve performance here.

Improved performance in svn now, about 1.2x slower than 2.60 still, but that's a lot better than 5x slower.

Also note enabling anti-aliasing will slow things down, it's disabled in the attached file, but probably good to remember.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Apr 11 2013, 5:18 PM

Thank you! Very much improved.