Increasing density in volume shader causes strange artifacts on smoke #75276

Closed
opened 2020-04-01 13:38:02 +02:00 by Dawid Wizor · 29 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca
Worked: (optional)

Short description of error
As I increase the density in volume shader of the simulation domain, strange lines appear on the smoke. This is not dependent on the resolution of the simulation because in a much higher problem also occurred.

Exact steps for others to reproduce the error
I made simple simulation where displaced sphere is comming top from the bottom through 100 frames(with some rotation too) with "initial temperature" for -1, initial velocity checked with default settings and sampling subframes to 8.
Smoke domain set for 128 resolution with adaptive domain checked and noise upres 3.
I wanted to achieve here very dense pillow look smoke, but when i am increasing density in shader editor of the smoke strange glitches appears.
This starts to be visible even with small numbers of increasing density, but the larger it is the more it is notable Smoke_Glitch.jpg

Smoker.jpg

It's even visible in viewport.
node setup.jpg

Smoke.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `375c7dc4ca` Worked: (optional) **Short description of error** As I increase the density in volume shader of the simulation domain, strange lines appear on the smoke. This is not dependent on the resolution of the simulation because in a much higher problem also occurred. **Exact steps for others to reproduce the error** I made simple simulation where displaced sphere is comming top from the bottom through 100 frames(with some rotation too) with "initial temperature" for -1, initial velocity checked with default settings and sampling subframes to 8. Smoke domain set for 128 resolution with adaptive domain checked and noise upres 3. I wanted to achieve here very dense pillow look smoke, but when i am increasing density in shader editor of the smoke strange glitches appears. This starts to be visible even with small numbers of increasing density, but the larger it is the more it is notable ![Smoke_Glitch.jpg](https://archive.blender.org/developer/F8441107/Smoke_Glitch.jpg) ![Smoker.jpg](https://archive.blender.org/developer/F8441109/Smoker.jpg) It's even visible in viewport. ![node setup.jpg](https://archive.blender.org/developer/F8441100/node_setup.jpg) [Smoke.blend](https://archive.blender.org/developer/F8441095/Smoke.blend)
Author

Added subscriber: @dawidwizor

Added subscriber: @dawidwizor

Added subscriber: @ChristophWerner

Added subscriber: @ChristophWerner

I guess it's not the material shader. Looks like a problem in the voxel calculation. I know this artefacts from 3D Coat, where voxels are used for the mesh generation. Look exactly the same, but another case.

I guess it's not the material shader. Looks like a problem in the voxel calculation. I know this artefacts from 3D Coat, where voxels are used for the mesh generation. Look exactly the same, but another case.

Added subscriber: @iss

Added subscriber: @iss

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

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

Could you try to somehow make this file simpler to investigate?

Try to upload file, that developer will have to only bake and render to see the bug. Right now I am not sure at which frame this is motly visible and with what node settings. Ideally you should provide file that can be rendered as quickly as possible. this one is very heavy, but I am not sure if it can be optimized.

Could you try to somehow make this file simpler to investigate? Try to upload file, that developer will have to only bake and render to see the bug. Right now I am not sure at which frame this is motly visible and with what node settings. Ideally you should provide file that can be rendered as quickly as possible. this one is very heavy, but I am not sure if it can be optimized.
Author

Hmm what you mean by make it simpler? This file have set everything up, shader and all simulation settings are here, just click bake. I can upload smoke cache file too but it weighs a bit.

Hmm what you mean by make it simpler? This file have set everything up, shader and all simulation settings are here, just click bake. I can upload smoke cache file too but it weighs a bit.

@dawidwizor File you uploaded had 2x multiply node for density value on your screenshot it has 150. You provided screenshots of 2 different frames but when I hit render, I see completely different frame.

I don't know what settings I am supposed to use unless you specify them explicitly in steps for others to reproduce.

This is what I got when I open file, bake, change density multiplier to 150 and hit render(128 samples).
1.png

I can only guess that perhaps you somehow changed domain voxel size and didn't rebake, so you can try to rebake.

If that doesn't help we will need more info or change steps to reproduce.
Or if this is caused by platform / GPU we will need developer that can reproduce, but I don't think this is the case.

@dawidwizor File you uploaded had 2x multiply node for density value on your screenshot it has 150. You provided screenshots of 2 different frames but when I hit render, I see completely different frame. I don't know what settings I am supposed to use unless you specify them explicitly in steps for **others** to reproduce. This is what I got when I open file, bake, change density multiplier to 150 and hit render(128 samples). ![1.png](https://archive.blender.org/developer/F8443978/1.png) I can only guess that perhaps you somehow changed domain voxel size and didn't rebake, so you can try to rebake. If that doesn't help we will need more info or change steps to reproduce. Or if this is caused by platform / GPU we will need developer that can reproduce, but I don't think this is the case.
Author

Oh, you are right, i uploaded wrong .blend file here, my bad. now i'm sending the correct one!
I didn't gave a frame because for me it is really visible on everyone. Its begins to be seen at x2+ density, 150 looks like i want to, but the larger the multiplier, the more this problem is visible ;o
Take a look on a new file, i set material and frame for 130, just bake and render. I am sending how its looking for me too. But looking for your result, I think it's a problem with my equipment because i baked it 100 times and everytime i am getting these glitches. Bad_Smoke.blend

smoke-glitch.jpg

Oh, you are right, i uploaded wrong .blend file here, my bad. now i'm sending the correct one! I didn't gave a frame because for me it is really visible on everyone. Its begins to be seen at x2+ density, 150 looks like i want to, but the larger the multiplier, the more this problem is visible ;o Take a look on a new file, i set material and frame for 130, just bake and render. I am sending how its looking for me too. But looking for your result, I think it's a problem with my equipment because i baked it 100 times and everytime i am getting these glitches. [Bad_Smoke.blend](https://archive.blender.org/developer/F8444186/Bad_Smoke.blend) ![smoke-glitch.jpg](https://archive.blender.org/developer/F8444187/smoke-glitch.jpg)

There is definitely some problem, because this is what I get immediately after baking
1.jpg

Can you test in Blender 2.83? https://builder.blender.org/download/
And make sure you are baking to empty directory.

There is definitely some problem, because this is what I get immediately after baking ![1.jpg](https://archive.blender.org/developer/F8444262/1.jpg) Can you test in Blender 2.83? https://builder.blender.org/download/ And make sure you are baking to empty directory.
Author

It's seems like on 2.83 "looks better",wierd ugly lines are gone but still this is not acceptable quality. Yes, this is not very high quality bake(100 resolution division, noise upres 2) but should it look like this?

smoking.mov

It's seems like on 2.83 "looks better",wierd ugly lines are gone but still this is not acceptable quality. Yes, this is not very high quality bake(100 resolution division, noise upres 2) but should it look like this? [smoking.mov](https://archive.blender.org/developer/F8445612/smoking.mov)

Removed subscriber: @ChristophWerner

Removed subscriber: @ChristophWerner

Added subscriber: @sebbas

Added subscriber: @sebbas

I am rather curious, why my renders are completely different than yours :)
Sure, it doesn't look good, but we need to reproduce the problem in the first place. Otherwise we can not test the fix (if this is bug).

@sebbas do you think result like in video above is expected with following node setup - 150x value multiplier for density?
node setup.jpg

I am rather curious, why my renders are completely different than yours :) Sure, it doesn't look good, but we need to reproduce the problem in the first place. Otherwise we can not test the fix (if this is bug). @sebbas do you think result like in video above is expected with following node setup - 150x value multiplier for density? ![node setup.jpg](https://archive.blender.org/developer/F8441100/node_setup.jpg)
Author

