RE: shader writing: Array picking menu question
| Date : Tue, 30 Oct 2007 10:32:37 -0400 |
| To : <XSI(at)Softimage.COM> |
| From : "Halfdan Ingvarsson" <hingvars(at)Softimage.COM> |
| Subject : RE: shader writing: Array picking menu question |
In the propertyset section:
Parameter
"objects" input
{
guid = "{CD693DF1-2B99-4E20-9807-4C5457EF7D33}";
type = reference;
}
{
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.
- ½
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Reinhard Claus
Sent: 30-Oct-2007 09:59
To: XSI(at)Softimage.COM
Subject: Re: shader writing: Array picking menu question
have a peek into the spdls from the phenolib directory. contour.out.spdl has a "obj_array" named parameter which might be what you're after. mib_geo_instance_mlist.spdl has a material array (type=material)
I don't know whether all these are handled ui wise by xsi
some other interesting new shaders are in the new version of the architectural dll by the way (e.g. portal lights). Not intending to sound like *hint * hint * ;-)
Cheers,
Reinhard
On 10/30/07, Rob
Wuijster <rob(at)glassworksamsterdam.nl>
wrote:
Hi all,
I'm looking into the production shaders from the MR 3.6 library, to see
if I can write a PPG or two....
The mi code states the subset shader as follows:
declare shader "mip_render_subset" (
boolean "enabled" default on,
array geometry "objects",
array integer "instance_label",
material "material",
boolean "mask_only" default off,
color "mask_color" default 1 1 1 1,
color "background" default 0 0 0 0,
color "other_objects" default 0 0 0 0,
boolean "full_screen_fg" default on
)
apply lens
version 5
end declare
How can I set an array for the geometry picking:
Parameter "objects" input
{
GUID = "{6E5F6515-FF4B-42FA-B9D6-9F4E1231359D}";
UI "mapping" = "{38D56C23-8C0D-11D0-857D-00A02417D029}";
Inspectable = off;
Type = array
{
Parameter "objects" input
{
GUID = "{B4A7E44E-6C8B-46CA-8698-6DDB36C244D8}";
Type = ????????; <----How to have XSI look at geometry here? -->
}
};
}
}
The same goes for the "material" entry as well....
cheers for any answers, as it has been a while since I did this
conversion writing, and am slowly working my way through the SDK now,
Rob Wuijster
Glassworks Amsterdam
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
- References:
- shader writing: Array picking menu question
- From: Rob Wuijster <rob(at)glassworksamsterdam.nl>
- Re: shader writing: Array picking menu question
- From: "Reinhard Claus" <rclaus(at)gmail.com>
- shader writing: Array picking menu question
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: shader writing: Array picking menu question
- Next by Date: Re: shader writing: Array picking menu question
- Previous by Thread: Re: shader writing: Array picking menu question
- Next by Thread: Re: shader writing: Array picking menu question
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |