New duplication system falls short of a mechanism to hide to be duplicated objects #53985

Closed
opened 2018-02-02 21:05:47 +01:00 by Dalai Felinto · 11 comments

Blender Version
Broken: c7c070c2ec
Worked: 2.79a

Short description of error
There is no way in 2.8 to hide the object that is duplicated. In 2.79a Cycles would do that automatically for rendering. In 2.8 we don't have this for any system. Maybe we should reproduce the old Cycles behaviour

Exact steps for others to reproduce the error
dupli-tons-simple.blend

  • In 2.79a with Cycles it renders fine (the plane and the middle cone are hidden)
  • In 2.8 change render engine to eevee and F12: only the plane is hidden, the middle cone is still there.
**Blender Version** Broken: c7c070c2ece0f4 Worked: 2.79a **Short description of error** There is no way in 2.8 to hide the object that is duplicated. In 2.79a Cycles would do that automatically for rendering. In 2.8 we don't have this for any system. Maybe we should reproduce the old Cycles behaviour **Exact steps for others to reproduce the error** [dupli-tons-simple.blend](https://archive.blender.org/developer/F2096009/dupli-tons-simple.blend) * In 2.79a with Cycles it renders fine (the plane and the middle cone are hidden) * In 2.8 change render engine to eevee and F12: only the plane is hidden, the middle cone is still there.
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Author
Owner

Added subscribers: @Sergey, @pablovazquez

Added subscribers: @Sergey, @pablovazquez
Author
Owner

@Sergey what do you think? Should we implement Cycles behaviour by default?

Another option is to always show the children (the duplicated cone in this case) even if the original object is in a hidden collection. Users would then hide / not include the collection with the "to-be duplicated object" in the final render view layer.

@Sergey what do you think? Should we implement Cycles behaviour by default? Another option is to always show the children (the duplicated cone in this case) even if the original object is in a hidden collection. Users would then hide / not include the collection with the "to-be duplicated object" in the final render view layer.
Author
Owner

Added subscriber: @brecht

Added subscriber: @brecht

This is a bit of a weird feature that I wouldn't mind getting rid of. From what I remember it's there because the old layer system didn't have another way to make this work.

What I would expect is that the dupli object becomes part of the duplicator collection and inherits its visibility from that. So then you could put the original object in a hidden collection. When duplicating a group/collection, I would expect the visibility of that collection to be preserved and follow the same inheritance rules as if the collection was now a child of the duplicator collection. If there was individual visibility of objects, I would expect that to be preserved as well.

It's more manual work, though in many cases users are doing this already to avoid cluttering the viewport.

This is a bit of a weird feature that I wouldn't mind getting rid of. From what I remember it's there because the old layer system didn't have another way to make this work. What I would expect is that the dupli object becomes part of the duplicator collection and inherits its visibility from that. So then you could put the original object in a hidden collection. When duplicating a group/collection, I would expect the visibility of that collection to be preserved and follow the same inheritance rules as if the collection was now a child of the duplicator collection. If there was individual visibility of objects, I would expect that to be preserved as well. It's more manual work, though in many cases users are doing this already to avoid cluttering the viewport.
Author
Owner

Alright, commited e75c04898f. If @brecht and @Sergey are happy with this we can then move on to get this supported in Cycles as well (duplicators in Cycles are barely working at the moment, but I wanted to get this out of the way before doing (or reviewing) any changes there).

Alright, commited e75c04898f49. If @brecht and @Sergey are happy with this we can then move on to get this supported in Cycles as well (duplicators in Cycles are barely working at the moment, but I wanted to get this out of the way before doing (or reviewing) any changes there).
Author
Owner

Added subscriber: @fclem

Added subscriber: @fclem
Author
Owner

Note to self: e75c04898f introduces a lot of memleaks when opening the following file. There is a chance the issue is in draw manager, not necessarily on the commit, but I will look at this further tomorrow.
dupli-hide-two.blend

Note to self: e75c04898f49 introduces a lot of memleaks when opening the following file. There is a chance the issue is in draw manager, not necessarily on the commit, but I will look at this further tomorrow. [dupli-hide-two.blend](https://archive.blender.org/developer/F2134820/dupli-hide-two.blend)

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I'll mark this as confirmed.

I'll mark this as confirmed.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-04-04 05:16:14 +02:00
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#53985
No description provided.