Mesh triangulation is visible with specular lighting enabled in 3D viewport #68151

Closed
opened 2019-08-02 23:27:59 +02:00 by eldee smith · 10 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: (optional)

Short description of error
When specular lighting is checked, mesh triangulation is faintly visible. See attached screenshots

enabled.png

disabled.png

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: (optional) **Short description of error** When specular lighting is checked, mesh triangulation is faintly visible. See attached screenshots ![enabled.png](https://archive.blender.org/developer/F7646297/enabled.png) ![disabled.png](https://archive.blender.org/developer/F7646296/disabled.png)
Author

Added subscriber: @testure

Added subscriber: @testure

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

Got a .blend showing the problem?

Got a .blend showing the problem?
Author

It happens on the default cube, there's nothing particularly special about the blend file but I'll attach it anyway. I imagine this is more to do with hardware?

It looks like the mesh triangulation is being added to the specular term, it seems to be affected by lighting. See the attached video.

wirebug.blend

2019-08-03 01-23-09.mp4

It happens on the default cube, there's nothing particularly special about the blend file but I'll attach it anyway. I imagine this is more to do with hardware? It looks like the mesh triangulation is being added to the specular term, it seems to be affected by lighting. See the attached video. [wirebug.blend](https://archive.blender.org/developer/F7646828/wirebug.blend) [2019-08-03 01-23-09.mp4](https://archive.blender.org/developer/F7646829/2019-08-03_01-23-09.mp4)

I can't reproduce. Linux, nvidia 1060, binary driver

I can't reproduce. Linux, nvidia 1060, binary driver
Author

Ok, so I have some more information. This bug is being caused by bgl.glEnable( bgl.GL_POLYGON_SMOOTH )! I noticed that the issue was only happening when a particular studio script was triggered (which I'm not able to share here unfortunately), but if I comment that one line out the artifacts go away.

If that's not enough information I can put together a test script that can isolates the issue and can demonstrate the problem on any hardware if you like

Ok, so I have some more information. This bug is being caused by bgl.glEnable( bgl.GL_POLYGON_SMOOTH )! I noticed that the issue was only happening when a particular studio script was triggered (which I'm not able to share here unfortunately), but if I comment that one line out the artifacts go away. If that's not enough information I can put together a test script that can isolates the issue and can demonstrate the problem on any hardware if you like

Added subscriber: @AdamPreisler

Added subscriber: @AdamPreisler

Can't reproduce here either. @testure if you want the issue fixed I think you need to put together that test script.

Can't reproduce here either. @testure if you want the issue fixed I think you need to put together that test script.
Author

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
eldee smith self-assigned this 2019-09-18 15:32:35 +02:00
Author

This appears to be fixed in 2.81

This appears to be fixed in 2.81
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#68151
No description provided.