External Smoke Cache Issues #40820

Closed
opened 2014-06-26 22:07:05 +02:00 by Atomic · 17 comments

System Information
OSX 10.9.1 Intel4000HD

Blender Version
Broken: 2.71
Worked: Not sure?

Short description of error
When a smoke domain reads an external cache various viewport and render anomalies occur.
external_smoke_cache_issues.jpg

Exact steps for others to reproduce the error
I have included a ZIP file with the smoke cache writer file. This file produces the smoke cache. Open 27_smoke_cache_writer.blend and bake the cache out to a folder. I have also included the file 27_various_external_smoke_cach issues.blend which reads the cache and demonstrates the errors.
Open up 27_various_external_smoke_cache issues.blend, select the domains and re-connect the smoke cache by browsing to the cache you just generated.
Press F12 and render. You should see something similar to what I post in the screen shot.

Multiple problems seems to exist. Such as incorrect viewport display and incorrect Empty dupligroup render. There is also a scaling issue involved.

external_smoke_cache_issues.zip

**System Information** OSX 10.9.1 Intel4000HD **Blender Version** Broken: 2.71 Worked: Not sure? **Short description of error** When a smoke domain reads an external cache various viewport and render anomalies occur. ![external_smoke_cache_issues.jpg](https://archive.blender.org/developer/F95662/external_smoke_cache_issues.jpg) **Exact steps for others to reproduce the error** I have included a ZIP file with the smoke cache writer file. This file produces the smoke cache. Open **27_smoke_cache_writer.blend** and bake the cache out to a folder. I have also included the file **27_various_external_smoke_cach issues.blend** which reads the cache and demonstrates the errors. Open up **27_various_external_smoke_cache issues.blend**, select the domains and re-connect the smoke cache by browsing to the cache you just generated. Press F12 and render. You should see something similar to what I post in the screen shot. Multiple problems seems to exist. Such as incorrect viewport display and incorrect Empty dupligroup render. There is also a scaling issue involved. [external_smoke_cache_issues.zip](https://archive.blender.org/developer/F95666/external_smoke_cache_issues.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AtomP

Added subscriber: @AtomP
Daniel Genrich was assigned by Lukas Tönne 2014-07-02 16:35:00 +02:00
Member

Added subscriber: @LukasTonne

Added subscriber: @LukasTonne
Member

Added subscribers: @miikah, @genscher

Added subscribers: @miikah, @genscher
Member

@genscher & @miikah: could you check this please?

@genscher & @miikah: could you check this please?

Added subscriber: @zeauro

Added subscriber: @zeauro

ubuntu 14.04 64bits hash : 9337574

I confirm that what is rendered does not correspond to what is displayed in 3DView.
3Dview is reading cache and displaying it according to domain origin.
Render is relative to mapping settings.
Screenshot_-02072014-_16:32:20.jpg

I think that it is normal behaviour that instancing is not supported.
You can just add same material volume to another mesh.
There is no need to add a smoke modifier on each.

Expected workflow is to use only one object for one cache. Because it is not needed to create 2 Voxel Data textures for same cache.

Since first steps of smoke development, there were problems with scaling object mode and in Edit mode.
The "Maps to Bounds" option in mapping panel solves all of them.

ubuntu 14.04 64bits hash : 9337574 I confirm that what is rendered does not correspond to what is displayed in 3DView. 3Dview is reading cache and displaying it according to domain origin. Render is relative to mapping settings. ![Screenshot_-_02072014_-_16:32:20.jpg](https://archive.blender.org/developer/F96364/Screenshot_-_02072014_-_16_32_20.jpg) I think that it is normal behaviour that instancing is not supported. You can just add same material volume to another mesh. There is no need to add a smoke modifier on each. Expected workflow is to use only one object for one cache. Because it is not needed to create 2 Voxel Data textures for same cache. Since first steps of smoke development, there were problems with scaling object mode and in Edit mode. The "Maps to Bounds" option in mapping panel solves all of them.

Added subscriber: @mont29

Added subscriber: @mont29

Would be nice to get final advice on this one… ;)

Would be nice to get final advice on this one… ;)
Author

