Jscript - see the semi colons at the end of each line!
pingo van der brinkloev wrote:
Hey Thanks both!
but what language should the script editor be in, cause I keep getting
errors with parentheses and Type mismatch, etc...
cheers!
pingo
On 22/10/2007, at 21.31, takita wrote:
pingo van der brinkloev wrote:
Hey group.
I just installed 3delight and affogato, and now I'm trying to,
eeh... get something out of it with XSI:-/
I'm just curious, but I don't even know how to start or what
menus/shaders/addons to look for.
There aren't any (in the conventional XSI sense of "shaders" or
"menus"). But if you look at the documentation you can eventually
find your way. For example this command will assign a "roughmetal"
shader (select some geo, or a group/partition with some geo in it)...
AffogatoCreateShader("C:\\Program
Files\\3Delight\\shaders\\ceramic.sdl",Selection(0));
and this one will assign a spotlight (select a spot)...
AffogatoCreateShader("C:\\Program
Files\\3Delight\\shaders\\spotlight.sdl",Selection(0));
and this one will attach subdivision properties (note that additional
params get added to the CPset)...
AddProp("Custom_parameter_list", selection(0), "",
"affogatoSubdivisionSurfaces", null);
SIAddCustomParameter(selection(0) + ".affogatoSubdivisionSurfaces",
"boundarytype", siInt2, 1, 0, 3, null, 4, 0, 1, null, null);
-T
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
--
----------------------------------------------------------
Sandy Sutherland Digital Doodeller - TD
Blackginger (Cape) http://www.blackginger.tv
mailto:sandy(at)blackginger.tv
(P) (+27 21) 488 1188 (Cel) 0827893789
----------------------------------------------------------
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi