about porting LumeTools shader to XSI 2004-07-06 - By Jamie McDonnell - Character Rigging / Animation TD
Back Man, you should talk to the BigMuh on XSiBase, he is a shader god! He just wrote a class hair shader, for Maya and XSi, he'll probably be able to help
Jamie -- -- Original Message -- -- From: "Xiao-dong Xu" <xdxucn2001@(protected)> To: <xsi@(protected)> Sent: Tuesday, July 06, 2004 3:43 PM Subject: about porting LumeTools shader to XSI
> Hi, Everyone, > > I would like to port LumeTools shader (coming with max6 package, > lume.dll can be downloaded from discreet) > to XSI. But I find some problems. Many declares are using name with > space (like "Affect Alpha", which > should be "Affect_Alpha" in XSI). How can I write spdl file to connect > such kind of inputs. > > Some one has already port those shaders to Maya. He also encountered > this problem. But he solved it by > modifying lume.mi file. Like this: > > -- ---- ---- ---- --- > > declare shader > "Distortion" > ( > boolean "Pin Cushion", > boolean "Barrel", > scalar "Amount" > ) > version 2 > apply lens > scanline off > trace on > #:nodeid = 77889904 > end declare > > > declare phenomenon > scalar "Distortion_LUME" > ( > boolean "phen_Pin_Cushion", #: default 1 > boolean "phen_Barrel", #: default 0 > scalar "phen_Amount" #: default 10.0 > ) > apply lens > > #named shader > shader "Distortion" "Distortion" > ( > "Distortion" = interface "Distortion_LUME", > "Pin Cushion" = interface "phen_Pin_Cushion", > "Barrel" = interface "phen_Barrel", > "Amount" = interface "phen_Amount" > ) > > root = "Distortion" > #:nodeid = 77889930 > end declare > > -- ---- ---- ---- --- > > Any ideas in XSI? Any help is appreciated. > > Xiao-dong > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|