Cycles Displacement node not automatically inserted in older files #59226

Closed
opened 2018-12-12 03:39:09 +01:00 by david · 4 comments

I am having an issue with 2.80-ff108aac631-win64 2018-12- 11

I have a testing model that I created in 2.5 and imported into 2.8. when looking at it in the vie{F5927217}

smith_2014GTIcountrydrive_2.8Solidshading.PNG

{F5927215}wport shading modes as well as the rendering it works correctly in eevvee, but when I switch to cycles, parts of the model go crazy. I am uploading images as well as the file

System Information win 10 64
Operating system:
Graphics card: quadro

Blender Version 2.80-ff108aac631-win64

(example: 2.80, edbf15d3c0, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error

When using cycles rendering in solid, wire, and texture window draws the objects correctly, when switching to rendered draw type or when rendering the object does not render in the correct location.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

I am having an issue with 2.80-ff108aac631-win64 2018-12- 11 I have a testing model that I created in 2.5 and imported into 2.8. when looking at it in the vie{[F5927217](https://archive.blender.org/developer/F5927217/Smith_VWGTI2014_countrydrive.blend)} ![smith_2014GTIcountrydrive_2.8Solidshading.PNG](https://archive.blender.org/developer/F5927216/smith_2014GTIcountrydrive_2.8Solidshading.PNG) {[F5927215](https://archive.blender.org/developer/F5927215/smith_2014GTIcountrydrive_2.8CyclesRendershading.PNG)}wport shading modes as well as the rendering it works correctly in eevvee, but when I switch to cycles, parts of the model go crazy. I am uploading images as well as the file **System Information** win 10 64 Operating system: Graphics card: quadro **Blender Version** 2.80-ff108aac631-win64 (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** When using cycles rendering in solid, wire, and texture window draws the objects correctly, when switching to rendered draw type or when rendering the object does not render in the correct location. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible).
Author

Added subscriber: @dasmitty101

Added subscriber: @dasmitty101
Member

Added subscribers: @brecht, @lichtwerk

Added subscribers: @brecht, @lichtwerk
Brecht Van Lommel was assigned by Philipp Oeser 2018-12-13 14:36:18 +01:00
Member

This is because the tire.001 material is using displacement (directly from an image/color).
In newer blender versions this needs to go through the (new) dedicated Displacement node.

This is usually inserted for you automatically, the cycles addon runs a bit of code when it sees an older file

if bpy.data.version <= (2, 79, 1) or (bpy.data.version >= (2, 80, 0) and bpy.data.version <= (2, 80, 3)):
    displacement_nodes_insert()

This runs after the normal blender do_versions

bpy.app.handlers.version_update.append(version_update.do_versions)

Not exactly sure why this has not happened in your case (it is not clear what you exactly did when you say "imported into 2.8"... appended? opened the file?).
@brecht: do bpy.app.handlers.version_update also run when appending?

I remember a similar issue in #54504 (where this apparently does not run when linking...)

@dasmitty101: That all being said, you can easily get around it by manually inserting the Displacement node (that takes the image as input and then goes to the Material Displacement input socket...)

Leaving this open for the time being (so we can get the question answered whether or not the cycles addon do_versions can be improved upon...)

This is because the `tire.001` material is using displacement (directly from an image/color). In newer blender versions this needs to go through the (new) dedicated `Displacement` node. This is usually inserted for you automatically, the cycles addon runs a bit of code when it sees an older file ``` if bpy.data.version <= (2, 79, 1) or (bpy.data.version >= (2, 80, 0) and bpy.data.version <= (2, 80, 3)): displacement_nodes_insert() ``` This runs after the normal blender do_versions ``` bpy.app.handlers.version_update.append(version_update.do_versions) ``` Not exactly sure why this has not happened in your case (it is not clear what you exactly did when you say "imported into 2.8"... appended? opened the file?). @brecht: do `bpy.app.handlers.version_update` also run when `appending`? I remember a similar issue in #54504 (where this apparently does not run when `linking`...) @dasmitty101: That all being said, you can easily get around it by manually inserting the `Displacement` node (that takes the image as input and then goes to the Material Displacement input socket...) Leaving this open for the time being (so we can get the question answered whether or not the cycles addon `do_versions` can be improved upon...)
Philipp Oeser changed title from cycles object displays incorrectly with blender-2.80-ff108aac631-win64 to Cycles Displacement node not automatically inserted in older files 2018-12-13 14:38:55 +01:00

Closed as duplicate of #54504

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