Re: shader writing: Array picking menu question

Date : Tue, 06 Nov 2007 17:41:54 +0100
To : XSI(at)Softimage.COM
From : Rob Wuijster <rob(at)glassworksamsterdam.nl>
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


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.