Page MenuHome

Issues with displaying OpenGL VBO's on some systems
Closed, ResolvedPublic


--- Operating System, Graphics card ---

win 7 64 bits servise pack 1, geforce gtx 460 1 gb
--- Blender version with error, and version that worked ---

2.67.1 r57908
--- Short description of error ---
When I zoom in the viewport, some objects become black. not in every scene.

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
zoom in some points of view (the view file is in error).

Event Timeline

Checked the file, I dont see any black objects.

Could you post a screenshot of the problem?

thanks for replying, here a video of the problem.
this is the video link, update drivers.

I can confirm this issue on Windows 7 with NVidia 650M, on OS X I don't see this. VBO's must be enabled to redo the issue.

It seems to be related to GPU_buffer_draw_elements for VBO wireframe drawing inside a display list for particle duplis. When removing the call to glDrawElements there the problem goes away. I don't understand why it happens though, there's no OpenGL error, no suspicious OpenGL state changes that I could find. Maybe it's a driver bug, using a VBO inside a display list is not that common, but I didn't find a workaround yet.

From page 244 of the text (258 of pdf index)

GL commands that source data from buffer objects dereference the buffer ob-
ject data in question at display list compile time, rather than encoding the buffer
ID and buffer offset into the display list. Only GL commands that are executed
immediately, rather than being compiled into a display list, are permitted to use a
buffer object as a data sink

I can reproduce here as well (NVIDIA geforce 540M GT). It may be an NVIDIA driver issue, but IMO, better avoid such scenarios.

Campbell Barton (campbellbarton) renamed this task from problem when zooming to Issues with displaying OpenGL VBO's on some systems.Sep 3 2014, 4:28 PM

Was the file is lost on transition to phabricator? Can we get it back?

Ah, it's not zoom that influences this, it's hiding of the object. Possibly it's some state that doesn't get restored.