Smoke domain cuts out shadows of smoke from intersecting objects when working with different layers for compositing (CYCLES) #44515

Closed
opened 2015-04-26 10:41:42 +02:00 by Edmund Havran · 7 comments

System Information
Ubuntu 14.04 / Quadro 4000

Blender Version
Broken: 2.74.5 bc160d8

Short description of error
Intention was to render an object and a smoke simulation separately on different render layers for compositing with retaining the shadow on the object. This works fine when object and domain do not intersect. As soon intersection occurs, the shadow of the smoke is being cut out by the smoke domain.

Exact steps for others to reproduce the error

Open Blender and switch to Cycles.

Select the default cube and move it to scene layer two.

(On scene layer one) Add a plane, scale it up by 8 and move it -1.5 units on z-axis.

Switch to scene layer 2, select the cube and do a Quick Smoke setup. Run it with Alt+a for a few frames (about 30 or so).

On Render Layers tab activate scene layer one and two.

On the default render layer enable layer one only.

Render the scene. Shadows are being cut out.

(This step is optional) Move the plane below the smoke domain and render the scene. Now shadows are being cast properly.

I am not sure whether this collides with this bug. https://developer.blender.org/T39142

smokeShadow.blend

smokeShadow1.jpg

smokeShadow2.jpg

**System Information** Ubuntu 14.04 / Quadro 4000 **Blender Version** Broken: 2.74.5 bc160d8 **Short description of error** Intention was to render an object and a smoke simulation separately on different render layers for compositing with retaining the shadow on the object. This works fine when object and domain do not intersect. As soon intersection occurs, the shadow of the smoke is being cut out by the smoke domain. **Exact steps for others to reproduce the error** # Open Blender and switch to Cycles. # Select the default cube and move it to scene layer two. # (On scene layer one) Add a plane, scale it up by 8 and move it -1.5 units on z-axis. # Switch to scene layer 2, select the cube and do a Quick Smoke setup. Run it with Alt+a for a few frames (about 30 or so). # On Render Layers tab activate scene layer one and two. # On the default render layer enable layer one only. # Render the scene. Shadows are being cut out. # (This step is optional) Move the plane below the smoke domain and render the scene. Now shadows are being cast properly. I am not sure whether this collides with this bug. https://developer.blender.org/T39142 [smokeShadow.blend](https://archive.blender.org/developer/F166909/smokeShadow.blend) ![smokeShadow1.jpg](https://archive.blender.org/developer/F166910/smokeShadow1.jpg) ![smokeShadow2.jpg](https://archive.blender.org/developer/F166911/smokeShadow2.jpg)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @EdmundHavran

Added subscriber: @EdmundHavran

Added subscriber: @sindra1961

Added subscriber: @sindra1961

I think that you think that a shadow is rendered there.
However, the part is volume of domain.
You do not include layer with domain in render layer.
Therefore data of plane are rendered.

I think of the object that a shadow is rendered which is not included in render layer to be it oddly personally.

I think that you think that a shadow is rendered there. However, the part is volume of domain. You do not include layer with domain in render layer. Therefore data of plane are rendered. I think of the object that a shadow is rendered which is not included in render layer to be it oddly personally.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-04-28 09:17:43 +02:00

The purpose of render layers is to be able to combine them together and have full scene as a result. You've got single render layer which only includes one of the scene layers and pipeline is actually expecting you to have second render layer with the remained scene layer on it in order to have final result. And the reason you've got that "cutout" is because volume is kind of transparent and will be alpha-overed on top of the plane. Trying to have some sort of shadow is probably possible, but quite difficult, especially if you'll be combining image back.

If you don't need some objects to influence render at all, exclude corresponding scene layer.

Thanks for the report, but i don't really see bug here.

The purpose of render layers is to be able to combine them together and have full scene as a result. You've got single render layer which only includes one of the scene layers and pipeline is actually expecting you to have second render layer with the remained scene layer on it in order to have final result. And the reason you've got that "cutout" is because volume is kind of transparent and will be alpha-overed on top of the plane. Trying to have some sort of shadow is probably possible, but quite difficult, especially if you'll be combining image back. If you don't need some objects to influence render at all, exclude corresponding scene layer. Thanks for the report, but i don't really see bug here.
Author

Hello Sergey,

Thank you for the detailed explanation. This helped me to understand the pipeline a bit better. I really thought it was bug.

Regards

Hello Sergey, Thank you for the detailed explanation. This helped me to understand the pipeline a bit better. I really thought it was bug. Regards
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#44515
No description provided.