Regression: Triangle edges visible (ray/triangle intersection issue?) #97027

Closed
opened 2022-04-04 13:38:41 +02:00 by Simon Wendsche · 10 comments

System Information
Operating system: Windows

Blender Version
Broken: 3.1.0, 3.1.2
Worked: 3.0

Pretty sure this is caused by 74afc86d4b [it certainly broke between Jan24th and Jan31st]

Short description of error
A cube with orthographic camera pointed at it shows visible black edges around triangles.
The camera sits precisely above the cube (same X/Y floating point coordinates). If the cube or the camera are moved slightly, the problem vanishes (however, if both are moved the same amount, the problem stays).

This might point to a regression in the ray/triangle intersection code in regards to floating point precision issues.

Exact steps for others to reproduce the error

Output from Blender 3.1.2:

render_result.png

Output from Blender 3.0:

render_result_blender_3.0.png

**System Information** Operating system: Windows **Blender Version** Broken: 3.1.0, 3.1.2 Worked: 3.0 Pretty sure this is caused by 74afc86d4b [it certainly broke between Jan24th and Jan31st] **Short description of error** A cube with orthographic camera pointed at it shows visible black edges around triangles. The camera sits precisely above the cube (same X/Y floating point coordinates). If the cube or the camera are moved slightly, the problem vanishes (however, if both are moved the same amount, the problem stays). This might point to a regression in the ray/triangle intersection code in regards to floating point precision issues. **Exact steps for others to reproduce the error** * Open this file: [diagonal_line.blend](https://archive.blender.org/developer/F12969277/diagonal_line.blend) * Press F12 - a black diagonal line will be visible Output from Blender 3.1.2: ![render_result.png](https://archive.blender.org/developer/F12969274/render_result.png) Output from Blender 3.0: ![render_result_blender_3.0.png](https://archive.blender.org/developer/F12969284/render_result_blender_3.0.png)
Author

Added subscriber: @BYOB

Added subscriber: @BYOB
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm. Minimal file to reproduce the issue. Default everything with 1 sample, denoising off. Plane with an orthographic camera.

cyclesDiagonalLine.blend

Can confirm. Minimal file to reproduce the issue. Default everything with 1 sample, denoising off. Plane with an orthographic camera. [cyclesDiagonalLine.blend](https://archive.blender.org/developer/F12969380/cyclesDiagonalLine.blend)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Pretty sure this is caused by 74afc86d4b [it certainly broke between Jan24th and Jan31st]
Might be the new limitation we have to live with, but until further notice, will set to high prio since it is a regression on first sight.

Pretty sure this is caused by 74afc86d4b [it certainly broke between Jan24th and Jan31st] Might be the new limitation we have to live with, but until further notice, will set to high prio since it is a regression on first sight.
Philipp Oeser changed title from Triangle edges visible (ray/triangle intersection issue?) to Regression: Triangle edges visible (ray/triangle intersection issue?) 2022-04-14 11:25:25 +02:00

Added subscriber: @Fernando-Alcala

Added subscriber: @Fernando-Alcala

related? #97259

related? #97259

Added subscriber: @mirrorstream-2

Added subscriber: @mirrorstream-2

Closed as duplicate of #97259

Closed as duplicate of #97259
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#97027
No description provided.