All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 61854] New: [nv50]glClipPlane not clipping correctly for glsl
Date: Tue, 05 Mar 2013 12:54:53 +0000	[thread overview]
Message-ID: <bug-61854-8800@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2054 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 3653 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

             reply	other threads:[~2013-03-05 12:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 12:54 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
     [not found] ` <bug-61854-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-03-07 13:01   ` [Bug 61854] [nv50]glClipPlane not clipping correctly for glsl bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-07 18:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-07 19:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61854-8800@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.