guid 's and proxies 2005-05-04 - By Aloys Baillet
Back You're welcome! Thank La Maison too...
On 5/5/05, Adam Sale <adamsale@(protected)> wrote: > > Hey Aloys... thanks so much for the heads up.. I'll check out the .js > :-) > All the best > Adam > > -- -- Original Message -- -- > *From:* Aloys Baillet <aloys.baillet@(protected)> > *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 > >
-- Aloys Baillet - Character TD @ Animal Logic
You're welcome!<br> Thank La Maison too...<br><br><div><span class="gmail_quote">On 5/5/05, <b class="gmail_sendername">Adam Sale</b> <<a href="mailto:adamsale@(protected)" >adamsale@(protected)</a>> wrote:</span><blockquote class="gmail_quote" style= "border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding -left: 1ex;">
<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><span class="sg"> <div><font face="Arial" size="2">Adam</font></div></span><div><span class="e" id="q_103aa4ba8d10699d_2"> <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-- -- Original Message -- -- </div> <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz -background-clip: initial; -moz-background-origin: initial; -moz-background -inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size -adjust: none; font-stretch: normal;"> <b>From:</b> <a title="aloys.baillet@(protected)" href="mailto:aloys.baillet@(protected)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Aloys Baillet</a> </div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="XSI@(protected)" href= "mailto:XSI@(protected)" target="_blank" onclick="return top.js.OpenExtLink (window,event,this)"> XSI@(protected)</a> </div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, May 04, 2005 4:18 PM</div> <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.alamaison.fr/3D /lmProjectionPlane/lmProjectionPlane.html </a> - <a href="http://www.alamaison.fr/3D/lmProjectionPlane/lmProjectionPlane.js" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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)" target="_blank" onclick= "return top.js.OpenExtLink(window,event,this)">brad@(protected)</a>> wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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><br><br><br> <blockquote 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>
</span></div></blockquote></div><br><br><br>-- <br>Aloys Baillet - Character TD @ Animal Logic
|
|