translucent objects occlude other members in group instances #48983
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#48983
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
all operating systems
Blender Version
Broken: 2.77
66552ca
Short description of error
Group instances do not take the "show_transparent" property into account. As a result, opaque members of a group may be occluded by translucent members. It dosn't happen every time as the drawing order depends by the group membership order, yet it may be a significant issue when using linked groups for character with glasses, or car with windows et cetera.
Internally, this is due to the dupli Base objects being temporary and therefore not able to be deferred to the transparency pass. A possible solution would be to draw only non transparent dupli members in the first pass, so that the transparent ones can be drawn afterwards.
A fix patch to help illustrating the issue
dupli_transp.diff
Exact steps for others to reproduce the error
A sample .blend file containing some grouped object and their group instance: the circle masks the monkey, but not the cube in the background when in material shading
transp_sort.blend
Changed status to: 'Open'
Added subscriber: @PaoloAcampora
Closed as duplicate of #43093
Added subscriber: @ideasman42
Issues regarding alpha sorting in the view-port currently a known issue. (closing as duplicate).
Thanks for your reply! :)
This isn't however a sorting issue: the problem here is with dupligroup ignoring the transparency flag altogether. Though somehow related, #43093 is about more transparent objects overlapping in the view, an issue yet to be addressed. This is about transparent dupli objects, even one transparent object only, not being added to the alpha pass, the way blender currently handles transparency.
It could be easily overlooked, if it wasn't that dupligroup are the reccomended way to reference characters in external blend file, and rather than a missing feature it's blender not being able to follow its own workflow.
Added subscriber: @LucioRossi
Removed subscriber: @LucioRossi
Added subscriber: @icappiello
Added subscriber: @mont29
If you want the patch to be considered, I strongly suggest to submit it as a differential instead… But not sure how likely it is to get accepted - and most certainly not for 2.79, this is way too late for that kind of changes imho.
Hello Bastien,
this is another case of a patch that was badly needed in production, so it was perfect to us, but might raise some concerns as a merge proposal, so it has been attached only to start a conversation.
Technically, it shouldn't be much of an overload: transparent objects are skipped when drawing dupligroups so that they can be rendered later. Of course this implies a further pass in which those objects are rendered and it is true that this might result in a (most probably very slight) overhead, but it should be benchmarked.
I can work on it to make it at least a good candidate for review, what has to be defined is if there is any interest in fixing the issue for the releases between 2.79 and 2.80