I can send u again new .blend which i made in 2.83 because baking old file(settings) gave me completely different smoke simulations look than in 2.82(so much chaotic and extensive), dont know why...
Yes, exactly this node setup because i appended this from 2.82 sim.

I can send u again new .blend which i made in 2.83 because baking old file(settings) gave me completely different smoke simulations look than in 2.82(so much chaotic and extensive), dont know why... Yes, exactly this node setup because i appended this from 2.82 sim.
Author

Here you are!

SMOKE_2.83!.blend

Here you are! [SMOKE_2.83!.blend](https://archive.blender.org/developer/F8445734/SMOKE_2.83_.blend)

In #75276#902674, @dawidwizor wrote:
I can send u again new .blend which i made in 2.83 because baking old file(settings) gave me completely different smoke simulations look than in 2.82(so much chaotic and extensive), dont know why...
Yes, exactly this node setup because i appended this from 2.82 sim.

Ah, that would explain the difference. I tested files in 2.83.

In #75276#902675, @dawidwizor wrote:
Here you are!

SMOKE_2.83!.blend

For some reason I don't get any smoke in 2.83 version after baking. Is there any step necessary apart from baking data and noise?
Please disclose build hash to test with (top right on splashscreen)

> In #75276#902674, @dawidwizor wrote: > I can send u again new .blend which i made in 2.83 because baking old file(settings) gave me completely different smoke simulations look than in 2.82(so much chaotic and extensive), dont know why... > Yes, exactly this node setup because i appended this from 2.82 sim. Ah, that would explain the difference. I tested files in 2.83. > In #75276#902675, @dawidwizor wrote: > Here you are! > > [SMOKE_2.83!.blend](https://archive.blender.org/developer/F8445734/SMOKE_2.83_.blend) For some reason I don't get any smoke in 2.83 version after baking. Is there any step necessary apart from baking data and noise? Please disclose build hash to test with (top right on splashscreen)
Author

Nope there are no additional steps, that's wierd but when i tried rebake it now again I don't see anything either oO
build hash: a9963669f9

Nope there are no additional steps, that's wierd but when i tried rebake it now again I don't see anything either oO build hash: a9963669f9d2

In #75276#905706, @dawidwizor wrote:
Nope there are no additional steps, that's wierd but when i tried rebake it now again I don't see anything either oO
build hash: a9963669f9

Then please upload file that will work and has issue with blocky smoke.

> In #75276#905706, @dawidwizor wrote: > Nope there are no additional steps, that's wierd but when i tried rebake it now again I don't see anything either oO > build hash: a9963669f9d2 Then please upload file that will work and has issue with blocky smoke.
Author

Blend file: Smoke_2.83.blend
Hash: a8d139ca20
Blocky result: smok.jpg

Bake sim and noise, no additional steps needed.

Blend file: [Smoke_2.83.blend](https://archive.blender.org/developer/F8464463/Smoke_2.83.blend) Hash: a8d139ca2002 Blocky result: ![smok.jpg](https://archive.blender.org/developer/F8464466/smok.jpg) Bake sim and noise, no additional steps needed.
Author

I tried now with smoke made in older solver, not mantaflow, still same artifacts so its propably something with my hardware and cycles. I also tried making
smokes in octane and luxrender and in these engines smoke looks good ^^

I tried now with smoke made in older solver, not mantaflow, still same artifacts so its propably something with my hardware and cycles. I also tried making smokes in octane and luxrender and in these engines smoke looks good ^^

Added subscriber: @brecht

Added subscriber: @brecht

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

Changed status from 'Needs User Info' to: 'Archived'
Brecht Van Lommel self-assigned this 2020-04-11 19:22:21 +02:00

Material > Settings > Volume, set Interpolation to Cubic.

We may change the default here (there is some trade-off where it's significantly faster and looks good enough for thin smoke, so not obviously the right solution).

Material > Settings > Volume, set Interpolation to Cubic. We may change the default here (there is some trade-off where it's significantly faster and looks good enough for thin smoke, so not obviously the right solution).
Author

Oh you're right, its much cleaner result ^^ I already tried this option on 2.82 where i had more of these wierd glitches and it didn't work.
Seems like problem solved ^^ Thank you!
cubic.jpg

One question before we finish this thread, is there a way to change a "real name" on developer.blender? when I set up my account I didn't know how it is displayed ^^

Oh you're right, its much cleaner result ^^ I already tried this option on 2.82 where i had more of these wierd glitches and it didn't work. Seems like problem solved ^^ Thank you! ![cubic.jpg](https://archive.blender.org/developer/F8465103/cubic.jpg) One question before we finish this thread, is there a way to change a "real name" on developer.blender? when I set up my account I didn't know how it is displayed ^^
It should be here: https://developer.blender.org/people/editprofile/146340/
Author

Nice, thank you very much!

Nice, thank you very much!
Author

Removed subscriber: @dawidwizor

Removed subscriber: @dawidwizor
Author

Added subscriber: @dawidwizor

Added subscriber: @dawidwizor
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#75276
No description provided.