phyle
05-10-2006, 04:58 AM
Hi there!
What I am trying to do is create a matte on one object of where another object is close to the other. I basically wanted to create a gradient with which I could blend one object into another in a compositing program.
When I create a closestPointOnSurface node I cannot seem to connect an object into its Input Surface. The little triangle to the right of the attribute is grayed out. I thought I should just be able to drag a nurbs surface into my input surface?
I wanted to use distancebetween on my closestpointonsurface and samplerinfo.pointworld, and then pass that through a gradient to a surface shader.
Am I going about this the right way? how do i connect the closestpointonsurface up to a survace?
Also, is there such thing as closestpointonMesh? I type -
createNode closestPointOnMesh;
into the script editor and it just creates an unknown1 node...
Any help would be good, Im a bit lost..
thanks
What I am trying to do is create a matte on one object of where another object is close to the other. I basically wanted to create a gradient with which I could blend one object into another in a compositing program.
When I create a closestPointOnSurface node I cannot seem to connect an object into its Input Surface. The little triangle to the right of the attribute is grayed out. I thought I should just be able to drag a nurbs surface into my input surface?
I wanted to use distancebetween on my closestpointonsurface and samplerinfo.pointworld, and then pass that through a gradient to a surface shader.
Am I going about this the right way? how do i connect the closestpointonsurface up to a survace?
Also, is there such thing as closestpointonMesh? I type -
createNode closestPointOnMesh;
into the script editor and it just creates an unknown1 node...
Any help would be good, Im a bit lost..
thanks
