Closed philstopford closed 6 years ago
Here's a simple example using Cycles, with an empty driving a blend between the red and green images as it moves in Y over 10 frames. I can't reproduce this in V-ray, to affect both objects across their entire surface.
Cycles is using completely different shading networks (written in C), while V-Ray uses Python node trees and those trees unfortunately do not support drivers.
That's a shame. Has there been contact with the blender developers to see whether they could add the support you need?
I'll check what could be done about that...
I wanted to follow up in case there was news or more that I could do to help. This is one of my main pain-points right now.
You could report that drivers do not work with Python nodes. I can't do much about this issue.
A thread on devtalk.blender.org brought up this : https://github.com/LuxCoreRender/BlendLuxCore/issues/167
Would that approach help?
Would that approach help?
Not much.
@philstopford I've added a bit hacky way to evaluate drivers on Python node trees. Will be available in the next nightly build; please, check if this works for you. Builds are uploaded.
With build ddba5f3 I see the input value on Float updating, but the luminosity or color blend does not respond. It looks like there was a later commit that might be related, but I wanted to ask. Updated blend file with the V-ray setup is attached, in case useful. driver_demo_compact.zip
You mean self-illumination doesn't work? This is another issue. TexFloat output has incorrect type and it's a bug. It should have "grey" float-type socket output. Use driver along with "Float To Color" texture instead (which has "yellow" color-type output).
It doesn't look like the blend sees the output of the float (even routed through color to float) : driver_demo_compact.zip
Ok, this is also not related to drivers. This is some export bug. As a workaround use driver directly in "Blend Amount".
Using the workaround makes things OK. Do you need a separate ticket for the 'export bug' as you describe it?
@philstopford, I've logged this issue in our internal system, tnx =)
V-ray for blender nodes offer the potential to use drivers, but they aren't showing up in the graph editor for configuration. I'm not certain whether this is supposed to work (it would be great if they could, to enable rigged surface using empties to drive blending of images, etc. for an entire surface).
I started a forum thread here (https://forums.chaosgroup.com/forum/v-ray-for-blender-forums/v-ray-for-blender-tips-tricks-and-tutorials/1008491-using-drivers-in-v-ray-shading-networks), but wanted to also file a ticket for tracking purposes.