--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/fdeb4a20-c375-44ef-adab-098c916e6224%40googlegroups.com.
<Ramp in maya.png><Ramp in gaffer.png>
Hey,Sadly we don't have support for Arnold ramps in the Gaffer UI at the moment (or by transferring from maya). The nearest thing is to use the osl ColorSpline shader, which does allow the ramp to be edited in Gaffer. This comes up from time to time in production, but it's not been prioritised yet so I don't think we'll get to it any time soon. I think most people have made custom OSL shaders to cover any missing functionality.Sorry about that!'bestTom
On 21 Apr 2020, at 07:50, Jiayu Liu <ljy...@gmail.com> wrote:
As shown in figures, the Ramp_rgb node in Arnold has the position value, which can be adjusted by "selected position" "selected color" and "interpolation" together in Maya (see Figure1).
But when it goes to Gaffer, things look strange. We can't find any place to manage the position (see Figure2 left, on the right is original position code of ramp_rgb in Arnold) .
Does anyone know how to adjust position of ramp_rgb in Gaffer? Or anyone has ever ran into similar problem?--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/f0e84537-c1e4-4b24-9a75-859c6c56e8ea%40googlegroups.com.




To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/f0e84537-c1e4-4b24-9a75-859c6c56e8ea%40googlegroups.com.
# Add a point and set its value
point = splinePlug.point( spline.addPoint() )
point["x"].setValue( 0.5 )
point["y"].setValue( imath.Color3f( 1, 0, 0 ) )
# Set the whole spline in one go
splineValue =
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/bc6f027e-b326-43e2-918c-5af8cf254199n%40googlegroups.com.