From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 61854] New: [nv50]glClipPlane not clipping correctly for glsl Date: Tue, 05 Mar 2013 12:54:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0818658034==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0818658034== Content-Type: multipart/alternative; boundary="1362488093.73F30.26764"; charset="us-ascii" --1362488093.73F30.26764 Date: Tue, 5 Mar 2013 12:54:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=61854 Priority: medium Bug ID: 61854 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: [nv50]glClipPlane not clipping correctly for glsl Severity: normal Classification: Unclassified OS: Linux (All) Reporter: bill-xUg5jqCTrWtAfugRpC6u6w@public.gmane.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. --1362488093.73F30.26764 Date: Tue, 5 Mar 2013 12:54:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 61854
Assignee nouveau@lists.freedesktop.org
Summary [nv50]glClipPlane not clipping correctly for glsl
Severity normal
Classification Unclassified
OS Linux (All)
Reporter bill@taniwha.org
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/DRI/nouveau
Product Mesa

Created attachment 75953 [details]
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.
--1362488093.73F30.26764-- --===============0818658034== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0818658034==--