Dynamic Paint - Paintmap dissolve not working (cycles) #36832

Closed
opened 2013-09-27 22:28:46 +02:00 by Sebastian Röthlisberger · 17 comments

%%%--- Operating System, Graphics card ---
osx 10.8.4, macbook pro 6.2, 8GB Ram, gt330m

- Blender version with error, and version that worked ---

error: official 2.68a r 60186, own r60385M

- Short description of error ---

Viewport shows Dynamic Paint Advanced Dissolve, Cycles Material Attribute dp_paintmap doesn't
dp_wetmap works
- Steps for others to reproduce the error (preferably based on attached .blend file) ---
open BUG_DynamicPaint.blend
run animation to frame 60
render
compare render with viewport
%%%

%%%--- Operating System, Graphics card --- osx 10.8.4, macbook pro 6.2, 8GB Ram, gt330m - Blender version with error, and version that worked --- error: official 2.68a r 60186, own r60385M - Short description of error --- Viewport shows Dynamic Paint Advanced Dissolve, Cycles Material Attribute dp_paintmap doesn't dp_wetmap works - Steps for others to reproduce the error (preferably based on attached .blend file) --- open BUG_DynamicPaint.blend run animation to frame 60 render compare render with viewport %%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%I don't know the expected behavior here, but the wetmap is marked red because there is no dp_wetmap vertex color layer in the Mesh?%%%

%%%I don't know the expected behavior here, but the wetmap is marked red because there is no dp_wetmap vertex color layer in the Mesh?%%%

%%%The issue is not the wetmap. It's the paintmap. If you look how it looks in Viewport and compare this to how the cycles render looks like you will see that the dissolve effect only takes place in viewport, but not in the render.%%%

%%%The issue is not the wetmap. It's the paintmap. If you look how it looks in Viewport and compare this to how the cycles render looks like you will see that the dissolve effect only takes place in viewport, but not in the render.%%%

%%%Dynamic paint uses RGBA vertex colors in order to appear invisible unless paint is applied. It seems that Cycles isn't using the alpha component at all... And because dissolve only manipulates alpha it doesn't show up in Cycles render.

I'm not quite sure if there is a nice way to fix this assuming Cycles color socket only uses RGB? Maybe it could output alpha from the Fac socket? Anyway, assigning to Brecht as this is render engine related issue.%%%

%%%Dynamic paint uses RGBA vertex colors in order to appear invisible unless paint is applied. It seems that Cycles isn't using the alpha component at all... And because dissolve only manipulates alpha it doesn't show up in Cycles render. I'm not quite sure if there is a nice way to fix this assuming Cycles color socket only uses RGB? Maybe it could output alpha from the Fac socket? Anyway, assigning to Brecht as this is render engine related issue.%%%

%%%Is this the same problem as why a Shader normal can't be put through a Color MixRGB Node?

Is there a way to "mix" normals? (the blue node socket)%%%

%%%Is this the same problem as why a Shader normal can't be put through a Color MixRGB Node? Is there a way to "mix" normals? (the blue node socket)%%%

%%%That's unrelated, and you can put a normal through a mix node, but you have to normalize it afterwards with the vector math node.%%%

%%%That's unrelated, and you can put a normal through a mix node, but you have to normalize it afterwards with the vector math node.%%%

%%%Alpha for vertex colors isn't supported in vertex paint mode, Blender internal shading nodes or the python api. Dynamic paint may be the only place in Blender that actually uses it, with a modification in Blender internal to make this particular case work? At the moment I'm not even sure that alpha can be expected to be set to a reasonable value in old files.%%%

%%%Alpha for vertex colors isn't supported in vertex paint mode, Blender internal shading nodes or the python api. Dynamic paint may be the only place in Blender that actually uses it, with a modification in Blender internal to make this particular case work? At the moment I'm not even sure that alpha can be expected to be set to a reasonable value in old files.%%%

%%%I suppose its because dynamic paint is the only tool in Blender that actually needs vertex color alpha in order to work properly. And yeah, Blender internal has used vertex color alpha ever since dynamic paint was added.

But good point regarding old files... I never realized they may not have the alpha component initialized correctly. :s%%%

%%%I suppose its because dynamic paint is the only tool in Blender that actually needs vertex color alpha in order to work properly. And yeah, Blender internal has used vertex color alpha ever since dynamic paint was added. But good point regarding old files... I never realized they may not have the alpha component initialized correctly. :s%%%

%%%"That's unrelated, and you can put a normal through a mix node, but you have to normalize it afterwards with the vector math node."

Not working for me:

http://www.pasteall.org/pic/60061

%%%

%%%"That's unrelated, and you can put a normal through a mix node, but you have to normalize it afterwards with the vector math node." Not working for me: http://www.pasteall.org/pic/60061 %%%

%%%It works for me in a simple test, I can't tell from that screenshot what the full setup is that you use.%%%

%%%It works for me in a simple test, I can't tell from that screenshot what the full setup is that you use.%%%

%%%..that's the full setup...

http://www.pasteall.org/blend/24358

for me it seems to be a bug. should i report it as such?%%%

%%%..that's the full setup... http://www.pasteall.org/blend/24358 for me it seems to be a bug. should i report it as such?%%%

%%%seem to be a bigger issue, since sometimes it render the object black and sometimes "just" darker as a it should.%%%

%%%seem to be a bigger issue, since sometimes it render the object black and sometimes "just" darker as a it should.%%%

%%%the point seems to be that i have not connected anything to the Group Normal input.
But then again it works fine if you have no Mix node in between...
%%%

%%%the point seems to be that i have not connected anything to the Group Normal input. But then again it works fine if you have no Mix node in between... %%%

%%%This is not a bug. The BSDF node knows to use the default normal if you don't plug anything in, but for other nodes you need to plug it in yourself. It would be convenient if there was a way to specify this for node groups, but that's not supported at the moment.%%%

%%%This is not a bug. The BSDF node knows to use the default normal if you don't plug anything in, but for other nodes you need to plug it in yourself. It would be convenient if there was a way to specify this for node groups, but that's not supported at the moment.%%%

%%%Ok, thanks.

(Still, it would make Node Groups more usable though ;-)%%%

%%%Ok, thanks. (Still, it would make Node Groups more usable though ;-)%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Moving this to the To Do list. http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/ToDo
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
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
3 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#36832
No description provided.