Mantaflow does not render flame when flow source is hidden from Renders #72192

Closed
opened 2019-12-05 10:43:38 +01:00 by ifurkend · 30 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.82 (sub 1), branch: fluid-mantaflow, commit date: 2019-11-26 22:21, hash: 0ca44974c9
Worked: (optional)

Short description of error
Mantaflow does not render the flame but only smokes of "fire + smoke" if the flow source is hidden from renders. I hide the source because it is just an emitter not intended to be visible in the final render.

Exact steps for others to reproduce the error

  1. Select the cube in the default new project, create "quick smoke" then change the source flow type to "fire + smoke".

  2. Select the domain object, bake data.

  3. Increase Blackbody Intensity value of the Smoke Domain Material, like 10.

  4. Render the effect, everything is as intended.

  5. Select the flow source, uncheck "Show in Renders" in Objects properties - Visibility.

  6. Free the domain data and bake again.

  7. Render again, now the flame disappear. (Notably the flame is still visible in Rendered Viewport, but not the actual render.)

  8. Enable visibility of the flow source, rebake the domain and everything is back to normal.

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13 **Blender Version** Broken: version: 2.82 (sub 1), branch: fluid-mantaflow, commit date: 2019-11-26 22:21, hash: `0ca44974c9` Worked: (optional) **Short description of error** Mantaflow does not render the flame but only smokes of "fire + smoke" if the flow source is hidden from renders. I hide the source because it is just an emitter not intended to be visible in the final render. **Exact steps for others to reproduce the error** 1. Select the cube in the default new project, create "quick smoke" then change the source flow type to "fire + smoke". 2. Select the domain object, bake data. 3. Increase Blackbody Intensity value of the Smoke Domain Material, like 10. 4. Render the effect, everything is as intended. 5. Select the flow source, uncheck "Show in Renders" in Objects properties - Visibility. 6. Free the domain data and bake again. 7. Render again, now the flame disappear. (Notably the flame is still visible in Rendered Viewport, but not the actual render.) 8. Enable visibility of the flow source, rebake the domain and everything is back to normal.
Author

Added subscriber: @ifurkend

Added subscriber: @ifurkend

#74841 was marked as duplicate of this issue

#74841 was marked as duplicate of this issue

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

If I understand your steps, you uncheck Show in Renders and the object does not show in the render but does show in the viewport. This sounds like expected behavior.

If you uncheck Show in Viewports, does it disappear?

If I understand your steps, you uncheck Show in Renders and the object does not show in the render but *does* show in the viewport. This sounds like expected behavior. If you uncheck Show in Viewports, does it disappear?
Author

In #72192#824583, @StephenSwaney wrote:
If I understand your steps, you uncheck Show in Renders and the object does not show in the render but does show in the viewport. This sounds like expected behavior.

If you uncheck Show in Viewports, does it disappear?

The point is only the fire is not shown but the smoke still renders. How can such inconsistency be considered "expected"?
Regarding uncheck Show in Viewports, here's the table for you.

Edit: To clarify that I don't mean changing the visibility of the Domain object,
but the source object where fire/smoke/fluid is emitted from.
Indeed changing the visibility of the Domain is expected to affect the visibility of the fire and smoke,
this is consistent with Blender 2.7.

viewport + render viewport only render only no viewport or render
already baked but change visibility before rendering fine fine in viewport but smoke only in render fine fine in viewport but smoke only in render
rebake fine fine in viewport but smoke only in render nothing shown nothing shown

Back in Blender 2.7 to create the similar fire+smoke effect,
hiding the flow source from viewport and render does not prevent either the fire or smoke from being baked and rendered.
This makes the whole situation with Mantaflow so baffling.

> In #72192#824583, @StephenSwaney wrote: > If I understand your steps, you uncheck Show in Renders and the object does not show in the render but *does* show in the viewport. This sounds like expected behavior. > > If you uncheck Show in Viewports, does it disappear? The point is only the fire is not shown but the smoke still renders. How can such inconsistency be considered "expected"? Regarding uncheck Show in Viewports, here's the table for you. Edit: To clarify that I don't mean changing the visibility of the Domain object, but the source object where fire/smoke/fluid is emitted from. Indeed changing the visibility of the Domain is expected to affect the visibility of the fire and smoke, this is consistent with Blender 2.7. | | **viewport + render** | **viewport only** | **render only** | **no viewport or render** | | -- | -- | -- | -- | -- | | **already baked but change visibility before rendering** | fine | fine in viewport but smoke only in render | fine | fine in viewport but smoke only in render | | **rebake** | fine | fine in viewport but smoke only in render | nothing shown | nothing shown | Back in Blender 2.7 to create the similar fire+smoke effect, hiding the flow source from viewport and render does not prevent either the fire or smoke from being baked and rendered. This makes the whole situation with Mantaflow so baffling.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Is that still an issue in the latest builds from https://builder.blender.org/download/?
If yes, please prepare a very simple .blend file that makes it easier to reproduce the issue.

