My brain's fried! How do I get the positions of objects into the render tree? It's all gone foggy and I have a client in shortly!
On 07/08/2012, David Thibodeau <david.thibod...@visionglobale.com> wrote: > Worse case scenario would be to set up two nulls with the right distance in > your scene, set their global position with an expression (Distance to cam) > in the Scalar Change Range node (Old Range: Start, Old Range: End) and then > multiply your displacement with this output value if that makes any sense.. > > > Hope it helps > > > Dav♪d Th♪bodeau || Artiste 3D || > > Tél: (514) 848-0579 (2525) > > > > > > > > ________________________________ > > From: David Thibodeau [mailto:david.thibod...@visionglobale.com] > Sent: August-07-12 11:23 AM > To: softimage@listproc.autodesk.com > Subject: RE: Blending displacement using raylength > > > Hi Chris, > > I've been using in the Render tree the node Scalar State in Ray Lenght mode > and its working well with the displacement in MR Soft 2012 SP1. > > Hope it helps! > > > > Dav♪d Th♪bodeau || Artiste 3D || > > Tél: (514) 848-0579 (2525) > > > > > > > > ________________________________ > > From: Guillaume Laforge [mailto:guillaume.lafo...@autodesk.com] > Sent: August-07-12 11:13 AM > To: softimage@listproc.autodesk.com > Subject: RE: Blending displacement using raylength > > > > Hi Chris, > > > > I didn’t play with the RenderTree since a very loonngg time but I think that > you could use the “Intersection Point” from the Vector State node. > > Then you need to get the world position of your camera and get the distance > to those intersection points. I think that they are evaluated before the > displacement (assuming you are using MentalRay). > > > > Cheers, > > Guillaume Laforge > > > > From: softimage-boun...@listproc.autodesk.com > [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Bradley Gabe > Sent: Tuesday, August 07, 2012 10:54 AM > To: softimage@listproc.autodesk.com > Subject: Re: Blending displacement using raylength > > > > Isn't this a cycle dependency situation? Raylength is affected by > displacement. > > > > On Tue, Aug 7, 2012 at 10:49 AM, Chris Marshall <chrismarshal...@gmail.com> > wrote: > > Hi All, > > I have a camera very close to a surface which has some displacement detail > in the very foreground. I'm using the BA raylength shader to try and blend > this so the displacement reduces the further away from the camera the object > is. But it doesn't appear to be working. I've tried to clamp the scalar > range, but even though the BA Raylenth is showing a grad from black to white > on the object, the displacement never reduces. > > Any thoughts on how this might be achieved? > > Thanks > > > > Chris > > > > > > -- Chris Marshall Mint Motion Limited 029 2002 5762 07730 533 115 www.mintmotion.co.uk