ZBuff glitch in Internal renderer #44950

Closed
opened 2015-06-04 13:52:32 +02:00 by Alexey · 12 comments

System Information
windows7 64
ASUS ATI Radeon HD6870

Blender Version
Broken: (2.71 and all later)
Worked: (2.70 and all earlier)

Short description of error
i don't know how to repeat this bug and upload blend file with result

Exact steps for others to reproduce the error
unknown error.blend
1r.png
r2.png
r3.png

System Information windows7 64 ASUS ATI Radeon HD6870 Blender Version Broken: (2.71 and all later) Worked: (2.70 and all earlier) **Short description of error** i don't know how to repeat this bug and upload blend file with result **Exact steps for others to reproduce the error** [unknown error.blend](https://archive.blender.org/developer/F184725/unknown_error.blend) ![1r.png](https://archive.blender.org/developer/F184726/1r.png) ![r2.png](https://archive.blender.org/developer/F184728/r2.png) ![r3.png](https://archive.blender.org/developer/F184731/r3.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Inwader77

Added subscriber: @Inwader77

Added subscriber: @mont29

Added subscriber: @mont29

Looks like some glitch in internal engine (Cycles is not affected), probably something like float precision issue?

  • Triangulating the quad in Edit mode, is new edge is (bottom left, top right) issue persists, other edge 'fixes' it.
  • Only visible with ortho camera at this scale value too.
  • Any small scale/rotate/move (except along Z axis) fixes it.
Looks like some glitch in internal engine (Cycles is not affected), probably something like float precision issue? * Triangulating the quad in Edit mode, is new edge is (bottom left, top right) issue persists, other edge 'fixes' it. * Only visible with ortho camera at this scale value too. * Any small scale/rotate/move (except along Z axis) fixes it.
Bastien Montagne changed title from Unknown render error to ZBuff glitch in Internal renderer 2015-06-04 16:33:14 +02:00

More facts:

  • Bug happens in zbuffer code of internal (somewhere in zbuffer_solid(), in zbuf.c).
  • Bug is also related to render size (render scale of 30% or less shows it, 31% and above doesn’t).
More facts: * Bug happens in zbuffer code of internal (somewhere in `zbuffer_solid()`, in zbuf.c). * Bug is also related to render size (render scale of 30% or less shows it, 31% and above doesn’t).
Author

In #44950#313473, @mont29 wrote:
More facts:

  • Bug happens in zbuffer code of internal (somewhere in zbuffer_solid(), in zbuf.c).
  • Bug is also related to render size (render scale of 30% or less shows it, 31% and above doesn’t).

and else, if we change orto scale in camera and then return to 3.124 handly(not ctrl+Z) - working properly

> In #44950#313473, @mont29 wrote: > More facts: > * Bug happens in zbuffer code of internal (somewhere in `zbuffer_solid()`, in zbuf.c). > * Bug is also related to render size (render scale of 30% or less shows it, 31% and above doesn’t). and else, if we change orto scale in camera and then return to 3.124 handly(not ctrl+Z) - working properly

Added subscriber: @Sergey

Added subscriber: @Sergey
Sergey Sharybin self-assigned this 2015-06-05 12:14:29 +02:00

Things are a bit crazy here. Will have a closer look over the weekend. Assigning to self so it's on the radars.

Things are a bit crazy here. Will have a closer look over the weekend. Assigning to self so it's on the radars.
Member

Added subscriber: @Ton

Added subscriber: @Ton
Member

Wow, this is the error in clipping code I wrote in early 90ies. It is a numerical imprecision in comparing float values, and I never could solve it.

This only happens in extreme cases. Really rare.

Wow, this is the error in clipping code I wrote in early 90ies. It is a numerical imprecision in comparing float values, and I never could solve it. This only happens in extreme cases. Really rare.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

After discussion with @Ton it ended up to be a numeric instability in the clipping code.

SO thanks for the report, but closing as a TODO now: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine

After discussion with @Ton it ended up to be a numeric instability in the clipping code. SO thanks for the report, but closing as a TODO now: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine
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
4 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#44950
No description provided.