  | | | guid 's and proxies | guid 's and proxies 2005-05-04 - By Adam Sale
Back Hey Aloys... thanks so much for the heads up.. I'll check out the .js
:-)
All the best Adam -- -- Original Message -- -- From: Aloys Baillet To: XSI@(protected) Sent: Wednesday, May 04, 2005 4:18 PM Subject: Re: guid's and proxies
Hi Adam,
I did something like that but with self-installable plugins. You can dynamically add proxy params to custom property sets with the object model, and it works quite well. You can look at the source code of the lmProjectionPlane (http://www .alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.html - http://www.alamaison .fr/3D/lmProjectionPlane/lmProjectionPlane.js) to get an idea of how it works. One advice: forget all about SPDL :)
Cheers,
Aloys
On 5/5/05, Bradley R. Gabe <brad@(protected)> wrote: Hi Adam-
Have you tried building your PPG using the Object Model access we now have? I haven't used it for proxy params yet, but I imagine it's straightforward. There are no more issues with GUID's or registration, just flat out scripted control of what you are building.
Incidentally, the last time I was SPDL hacking, I ran into the same issues you're describing, except my proxy param was a constraint blend. Once the layout failed to update, there was no way to regain control without blowing away the SPDL file, and the PPG preset file, and starting over! I can't tell you how many complex PPG's I've had to rebuild from scratch because of SPDL and GUID idiosyncracies. As far as I can tell, those days are gone with the new OM stuff. :)
-Brad
Hey all, a question I've been looking into the last few days, on behalf of a question that came up in another forum I am running, but haven't found the answer I'm looking for.. heres the scenario I have a bunch of controls that have I've tied onto a custom Pset as proxy parameters They are all floats.. If I install the SPDL and then edit to group or change the ordr, or add tabs, resave the SPDL and refresh I lose visuals on one of the sliders, or the sldier will remain but it will no longer drive the value.. heres the confusing part: If I D&D a widget for say different kinds of properties onto a custom pset, then I can edit and save the SPDL to my hearts content.. Its only when I try to D&D say the local Y,Z,X widgets of an objects kinematics property onto a pset that the problems begin.. The guids that are created for a kinematic proxy param seem to be the same.. if I run something like logmessage XSIFactory.CreateGuid I can generate a unique GUID but using this new one in place of an old one doesn't seem to allow for update of the slider values.. It does get things a little closer to where I want in that the property doesn't disappear from the ppg, but still not quite what I need.. Has anyone found a way around this prob? Currently I'm just creating a custom parameter for these problem properties and creating expressions to link them. Custom param's don't seem to have this issue Is there an explanation for what is going on? thanks for any insight Irie Adam
-- Aloys Baillet - Character TD @ Animal Logic <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2900.2627" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hey Aloys... thanks so much for the heads up.. I 'll check out the .js </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>:-)</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>All the best</FONT></DIV> <DIV><FONT face=Arial size=2>Adam</FONT></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=aloys.baillet@(protected) href="mailto:aloys.baillet@(protected)">Aloys Baillet</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, May 04, 2005 4:18 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: guid's and proxies</DIV> <DIV><BR></DIV>Hi Adam,<BR><BR>I did something like that but with self-installable plugins.<BR>You can dynamically add proxy params to custom property sets with the object model, and it works quite well.<BR>You can look at the source code of the lmProjectionPlane (<A href="http://www.alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.html" >http://www.alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.html</A> - <A href="http://www.alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.js">http ://www.alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.js</A>) to get an idea of how it works.<BR>One advice: forget all about SPDL :)<BR><BR>Cheers,<BR><BR>Aloys<BR><BR><BR><BR> <DIV><SPAN class=gmail_quote>On 5/5/05, <B class=gmail_sendername>Bradley R. Gabe</B> <<A href="mailto:brad@(protected)">brad@(protected)</A>> wrote:</SPAN> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204 ,204) 1px solid">Hi Adam-<BR><BR>Have you tried building your PPG using the Object Model access we now have? I haven't used it for proxy params yet, but I imagine it's straightforward. There are no more issues with GUID's or registration, just flat out scripted control of what you are building.<BR><BR>Incidentally, the last time I was SPDL hacking, I ran into the same issues you're describing, except my proxy param was a constraint blend. Once the layout failed to update, there was no way to regain control without blowing away the SPDL file, and the PPG preset file, and starting over! I can't tell you how many complex PPG's I've had to rebuild from scratch because of SPDL and GUID idiosyncracies. As far as I can tell, those days are gone with the new OM stuff. :)<BR><BR>-Brad <DIV><SPAN class=e id=q_103a9ed758350d39_1><BR><BR><BR> <BLOCKQUOTE cite=http:// type="cite"><FONT face=arial size=2>Hey all, a question I've been looking into the last few days, on behalf of a question that came up in another forum I am running, but haven't found the answer I'm looking for..<BR></FONT> <BR><FONT face=arial size=2>heres the scenario<BR></FONT> <BR><FONT face=arial size=2>I have a bunch of controls that have I've tied onto a custom Pset as proxy parameters<BR>They are all floats..<BR></FONT> <BR><FONT face=arial size=2>If I install the SPDL and then edit to group or change the ordr, or add tabs, resave the SPDL and refresh <BR>I lose visuals on one of the sliders, or the sldier will remain but it will no longer drive the value..<BR></FONT> <BR><FONT face=arial size=2>heres the confusing part: <BR></FONT> <BR><FONT face=arial size=2>If I D&D a widget for say different kinds of properties onto a custom pset, then I can edit and save the SPDL to my hearts content..<BR>Its only when I try to D& ;D say the local Y,Z,X widgets of an objects kinematics property onto a pset that the problems begin..<BR></FONT> <BR><FONT face=arial size=2>The guids that are created for a kinematic proxy param seem to be the same.. if I run something like<BR></FONT> <BR><FONT size=2>logmessage XSIFactory.CreateGuid<BR></FONT> <BR><FONT size=2 >I can generate a unique GUID but using this new one in place of an old one doesn't seem to allow for update of the slider values.. It does get things a little closer to where I want in that the property doesn't disappear from the ppg, but still not quite what I need..<BR></FONT> <BR><FONT size=2>Has anyone found a way around this prob? <BR></FONT> <BR> <FONT size=2>Currently I'm just creating a custom parameter for these problem properties and creating expressions to link them.<BR>Custom param's don't seem to have this issue<BR></FONT> <BR><FONT size=2>Is there an explanation for what is going on? <BR>thanks for any insight<BR></FONT> <BR><FONT size=2>Irie<BR></FONT> <BR><FONT size=2>Adam<BR></FONT> </BLOCKQUOTE></SPAN></DIV></BLOCKQUOTE></DIV> <BR><BR><BR>-- <BR>Aloys Baillet - Character TD @ Animal Logic </BLOCKQUOTE></BODY></HTML>
|
|
 |