Re: shader writing: Array picking menu question

Date : Tue, 30 Oct 2007 15:42:47 +0100
To : XSI(at)Softimage.COM
From : Philipp Oeser <philipp.oeser(at)liga01.de>
Subject : Re: shader writing: Array picking menu question
Hi Rob,
does

   Parameter "cycle_scene" input{
       GUID = "{...}";
       type = reference;
   }



get you there?




Rob Wuijster schrieb:
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




--


LIGA_01 COMPUTERFILM GmbH Philipp Oeser

MUNICH
Landwehrstrasse 60-62
80336 Munich, Germany
fon: +49 - (0)89 - 51 555 8-88
fax: +49 - (0)89 - 51 555 8-77

www.liga01.com

Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben, informieren Sie bitte den Absender und löschen diese Nachricht. Das unerlaubte Kopieren und die unbefugte Weiterleitung dieser Nachricht sind nicht gestattet.

This message may contain confidential and/or privileged information. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete this message. Any unauthorised copying, disclosure or distribution of this message is strictly forbidden.


--- 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.