PDA

View Full Version : Guid filters ?


dlanier
11-09-2006, 01:36 AM
Hi,

In the XSI wiki it is said :

Here's a list of common object types in XSI and their corresponding interface IDs:
Type Interface ID

Any 3DObject {6B579D20-3DC5-11D0-9449-00AA006D3165}
Null {7DD91AA4-89D8-11D0-A75C-00AA00BB6238}
Camera {1152E9B0-545E-11D0-8466-00A024C7919C}
Light {E9F25E60-520D-11d0-8298-00A0243E366B}

Where can we find these guids, are they all written somewhere or is that accessible by script ?

As I would like to filter shaders only in a shader spdl file, where can I find the shader class guid ?

Thank you.
Regards,

David Lanier
Plug-ins & Shaders Development
http://www.dl3d.com

a00708613
11-09-2006, 06:26 PM
The id's are used inside XSI's scene definition, mental ray doesn't use it in any explicit way, if you need to read it inside custom shaders code maybe you can pass it through user data.

Take a look on the XSI sdk documentation, maybe you can find something valuable.

dlanier
11-09-2006, 11:56 PM
Thanks, actually, these guids can be seen in the SDK explorer view inthe advanced tab.
Regards,

David Lanier
Plug-ins & Shaders Development
http://www.dl3d.com