custom widgets 2004-06-15 - By mailbot
Back Just to clarify, I no longer work at softimage, so I can only offer suggestions and workaround that will work in the current version of the software.
Ideally we should be able to have a UI Control API to add our own controls to the PPG and Shaders. Some much needed controls are:
- 2 way control: a little box with a dot in the middle, outputs a X,Y value when manipulated. - same but encased in a circle - Vector control: a little arrow in 3 space. manipulates direction and magnitude - quaternion orientation control: a little sphere with a dot and a spin on it. - ...
We are still in a situation where we build part of the character controls as little floating objects in the scene (mainly for the above manetioned styles of controls, while the rest of the facial UI is in a PPG.
OO
--- Olivier Ozoux Associate Digital Supervisor ANIMAL LOGIC +61 2 9380-4800
On Jun 16, 2004, at 3:34 AM, Jim Rothrock wrote:
> In an ideal world,�this is what�would happen: > � > In my shader's SPDL file, there is a parameter "param" of type > "color."� In the "Defaults" section,�the UIType�would be�set to the > CLSID of a custom control type, rather than "UIType = "RGB", 3." > � > When the shader's property page�was displayed, the custom > control�would be�shown next to "param."� Instead of the color button, > the RGB button, and the R, G, and B sliders, there�would be�a color > button and x, y, and Y sliders.� Clicking on the color button would > open a new window containing a CIE chromaticity diagram and a Y > slider.� The user could click on a point in the diagram to select a > hue.� When the user clicked "OK," the window�would be�closed and the > "params" custom control�would be�updated. > � > After reading the documentation, it appears that it is not possible to > do what I want.� Each property page control has a type that is a > member of the siPPGControlType enumeration.� For example, "UIType = > "RGB", 3" results in the creation of a control of type siControlRGB.� > There does not appear to be any way to create custom control types. > � > It looks like the best I can do is to use scripting in the SPDL's > "Logic" section, perhaps combined with a custom display host, to get > the behavior I want. > -- > Jim Rothrock | jimr@(protected) > -- -- Original Message -- -- > From: kim aldis > To: XSI@(protected) > Sent: Saturday, June 12, 2004 2:09 PM > Subject: RE: custom widgets > > are you thinking property pages? If so, try Application->Property > Sets->Custom Property Wizard and chew through the sdk documentation > sections on PPGLayout and PPG. > > > From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On > Behalf Of Jim Rothrock > Sent: 12 June 2004 21:56 > To: XSI@(protected) > Subject: custom widgets > > Is it possible to create custom widgets in XSI?� I want to create a > color selection widget that allows the color to be specified in CIE > xyY�coordinates.� I haven't found any references to custom widgets in > the SDK documentation. > -- > Jim Rothrock | jimr@(protected)
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|