http://softimage.wiki.avid.com/index.php/SPDL:_ReferenceWidget_for_Materials
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Rob Wuijster
Sent: Tue 06 November 2007 11:42 AM
To: XSI(at)Softimage.COM
Subject: Re: shader writing: Array picking menu question
Hi,
Back at some SPDL writing....
I have been browsing the SDK after this reply, but not sure about some things yet. I found the "type = reference", "UIType" and "mode" entries, but am still unsure about the "filter = {GUID}" line.
I assume this GUID is somehow linked to each objectgroup in XSI, so the PPG wntry looks at the correct entry in the selectionwindow. I couldn't find a list linking the XSI object family constant strings. Or am I looking in the wrong direction, or at the wrong place in the SDK??
Also, how does one "pick" the material for this "mip_render_subset"
shader anyway?
(mia entry:
array geometry "objects",
array integer "instance_label",
material "material",
)
I don't assume a regular connection slot in the RT node will do..
cheers,
Rob Wuijster
Glassworks Amsterdam
Halfdan Ingvarsson wrote:
> In the propertyset section:
>
> Parameter "objects" input
> {
> guid = "{CD693DF1-2B99-4E20-9807-4C5457EF7D33}";
> type = reference;
> }
>
> In the Defaults section:
>
> objects
> {
> UIType = "ReferenceWidget.ReferenceWidget.1"
> {
> filter = "{6B579D20-3DC5-11D0-9449-00AA006D3165}"; # 3DObjects
> mode = "multi";
> }
> }
>
> Check out the sib_lightning.spdl for an example usage of it.
>
> - ½
>
---
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