Now impossible to make negative volumes :( #41495
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#41495
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Archlinux
GTX 460
Blender Version
Broken: 2.71
Worked: 2.70
Short description of error
The intent of the fix to #39284 seems to have been to make it harder to accidentally make a potentially confusing light-emitting volume, which makes sense.
However, it now seems impossible to get such an effect. Using negative colors as suggested doesn't seem to work, as they are now clamped as well (
77f815f67a
). Using a negative value node also doesn't seem to work.This is a cool effect, and IMO it's fine to allow negative/unusual values if they are explicitly typed in (as opposed to sliding with the mouse, where it's easy to do something accidentally).
In most places, Blender seems to go by the philosophy that the user knows what they are doing,
with well-placed exceptions for dangerous/non-reversible actions like opening a new file and losing changes to the current one, where it asks for confirmation.
Since setting a volume to be negative is easily reversible, IMO the user doesn't need as much "stupidity protection" :)
This is allowed with lamps, so I don't see the reason for disabling this on volumes.
Exact steps for others to reproduce the error
Changed status to: 'Open'
Added subscriber: @gandalf3
Added subscriber: @Ace_Dragon
1). This isn't really a 'bug'.
2). If you use a value node hooked into a color mix node, you can still get negative color values.
3). I'm not so sure of 'stupidity protection' as it is to make sure that it's not so easy to get completely unintended, error-prone results by accident (which someone else might see as a bug). This way you have such results only present when the user intends it.
@Ace_Dragon
This seems to be working fine for lamps, so why all the clamping on volumes?
Added subscriber: @ThomasDinges
It should still be possible with OSL?
Added subscriber: @Sergey
Sergey, any strong opinion here?
Imho, the negative volume effect can be nice, but is too unpredictable to allow per default. If you want it, you can write a custom OSL shader which does not limit the color or density.
Added subscriber: @ideasman42
We can allow be explicitly setting limits so for some colors negative values are supported.
The reason I added this check is many colors could be set to negative values and really didn't do anything useful, or they gave some strange, accidental result.
So on a case-by-case basis this can be added back, but first check the math that deals with the color handles this correct.
Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
Added subscriber: @brecht
There's no reason to keep this bug open, the fix in #39284 intentionally disabled this "feature" which the volume integrator really can't handle correctly and will cause all kinds of bugs in multiple importance sampling, render passes and so on. Negative density is non-sensical and I don't believe any user actually knows what they are doing when using negative density. We can't keep around render bugs just because they look interesting.