Cycles: Volume Absorption node emit light with negative Density value. #39284

Closed
opened 2014-03-20 17:31:17 +01:00 by Iván Barták · 21 comments

System Information
Win 8.1 x64, GT650M

Blender Version
Broken: 2.70 19e627c

Short description of error
Negative values are only clamped when manual input is given.
But it is so awesome. Please do not change it.
Képkivágás.PNG

**System Information** Win 8.1 x64, GT650M **Blender Version** Broken: 2.70 19e627c **Short description of error** Negative values are only clamped when manual input is given. But it is so awesome. Please do not change it. ![Képkivágás.PNG](https://archive.blender.org/developer/F81943/Képkivágás.PNG)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Montaire

Added subscriber: @Montaire
Author

Also negative numeric input emit light too.
Only changing the value with mouse is clamped.

Also negative numeric input emit light too. Only changing the value with mouse is clamped.

Added subscriber: @rocketman

Added subscriber: @rocketman

Interesting! I'd say that this is technically not a bug...

Interesting! I'd say that this is technically not a bug...

Added subscriber: @mont29

Added subscriber: @mont29
Brecht Van Lommel was assigned by Bastien Montagne 2014-03-29 14:29:22 +01:00

Brecht, what do you say? :)

Brecht, what do you say? :)

Generally we do not clamp such negative values by design, for surfaces at least. For volume rendering it's not clear to me that this works in a useful way, probably best to clamp these values.

Generally we do not clamp such negative values by design, for surfaces at least. For volume rendering it's not clear to me that this works in a useful way, probably best to clamp these values.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

I agree, it's confusing when the volume emits light, although we don't have an emission closure. +1 for clamp.

I agree, it's confusing when the volume emits light, although we don't have an emission closure. +1 for clamp.

The emission node and closure works for both surfaces and volumes, so emission is possible.

The emission node and closure works for both surfaces and volumes, so emission is possible.
Author

I realized it not emits light, but amplifies it.
Volume Scatter node does that too.
With black background the cube not visible, and the light only appears on the other object.

I realized it not emits light, but amplifies it. Volume Scatter node does that too. With black background the cube not visible, and the light only appears on the other object.

Added subscriber: @ignatz

Added subscriber: @ignatz

I just wanted to add my opinion here.
I understand that Cycles is supposed to be 'photo realistic'.
Nevertheless, I totally agree with smt that negative values are sometimes extremely interesting for artistic effects.
I have already used negative emission values to give me a 'black light' (increases shadows!).
So, yes, please don't eliminate this possibility.

I just wanted to add my opinion here. I understand that Cycles is supposed to be 'photo realistic'. Nevertheless, I totally agree with smt that negative values are sometimes extremely interesting for artistic effects. I have already used negative emission values to give me a 'black light' (increases shadows!). So, yes, please don't eliminate this possibility.
Author

If voxel textures arrive for cycles, that would be the perfect way to make a ghost for example. Or the smoke simulator for explosion, for fire could use perfectly that technically. (Becouse fire emit, and smoke absorb)Clouds on a nighscene. ect.

I tred recreate this scene with the emit node, and it just not worked out. This method gives a really great contrast!

If voxel textures arrive for cycles, that would be the perfect way to make a ghost for example. Or the smoke simulator for explosion, for fire could use perfectly that technically. (Becouse fire emit, and smoke absorb)Clouds on a nighscene. ect. I tred recreate this scene with the emit node, and it just not worked out. This method gives a really great contrast!
Author

I just played around a little bit with smoke from Brecht's demo file, and negative values. Here is the result. It uses only one sample.
Képkivágás.PNG
cycles_simple_smoke_fire.blend
Lightpath node: if shadow, make it dark
Emit: Absorb only amplifies light if negative.

I just played around a little bit with smoke from Brecht's demo file, and negative values. Here is the result. It uses only one sample. ![Képkivágás.PNG](https://archive.blender.org/developer/F83574/Képkivágás.PNG) [cycles_simple_smoke_fire.blend](https://archive.blender.org/developer/F83576/cycles_simple_smoke_fire.blend) Lightpath node: if shadow, make it dark Emit: Absorb only amplifies light if negative.

This issue was referenced by blender/blender-addons-contrib@72308669ce

This issue was referenced by blender/blender-addons-contrib@72308669cebd401535bc533a6c1af9e6f420438e

This issue was referenced by 72308669ce

This issue was referenced by 72308669cebd401535bc533a6c1af9e6f420438e

I clamped the density input now to be >= 0.0.

If you really want to do these strange tricks you can still use a negative color or use OSL, but this should not be so easy to do by accident I think.

I clamped the density input now to be >= 0.0. If you really want to do these strange tricks you can still use a negative color or use OSL, but this should not be so easy to do by accident I think.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 72308669ce.

Closed by commit 72308669ce.
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
7 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#39284
No description provided.