preview render artifacts 2.72-2.73 #43158

Closed
opened 2015-01-08 08:13:14 +01:00 by Daedalus · 12 comments

System Information 1
CPU: Intel i3-3220 3.3Ghz
GPU: EVGA GTX 570 1280 MB (Driver 344.11)
RAM: 12 GB
OS: Windows 7 Home Premium 64bit

System Information 2
Lenovo Y410P
CPU: Intel i7-4700MQ 2.40Ghz
GPU: Nvidia GT 755M and Intel HD 4600 (Driver 327.62)
RAM: 8 GB
OS: Windows 7 Home Premium 64bit

Blender Version
Broken: 2.72 and 2.73
Worked: 2.71
(http://download.blender.org/release/)

Description
Visible horizontal and vertical "tear" lines in preview render, both cycles and blender internal. Extra thick border on right and top sides of render seem to be related. Black lines on top and right also seen in fullscreen(alt-F10) in 2.73

Exact steps for others to reproduce the error

  • Open Blender 2.72 or 2.73
  • Zoom into the cube so it fills the screen
  • Press "Shift-Z" or change viewport mode to "Rendered"
  • Notice:
    thicker border on right and top compared to 2.71
    the tear lines about an eighth from the top and right sides

Figure 1- Proper UI and no artifacts in 2.71
CaptureBug2.71.PNG

Figure 2a- Original lossless capture showing bug in 2.72
CaptureBug2.72b.PNG

Figure 2b- Marked to show artifacts. Gray line shows the tear line placement
CaptureBug2.72bMark.PNG

Figure 3a- Original lossless capture showing bug in 2.73
CaptureBug2.73.PNG

Figure 3b- Marked to show artifacts. Gray line shows the tear line placement
CaptureBug2.73Mark.PNG

**System Information 1** CPU: Intel i3-3220 3.3Ghz GPU: EVGA GTX 570 1280 MB (Driver 344.11) RAM: 12 GB OS: Windows 7 Home Premium 64bit **System Information 2** Lenovo Y410P CPU: Intel i7-4700MQ 2.40Ghz GPU: Nvidia GT 755M and Intel HD 4600 (Driver 327.62) RAM: 8 GB OS: Windows 7 Home Premium 64bit **Blender Version** Broken: 2.72 and 2.73 Worked: 2.71 (http://download.blender.org/release/) **Description** Visible horizontal and vertical "tear" lines in preview render, both cycles and blender internal. Extra thick border on right and top sides of render seem to be related. Black lines on top and right also seen in fullscreen(alt-F10) in 2.73 **Exact steps for others to reproduce the error** - Open Blender 2.72 or 2.73 - Zoom into the cube so it fills the screen - Press "Shift-Z" or change viewport mode to "Rendered" - Notice: thicker border on right and top compared to 2.71 the tear lines about an eighth from the top and right sides Figure 1- Proper UI and no artifacts in 2.71 ![CaptureBug2.71.PNG](https://archive.blender.org/developer/F135876/CaptureBug2.71.PNG) Figure 2a- Original lossless capture showing bug in 2.72 ![CaptureBug2.72b.PNG](https://archive.blender.org/developer/F135877/CaptureBug2.72b.PNG) Figure 2b- Marked to show artifacts. Gray line shows the tear line placement ![CaptureBug2.72bMark.PNG](https://archive.blender.org/developer/F135880/CaptureBug2.72bMark.PNG) Figure 3a- Original lossless capture showing bug in 2.73 ![CaptureBug2.73.PNG](https://archive.blender.org/developer/F135883/CaptureBug2.73.PNG) Figure 3b- Marked to show artifacts. Gray line shows the tear line placement ![CaptureBug2.73Mark.PNG](https://archive.blender.org/developer/F135886/CaptureBug2.73Mark.PNG)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Daedalus_MDW

Added subscriber: @Daedalus_MDW

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi

A file please?

A file please?
Author

the default startup file shows the issue. a fresh install of blender, and change the viewport to rendered. but if you have to have a file ill get my cycles startup i use.

starter.blend startup file (sun script within is not my own)

the default startup file shows the issue. a fresh install of blender, and change the viewport to rendered. but if you have to have a file ill get my cycles startup i use. [starter.blend](https://archive.blender.org/developer/F136200/starter.blend) startup file (sun script within is not my own)
Member

Added subscribers: @Sergey, @ThomasDinges, @JulianEisel

Added subscribers: @Sergey, @ThomasDinges, @JulianEisel
Member

Can confirm that on Win7 using the default cube (didn't test with Linux yet). It's really subtle, but it's both there, the thick border and the render artifacts. @Psy-Fi, mind looking into that? At least the border thing seems to be an OGL issue at the first glance. @Sergey and @ThomasDinges, maybe you can have a look as well?

Can confirm that on Win7 using the default cube (didn't test with Linux yet). It's really subtle, but it's both there, the thick border and the render artifacts. @Psy-Fi, mind looking into that? At least the border thing seems to be an OGL issue at the first glance. @Sergey and @ThomasDinges, maybe you can have a look as well?

Images are drawing by tiles in blender, so my guess it's the same issue as #42042 (rounding issue of tile coordinates).

Images are drawing by tiles in blender, so my guess it's the same issue as #42042 (rounding issue of tile coordinates).
Campbell Barton was assigned by Sergey Sharybin 2015-01-20 14:16:11 +01:00

The issue is caused by 1b94b3d, which changed the way how ED_region_pixelspace works. Basically it now adds extra 1 to width/height. It used to be BLI_rcti_size_x(&ar->winrct) + 1 and now it's at->winx + 1 (note: ar->winx = BLI_rcti_size_x(&ar->winrct) + 1).

While this is a simple change (something like http://www.pasteall.org/56232/diff) there are comments in other places which courses +1 in ED_region_pixelspace and uses different functions. Worth investigating all that.

Will let the author of that change to do further investigation :)

File used for testing: starter.blend (same as originally attached, but with the cube)

The issue is caused by 1b94b3d, which changed the way how `ED_region_pixelspace` works. Basically it now adds extra 1 to width/height. It used to be `BLI_rcti_size_x(&ar->winrct) + 1` and now it's `at->winx + 1` (note: `ar->winx = BLI_rcti_size_x(&ar->winrct) + 1`). While this is a simple change (something like http://www.pasteall.org/56232/diff) there are comments in other places which courses +1 in `ED_region_pixelspace` and uses different functions. Worth investigating all that. Will let the author of that change to do further investigation :) File used for testing: [starter.blend](https://archive.blender.org/developer/F138446/starter.blend) (same as originally attached, but with the cube)

This issue was referenced by a86482f81c

This issue was referenced by a86482f81cf3e4a0043459b10242d4a9c337105b

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit a86482f81c.

Closed by commit a86482f81c.
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
6 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#43158
No description provided.