Re[2]: Bump falloff by camera distance

Date : Thu, 16 Aug 2007 14:50:46 +0200
To : Andi Farhall <XSI(at)Softimage.COM>
From : Frank Lenhard <franky(at)ixdream.com>
Subject : Re[2]: Bump falloff by camera distance
you can use the scalar state (raylength) drive the into a gradient
(use the mixer one because it got a input) input, then you get your
clamp for free. the last tab in the gradient lets you adjust the near
and far values. oplug the output of the gradient into the surface to
see the effect in the render region.
if that looks right use the gradient output to odulate the bump or
control a 2mix or whatever :)


ciao
franky


Thursday, August 16, 2007, 12:45:47 PM, you wrote:

AF> Use a scalar state node set to raylength, you will also need to
AF> clamp the min and max values using basic
AF> math nodes.

AF> A.

AF> -----Original Message-----
AF> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf
AF> Of Mr Creighton
AF> Sent: 16 August 2007 11:38
AF> To: XSI(at)Softimage.COM
AF> Subject: Bump falloff by camera distance


AF> Hi there,

AF> Apologies for what is likely to be a ridiculously simple question. I'd
AF> like to be able to control a bump map's effect based on camera distance,
AF> so that a terrain object has a bump effect whilst close-up but fades to
AF> nothing as it recedes from the camera. I've been trying to get this 
AF> working by playing about with Incidence nodes and ScalarState (Ray 
AF> Length) / Scalar2Color nodes, but am unable to generate the effect I'm
AF> after.

AF> In Max I'd drive this effect with a Falloff map, but something about 
AF> Incidence nodes in XSI is eluding me.

AF> Thanks,

AF> Dan Creighton
AF> ---
AF> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
AF> unsubscribe xsi

AF> ______________________________________________________________________
AF> This email has been scanned by the MessageLabs Email Security System.
AF> For more information please visit http://www.messagelabs.com/email 
AF> ______________________________________________________________________

AF> ---
AF> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
AF> unsubscribe xsi


---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.