Adaptive subdivision with external displacement map fail #49244

Closed
opened 2016-09-04 12:15:04 +02:00 by marco cheng ka chun · 18 comments

System Information:
Operating system: Windows 8.1 64-bit
graphics card: Nvdia GT620

Blender Version:
Broken: 2.78 95cb714 (Release Coordinate)

Short description of error:
External displacement map (mainly 32-bit full float EXR or 16-bit TIFF) lead blender failure without any message.
Using Cycles procedure map will not cause any error. This bug only occur when using external textures.

Steps leading crash:

  1. Adding Catmull-Clark Adaptive Subdivision Scheme to the mesh (Assumed mesh already has UVs)
  2. Adding Diffuse BSDF
  3. Adding Image Texture node to Displacement plug
  4. Software broken.

Subdivision Scheme: Both Subdivision and Adaptive Subdivision has been tested. Both broken
Displacement Mode (Work sometimes): Bump
Displacement Mode (Broken): True and Both

**System Information:** Operating system: Windows 8.1 64-bit graphics card: Nvdia GT620 **Blender Version:** Broken: 2.78 95cb714 (Release Coordinate) **Short description of error:** External displacement map (mainly 32-bit full float EXR or 16-bit TIFF) lead blender failure without any message. *Using Cycles procedure map will not cause any error. This bug only occur when using external textures*. Steps leading crash: 01. Adding Catmull-Clark Adaptive Subdivision Scheme to the mesh *(Assumed mesh already has UVs)* 02. Adding Diffuse BSDF 03. Adding Image Texture node to Displacement plug 04. Software broken. **Subdivision Scheme:** Both Subdivision and Adaptive Subdivision has been tested. Both broken **Displacement Mode (Work sometimes):** Bump **Displacement Mode (Broken):** True and Both

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @MarcoCheng

Added subscriber: @MarcoCheng

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Please follow the bug submission guidelines and attach a blend file and the texture that you use here, so we can easily reproduce the issue.

Please follow the bug submission guidelines and attach a blend file and the texture that you use here, so we can easily reproduce the issue.

Added subscriber: @Leroy-Xie

Added subscriber: @Leroy-Xie

I have the same problem. the external displacement map often make blender crash in the Experimental feature, like connect the node, switch the displacement mode, than crash :(

I have the same problem. the external displacement map often make blender crash in the Experimental feature, like connect the node, switch the displacement mode, than crash :(

Texture included inside blend file.
Displacement.zip

Sorry for making trouble

Texture included inside blend file. [Displacement.zip](https://archive.blender.org/developer/F352632/Displacement.zip) Sorry for making trouble

Added subscriber: @brecht

Added subscriber: @brecht

Are you rendering with the CPU or GPU?

The dicing scale in this file is 0.1, which corresponds to 100 polygons per pixel, that's way too much for most scenes. On a GT620 card which only has 512MB or 1GB of memory you'll run out of memory very quickly. It doesn't necessarily explain why an EXR fails and a procedural texture works, as the texture in this file only takes up 16MB. Though it could be that it pushes it just over the edge and makes Cycles run out of memory.

What does fail without any error message mean exactly? It renders black? Is that in the viewport, final render, both?

Are you rendering with the CPU or GPU? The dicing scale in this file is 0.1, which corresponds to 100 polygons per pixel, that's way too much for most scenes. On a GT620 card which only has 512MB or 1GB of memory you'll run out of memory very quickly. It doesn't necessarily explain why an EXR fails and a procedural texture works, as the texture in this file only takes up 16MB. Though it could be that it pushes it just over the edge and makes Cycles run out of memory. What does fail without any error message mean exactly? It renders black? Is that in the viewport, final render, both?
Brecht Van Lommel changed title from [RC MicroDisplacement Bug] External Displacement Map Fail to Adaptive subdivision with external displacement map fail 2016-09-04 13:26:45 +02:00
Member

Added subscriber: @MaiLavelle

Added subscriber: @MaiLavelle
Mai Lavelle self-assigned this 2016-09-04 20:26:58 +02:00
Member

Possible duplicate of #49252, tho I don't have enough info to reproduce. I think I might have an idea whats going on, but might take a bit to find the cause. Problem could be in how images are updated for displacement.

Possible duplicate of #49252, tho I don't have enough info to reproduce. I think I might have an idea whats going on, but might take a bit to find the cause. Problem could be in how images are updated for displacement.

@MaiLavelle I can confirm this, the step flow:

  1. Download the Displacement.zip file form MarcoCheng;
  2. Open with blender 2.78rc and switch to the material tab in the Properties Editor,
  3. swith the displacement mode from True to both, than back to True, than blender will crash.

and sometimes happened when I switch to the material tab, or connected the node, or scroll the material panel, often crash with external displacement maps , it's make blender not stable, only happen with the adaptive subdivision, but the procedural maps is work well, sorry for my bad English, hope this can helpful.

@MaiLavelle I can confirm this, the step flow: 1. Download the Displacement.zip file form MarcoCheng; 2. Open with blender 2.78rc and switch to the material tab in the Properties Editor, 3. swith the displacement mode from True to both, than back to True, than blender will crash. and sometimes happened when I switch to the material tab, or connected the node, or scroll the material panel, often crash with external displacement maps , it's make blender not stable, only happen with the adaptive subdivision, but the procedural maps is work well, sorry for my bad English, hope this can helpful.

Added subscriber: @PratyakshGaur

Added subscriber: @PratyakshGaur

@brecht Just Rendered with CPU experimental Mode.

I'm sure that crash isn't related to dicing scale (whatever value you use). When I create a simple plane with UVs, add a subdivision modifier and load the displacement map (switch to True Mode), Blender will crash immediately even not switch to RenderMode/Click the Render button.

@brecht Just Rendered with CPU experimental Mode. I'm sure that crash isn't related to dicing scale (whatever value you use). When I create a simple plane with UVs, add a subdivision modifier and load the displacement map (switch to True Mode), Blender will crash immediately even not switch to RenderMode/Click the Render button.

Added subscriber: @Ace_Dragon

Added subscriber: @Ace_Dragon

Mai mentioned that she fixed a crash related to use of image textures today.

I would download the new buildbot build ( hash 14e4747) to see if the issue is fixed for you as well (it is for me).

Mai mentioned that she fixed a crash related to use of image textures today. I would download the new buildbot build ( hash 14e4747) to see if the issue is fixed for you as well (it is for me).

Closed as duplicate of #49252

Closed as duplicate of #49252

Closing as a duplicate, the latest build from https://builder.blender.org/download/ should have the fix.

Closing as a duplicate, the latest build from https://builder.blender.org/download/ should have the fix.
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
7 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#49244
No description provided.