Light groups lit all the materials on different scenes #43432

Closed
opened 2015-01-27 13:52:52 +01:00 by Nahuel Belich · 9 comments

System Information
Win 7
nvidia 460

Blender Version
Broken: 59e2f91

Short description of error

when a light group its used in a Blender internal material in X scene it automatically lits all the materials on the others scenes

Exact steps for others to reproduce the error
1-open sun_groups.blend
2- Set the light group of the with plane with the Group (Group its the group of the sun light)
3-Go to the scene "Scene" and render
4- you should see the red plane,
the thing its that in that "Scene" there isnt a light, its being lit by the sun on the scene "SCENE-2"
5-erase the light group from the material on the plane white on the "SCENE-2"
6-Now try to render the red plane, it should render black

**System Information** Win 7 nvidia 460 **Blender Version** Broken: 59e2f91 **Short description of error** when a light group its used in a Blender internal material in X scene it automatically lits all the materials on the others scenes **Exact steps for others to reproduce the error** 1-open [sun_groups.blend](https://archive.blender.org/developer/F139594/sun_groups.blend) 2- Set the light group of the with plane with the Group (Group its the group of the sun light) 3-Go to the scene "Scene" and render 4- you should see the red plane, the thing its that in that "Scene" there isnt a light, its being lit by the sun on the scene "SCENE-2" 5-erase the light group from the material on the plane white on the "SCENE-2" 6-Now try to render the red plane, it should render black
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @NahuelBelich

Added subscriber: @NahuelBelich

Added subscriber: @kopias

Added subscriber: @kopias

confirmed, this is weird indeed:

i firstly assumed that light groups can be reused across all scene since you can set groups from other scene, but it does not work unless you link light from that group to current scene
and its on visible layer

so in this case light from other scene is litting all scenes

confirmed, this is weird indeed: i firstly assumed that light groups can be reused across all scene since you can set groups from other scene, but it does not work unless you link light from that group to current scene and its on visible layer so in this case light from other scene is litting all scenes
Author

ok i fell a bit dumb because its weird but it works as it use to worked on blender 2.49 just cheked, sorry

ok i fell a bit dumb because its weird but it works as it use to worked on blender 2.49 just cheked, sorry
Author

http://wiki.blender.org/index.php/Dev:Ref/Outdated/Release_Notes/Modeling/Objects/Groups_and_Parenting#Light_Groups

""Light Groups
In the Material buttons (F5) Shading panel, you can indicate a Group of Lamp Objects to be used as light for rendering, instead of the usual visible Lamps. This actually enables per-Material lighting (independent of which Object has the Material, or whether the Lamps are in visible layer).
If you don't want Lamps from a Light Group to work on the other Objects, just move them to an invisible layer.""

if i understand right this should be named as "global lights groups", witch adds each light in the selected groups as global lights, so if i have an scene with three lights and a group fot each light i will be litting all the scenes with those three lights plus the rest

http://wiki.blender.org/index.php/Dev:Ref/Outdated/Release_Notes/Modeling/Objects/Groups_and_Parenting#Light_Groups ""Light Groups In the Material buttons (F5) Shading panel, you can indicate a Group of Lamp Objects to be used as light for rendering, instead of the usual visible Lamps. This actually enables per-Material lighting (independent of which Object has the Material, or whether the Lamps are in visible layer). If you don't want Lamps from a Light Group to work on the other Objects, just move them to an invisible layer."" if i understand right this should be named as "global lights groups", witch adds each light in the selected groups as global lights, so if i have an scene with three lights and a group fot each light i will be litting all the scenes with those three lights plus the rest

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-01-27 14:37:10 +01:00

Light groups weren't actually intended to be used in multi-scene scenario -- there's no proper check for whether material is used or not. Improvements here are possible and would be nice to be done, but it'll be handled as a part of TODO list work: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine

Thanks for the report, but closing as a TODO now.

Light groups weren't actually intended to be used in multi-scene scenario -- there's no proper check for whether material is used or not. Improvements here are possible and would be nice to be done, but it'll be handled as a part of TODO list work: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine Thanks for the report, but closing as a TODO now.

i would suggest to have "exclusive" to be checked by default, in most cases its what you expect and works well with multiscene setups

i would suggest to have "exclusive" to be checked by default, in most cases its what you expect and works well with multiscene setups
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#43432
No description provided.