Displacement map in Cycles fails #58790

Closed
opened 2018-12-05 13:31:33 +01:00 by fra are · 9 comments

Operating system: win 7 64bit
Graphics card: nvidia gtx980 + gtx780

Blender Version
Broken:
blender2.8, commit date: 2018-12-04 15:40, hash: be91d4ef95
Worked: 2.79b

Short description of error
the displacemente map fails in rendered view and rendering
It works well in lookdev

Exact steps for others to reproduce the error
Add suzanne
add wave texture in displacement map
cycles render -> wrong result

https://www.dropbox.com/s/k0k8bsf3bxvvw6o/displacement.blend?dl=0

Operating system: win 7 64bit Graphics card: nvidia gtx980 + gtx780 **Blender Version** Broken: blender2.8, commit date: 2018-12-04 15:40, hash: be91d4ef957 Worked: 2.79b **Short description of error** the displacemente map fails in rendered view and rendering It works well in lookdev **Exact steps for others to reproduce the error** Add suzanne add wave texture in displacement map cycles render -> wrong result https://www.dropbox.com/s/k0k8bsf3bxvvw6o/displacement.blend?dl=0
Author

Added subscriber: @FrancescoArena

Added subscriber: @FrancescoArena
Member

Added subscribers: @brecht, @JacquesLucke

Added subscribers: @brecht, @JacquesLucke
Member

I'm not sure how it should look like. @brecht
displacement.png

I guess in Lookdev mode bump mapping is used while in the render, only the existing vertices are moved. Maybe the actual problem is that the subdivision modifier does not seem to do anything?

I'm not sure how it should look like. @brecht ![displacement.png](https://archive.blender.org/developer/F5833691/displacement.png) I guess in Lookdev mode bump mapping is used while in the render, only the existing vertices are moved. Maybe the actual problem is that the subdivision modifier does not seem to do anything?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2018-12-05 14:12:42 +01:00

Cycles does actual displacement, while EEVEE does not support it yet. For good looking displacement you'll need a few more subdivision levels though.

If you only want bump mapping in Cycles, you can change it the Material properties > Settings > Surface panel.

@JacquesLucke, I guess you have WITH_OPENSUBDIV disabled in CMake?

Cycles does actual displacement, while EEVEE does not support it yet. For good looking displacement you'll need a few more subdivision levels though. If you only want bump mapping in Cycles, you can change it the Material properties > Settings > Surface panel. @JacquesLucke, I guess you have `WITH_OPENSUBDIV` disabled in CMake?
Member

Oh oops, yes that subdiv thing was my fault. thx

Oh oops, yes that subdiv thing was my fault. thx
Author

Sorry, maybe I did not understand the discussion.
when the version of blender 2.80 is fixed, will I have the same result as a 2.79 blender?
Currently (build 2018-12-06 00:27, hash: 74db65e542) the result is completely different as you can see from this screenshoot
2018-12-06_085730.jpg
this is the blend file
displacement.zip
tnx in advance

Sorry, maybe I did not understand the discussion. when the version of blender 2.80 is fixed, will I have the same result as a 2.79 blender? Currently (build 2018-12-06 00:27, hash: 74db65e5424) the result is completely different as you can see from this screenshoot ![2018-12-06_085730.jpg](https://archive.blender.org/developer/F5851587/2018-12-06_085730.jpg) this is the blend file [displacement.zip](https://archive.blender.org/developer/F5851634/displacement.zip) tnx in advance

In 2.8 you need to use a Displacement node. If you load that 2.79b file in 2.8, it will be automatically inserted.
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Cycles#Subdivision_and_Displacement

When using displacement in materials, a new Displacement node must now be used. This node will be automatically inserted into existing .blend files. The reason for this change is to support vector displacement, and to make it easier to tweak the displacement scale and midlevel. (4a5ee1a) (b129ea8)

In 2.8 you need to use a Displacement node. If you load that 2.79b file in 2.8, it will be automatically inserted. https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Cycles#Subdivision_and_Displacement > When using displacement in materials, a new Displacement node must now be used. This node will be automatically inserted into existing .blend files. The reason for this change is to support vector displacement, and to make it easier to tweak the displacement scale and midlevel. (4a5ee1a) (b129ea8)
Author

thank you, you are an exceptional team !!!

thank you, you are an exceptional team !!!
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#58790
No description provided.