Cycles Displacement node not automatically inserted in older files when linking #54504

Closed
opened 2018-04-03 12:26:09 +02:00 by pistol ioan · 22 comments

970gtx, win 10, i7

Broken version: Blender 2.79 31f2a67
Worked version : Blender 2.79b f4dc9f9d68

Render the scene from Ble>Scenes>00 Pilot>.....26s)-Home Landscape-[Fl.....
and you will see the bad deformities like the attached image.

bug.jpg
Ble.7z

970gtx, win 10, i7 Broken version: Blender 2.79 31f2a67 Worked version : Blender 2.79b f4dc9f9d68b Render the scene from Ble>Scenes>00 Pilot>.....26s)-Home Landscape-[Fl..... and you will see the bad deformities like the attached image. ![bug.jpg](https://archive.blender.org/developer/F2583794/bug.jpg) [Ble.7z](https://archive.blender.org/developer/F2583802/Ble.7z)
Author

Added subscriber: @istoltoto

Added subscriber: @istoltoto

#60647 was marked as duplicate of this issue

#60647 was marked as duplicate of this issue

#56264 was marked as duplicate of this issue

#56264 was marked as duplicate of this issue

#59766 was marked as duplicate of this issue

#59766 was marked as duplicate of this issue

#59226 was marked as duplicate of this issue

#59226 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

can confirm this, trying to hunt down the reason / breaking commit, but needs further investigation...

first note: landscape itself (is linked) seems to render fine in the source file [current master] but not when linked...

can confirm this, trying to hunt down the reason / breaking commit, but needs further investigation... first note: landscape itself (is linked) seems to render fine in the source file [current master] but not when linked...
Member

There was a change in how displacement gets handled (there is now a dedicated displacement node).
Current master will actually insert this for you upon file read (but apparently not in the case of linked files? or there is something wrong in the updated read code for libraries, can have a look later...)

Soo, I can confirm the issue, the quick workaround is to manually save the linked landscape file again with current master (without touching anything). If you do this the 'main' file will also read the library fine again and the 'weird deformities' should be gone...

Can you confirm above workaround?

There was a change in how displacement gets handled (there is now a dedicated displacement node). Current master will actually insert this for you upon file read (but apparently not in the case of linked files? or there is something wrong in the updated read code for libraries, can have a look later...) Soo, I can confirm the issue, the quick workaround is to manually save the linked landscape file again with current master (without touching anything). If you do this the 'main' file will also read the library fine again and the 'weird deformities' should be gone... Can you confirm above workaround?
Author

Yes, you are right, if you make a save with the new version then the scene is working fine.

Thank you for coming with this provisionally fix,

Yes, you are right, if you make a save with the new version then the scene is working fine. Thank you for coming with this provisionally fix,
Brecht Van Lommel was assigned by Philipp Oeser 2018-04-03 15:30:08 +02:00
Member

Added subscriber: @brecht

Added subscriber: @brecht
Member

@brecht: could you have a look? [feel free to throw back at me, but I'll only be able to have a look tomorrow...]

@brecht: could you have a look? [feel free to throw back at me, but I'll only be able to have a look tomorrow...]
Member

Just had a similar issue in #59226

@brecht: @brecht: do bpy.app.handlers.version_update also run when linking?

Just had a similar issue in #59226 @brecht: @brecht: do `bpy.app.handlers.version_update` also run when `linking`?
Philipp Oeser changed title from Weird deformities to Cycles Displacement node not automatically inserted in older files when linking 2018-12-13 14:37:46 +01:00

It's supposed to, but it's not happening currently.

It's supposed to, but it's not happening currently.

Added subscriber: @dasmitty101

Added subscriber: @dasmitty101

Added subscriber: @VilemDuha

Added subscriber: @VilemDuha

Added subscribers: @ronalde, @jenkm, @mont29

Added subscribers: @ronalde, @jenkm, @mont29

Added subscribers: @janb-1, @JacquesLucke, @WilliamReynish

Added subscribers: @janb-1, @JacquesLucke, @WilliamReynish

This issue was referenced by blender/cycles@3adaeb2709

This issue was referenced by blender/cycles@3adaeb2709b38a3ed0716c2d97f55c0a32d3a051

This issue was referenced by 8a97b85555

This issue was referenced by 8a97b8555587d8241fd79d54c08c1a6ced7acf53

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

This bug #59766 was closed as duplicate of this one, however was certainly not resolved by this. Should I reopen #59766?

This bug #59766 was closed as duplicate of this one, however was certainly not resolved by this. Should I reopen #59766?

No, #62415 is already open to handle that same case.

No, #62415 is already open to handle that same case.
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
5 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#54504
No description provided.