[Nouveau] [Bug 61854] New: [nv50]glClipPlane not clipping correctly for glsl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 5 04:54:53 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61854

          Priority: medium
            Bug ID: 61854
          Assignee: nouveau at lists.freedesktop.org
           Summary: [nv50]glClipPlane not clipping correctly for glsl
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: bill at taniwha.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/DRI/nouveau
           Product: Mesa

Created attachment 75953
  --> https://bugs.freedesktop.org/attachment.cgi?id=75953&action=edit
blender file demonstrating FF vs GLSL behavior of glClipPlane

hw: NVIDIA Corporation G80 [GeForce 8800 GTS] (rev a2)


The problem was found using the alt-b clipping border option in blender.

In blender's default scene, press alt-b with the mouse in the 3d view and
"select" part of the cube. It gets clipped properly. However, turn on matcap
(press N to get the properties panel, scroll down and open the display
sub-panel, and turn on "Matcap") and the clipping of the cube will depend on
the viewer's position and angle with respect to the clipping planes. However,
the highlighted wire-frame of the cube is always clipped correctly.

I was told by Ton (blender leader) that blender uses glClipPlane for the
clipping border, and that enabling matcap simply causes blender to use glsl for
the solid rendering.

Although I've included the url to the bug report in blender's bug tracker, I've
also attached the same blend file to this report. For the blend file, turning
off matcap will cause the cube to clip correctly, independently of the viewer's
position and angle. Zooming in a little (mouse wheel) with matcap enabled will
cause the cube's surface to become partially visible, but it will still be
incorrect.

Blender bug tracker url:
http://projects.blender.org/tracker/?func=detail&atid=231&aid=34492&group_id=9

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130305/b6509617/attachment.html>


More information about the Nouveau mailing list