"You can just add same material volume to another mesh. "
@zearo: But what if I want more than one smoke system in a single scene? Am I back to just rendering cards again?

"You can just add same material volume to another mesh. " @zearo: But what if I want more than one smoke system in a single scene? Am I back to just rendering cards again?

smk_examples.zip
In this example, bake quick smoke effect steam in qss.blend and quick smoke effect fire in qsf.blend.

Then, take a look at main scene 2_ext_caches.blend.

This scene use 2 external caches imported through 2 Domain objects.
At this moment, I use only the 2 corresponding voxel data textures to render 6 smoke flows.
4 are made of different meshes using a material using one of voxel data texture.
2 are made of one mesh using one material mixing the 2 textures mapped according empties_coordinates.

[smk_examples.zip](https://archive.blender.org/developer/F98648/smk_examples.zip) In this example, bake quick smoke effect steam in qss.blend and quick smoke effect fire in qsf.blend. Then, take a look at main scene 2_ext_caches.blend. This scene use 2 external caches imported through 2 Domain objects. At this moment, I use only the 2 corresponding voxel data textures to render 6 smoke flows. 4 are made of different meshes using a material using one of voxel data texture. 2 are made of one mesh using one material mixing the 2 textures mapped according empties_coordinates.
Author

I did test out your file and confirmed that instancing does not work correctly. In this image you can see the white one in the middle is a dupligroup. Some kind of instancing attempt is being made, you can see the effect of the raytrace through the volume. Also that grey block on the left should be rendering as smoke (I see it in the viewport) but instead I just get a solid.
bad_Cache.jpg

Also, when the source Domains are not on the same layer smoke cache is not updated correctly for users of the data on other layers.

I guess the question is...Is instancing supported or is it just broken?

The documentation claims that the smoke domain behaves like the fluid domain.

I did test out your file and confirmed that instancing does not work correctly. In this image you can see the white one in the middle is a dupligroup. Some kind of instancing attempt is being made, you can see the effect of the raytrace through the volume. Also that grey block on the left should be rendering as smoke (I see it in the viewport) but instead I just get a solid. ![bad_Cache.jpg](https://archive.blender.org/developer/F98842/bad_Cache.jpg) Also, when the source Domains are not on the same layer smoke cache is not updated correctly for users of the data on other layers. I guess the question is...Is instancing supported or is it just broken? The documentation claims that the smoke domain behaves like the fluid domain.

In my file, grey cube on the left named qsf_Domain has a solid default material.
So, it is correctly rendered.
It has maximum Draw Type set to Wire, it is set to textured; it would be solid in Viewport.
It is a trick for any smoke domain object. Otherwise even for object with a Volume material; smoke sim would not be visible in Viewport.

So, it is Rendered View that is not correct and should render smoke domains as solid cubes.

Problem of update with domains on another layer is known. It was already reported but you can keep them on same layer and simply disable their renderability in outliner. It does not affect rendering of objects with a Volume material.

Comparaison between fluid domain and smoke domain is valid for idea of resolution or borders but not for rendering.
Fluids are solid surfaces. Smokes are Voxels.

In my file, grey cube on the left named qsf_Domain has a solid default material. So, it is correctly rendered. It has maximum Draw Type set to Wire, it is set to textured; it would be solid in Viewport. It is a trick for any smoke domain object. Otherwise even for object with a Volume material; smoke sim would not be visible in Viewport. So, it is Rendered View that is not correct and should render smoke domains as solid cubes. Problem of update with domains on another layer is known. It was already reported but you can keep them on same layer and simply disable their renderability in outliner. It does not affect rendering of objects with a Volume material. Comparaison between fluid domain and smoke domain is valid for idea of resolution or borders but not for rendering. Fluids are solid surfaces. Smokes are Voxels.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

@genscher/@miikah any news on this? Will move it to the todo list otherwise

@genscher/@miikah any news on this? Will move it to the todo list otherwise
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Added to the todo list

Closing

Added to the [todo list ](http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Smoke) Closing
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
5 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#40820
No description provided.