guid 's and proxies 2005-05-04 - By Aloys Baillet
Back 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
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="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 class="e" id="q_103a9ed758350d39_1"><br><br> <br> <blockquote type="cite" cite="http://"><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
|
|