Freestyle will unnecessary exclude some linked objects. #48366

Closed
opened 2016-05-07 03:41:34 +02:00 by chaos · 7 comments
Member

freestyle_bug.7z

System Information
Xubuntu 14.04
NVidia GT 240

Blender Version
Official Blender 2.77a (abf6f08)

Short description of error
I prepared an example for this bug.

  • Open the "blend.blend" file. It should have a group linked relatively to the "link.blend" file.
  • Render and look at the result. The monkey gets excluded from freestyle lines when it shouldn't.

As you can see, there are three cubes on front, 2 of them in a group which I decided to exclude from freestyle calculation through RenderLayers > Freestyle Line Set > Selection By: Group > Group: Group > Exclusive

So, our linked library IS NOT within the excluded Group named "Group, and so, no linked object should be excluded.
Looking carefully in the Outliner, one can see why this is happening, just by the simple reason that one of the excluded cubes has the same name that the linked monkey head, so, for Blender is like if that object IS inside the excluded group, so he decides to exclude it from the result. You can prove that by changing the name of the cube named "monkey" to something else. Now the monkey head gets its freestyle lines as it should.

This is a very annoying bug when working on big projects, as it becomes really hard to "discover" between so many objects, the very reason why some of these aren't rendering properly in freestyle.
I think the solution is simple, it should involve some way of giving the linked objects a different ID or something internally, so that objects remain "different" for Blender.

Regards.

[freestyle_bug.7z](https://archive.blender.org/developer/F309652/freestyle_bug.7z) System Information Xubuntu 14.04 NVidia GT 240 Blender Version Official Blender 2.77a (abf6f08) Short description of error I prepared an example for this bug. - Open the "blend.blend" file. It should have a group linked relatively to the "link.blend" file. - Render and look at the result. The monkey gets excluded from freestyle lines when it shouldn't. As you can see, there are three cubes on front, 2 of them in a group which I decided to exclude from freestyle calculation through RenderLayers > Freestyle Line Set > Selection By: Group > Group: Group > Exclusive So, our linked library IS NOT within the excluded Group named "Group, and so, no linked object should be excluded. Looking carefully in the Outliner, one can see why this is happening, just by the simple reason that one of the excluded cubes has the same name that the linked monkey head, so, for Blender is like if that object IS inside the excluded group, so he decides to exclude it from the result. You can prove that by changing the name of the cube named "monkey" to something else. Now the monkey head gets its freestyle lines as it should. This is a very annoying bug when working on big projects, as it becomes really hard to "discover" between so many objects, the very reason why some of these aren't rendering properly in freestyle. I think the solution is simple, it should involve some way of giving the linked objects a different ID or something internally, so that objects remain "different" for Blender. Regards.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @chaos-4

Added subscriber: @chaos-4

Added subscribers: @kjym3, @mont29

Added subscribers: @kjym3, @mont29
Tamito Kajiyama was assigned by Bastien Montagne 2016-05-07 12:26:12 +02:00

Can confirm the issue. Objects in blender have a unique name + library, name itself is not enough as uuid.

@kjym3 tried to track down that group member of lineset in code, with not much luck… Will let you handle this, assuming this 'group filtering' is done somewhere in freestyle code itself. :)

Can confirm the issue. Objects in blender have a unique name + library, name itself is not enough as uuid. @kjym3 tried to track down that group member of lineset in code, with not much luck… Will let you handle this, assuming this 'group filtering' is done somewhere in freestyle code itself. :)

Thanks a lot @mont29, I will look into the reported issue when time permits.

Thanks a lot @mont29, I will look into the reported issue when time permits.

This issue was referenced by a2a7316d92

This issue was referenced by a2a7316d92082230b292e91a6fb579eef9d7c8d4

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
4 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#48366
No description provided.