Is that still an issue in the latest builds from https://builder.blender.org/download/? If yes, please prepare a very simple .blend file that makes it easier to reproduce the issue.
Author

In #72192#849459, @JacquesLucke wrote:
Is that still an issue in the latest builds from https://builder.blender.org/download/?
If yes, please prepare a very simple .blend file that makes it easier to reproduce the issue.

Same issues on fluid-mantaflow-blender-2.82-ed32db06c124-windows64

Mantaflow report 2020 0116.blend

> In #72192#849459, @JacquesLucke wrote: > Is that still an issue in the latest builds from https://builder.blender.org/download/? > If yes, please prepare a very simple .blend file that makes it easier to reproduce the issue. Same issues on fluid-mantaflow-blender-2.82-ed32db06c124-windows64 [Mantaflow report 2020 0116.blend](https://archive.blender.org/developer/F8281066/Mantaflow_report_2020_0116.blend)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Sebastián Barschkis was assigned by Bastien Montagne 2020-01-20 11:05:28 +01:00

Added subscriber: @JohnCox-3

Added subscriber: @JohnCox-3

Added subscriber: @cata_cg

Added subscriber: @cata_cg

Added subscriber: @ponomarovmax

Added subscriber: @ponomarovmax

Added subscriber: @Goury

Added subscriber: @Goury

Are there any plans to ever fix this?
Clearly this isn't how it supposed to (not) work.
It also makes preview useless, slowing down the workflow to stall.

Are there any plans to ever fix this? Clearly this isn't how it supposed to (not) work. It also makes preview useless, slowing down the workflow to stall.

Not sure if it's a proper solution but I found a way to hide the source and maintain the fire in the render.

Select Source -> Material Properties -> Surface -> Select "Transparent BSDF"

Alternatively, you can add an Emission shader in the Volume properties (Select Source -> Material Properties -> VOLUME-> Select "Emission") and set it's color to orange or yellow. This option just reduces the visibility of the source but not in all aspects.

Hope this helps!

Not sure if it's a proper solution but I found a way to hide the source and maintain the fire in the render. Select Source -> Material Properties -> Surface -> Select "Transparent BSDF" Alternatively, you can add an Emission shader in the Volume properties (Select Source -> Material Properties -> VOLUME-> Select "Emission") and set it's color to orange or yellow. This option just reduces the visibility of the source but not in all aspects. Hope this helps!

Added subscriber: @simonurzua

Added subscriber: @simonurzua

Same issue here in Blender 2.83.0

Same issue here in Blender 2.83.0

Added subscriber: @Galib-Arrieta

Added subscriber: @Galib-Arrieta

Same problem here. Blender 2.83. I have a tried everything to get it working. Hiding the flow emitter only renders the smoke, the fire always remain invisible when rendering to an image or as animation.

Same problem here. Blender 2.83. I have a tried everything to get it working. Hiding the flow emitter only renders the smoke, the fire always remain invisible when rendering to an image or as animation.

Actually, a decent workaround is to add a Principled BSDF material to the flow emitter, and set Alpha to 0. Now I see the fire in the rendered image. This is a similar solution as suggested by @cata_cg .

Actually, a decent workaround is to add a Principled BSDF material to the flow emitter, and set Alpha to 0. Now I see the fire in the rendered image. This is a similar solution as suggested by @cata_cg .

Added subscriber: @gogo

Added subscriber: @gogo

I just ran into the same problem (after a quite time-consuming bake) and the workaround (making the inflow object visible) worked. I wish it wouldn't be necessary though. I unchecked visibilities (camera, diffuse, ...)

I just ran into the same problem (after a quite time-consuming bake) and the workaround (making the inflow object visible) worked. I wish it wouldn't be necessary though. I unchecked visibilities (camera, diffuse, ...)

Added subscriber: @shamimurrahman19

Added subscriber: @shamimurrahman19

The problem still exists in 2.83.3

The problem still exists in 2.83.3

This issue was referenced by df28a68e70

This issue was referenced by df28a68e7009da6a1de4597ecb579236e542e170

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Added subscriber: @imaadityadas

Added subscriber: @imaadityadas

I got the same problem and found out that if you disable the flow object from the view port and the render the flames are not visible
so if you re-enable to show the flow object the flames appears in the renders

I got the same problem and found out that if you disable the flow object from the view port and the render the flames are not visible so if you re-enable to show the flow object the flames appears in the renders
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
14 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#72192
No description provided.