TheAdmira1 Posted April 20, 2013 Share Posted April 20, 2013 Is anyone else having an issue with setting the pivot to the centroid in 12.5.316+? Regardless of the type of geometry I add it to, the pivot remains at the origin. I have tried in 316 and 376. Quote Link to comment Share on other sites More sharing options...
TheAdmira1 Posted April 20, 2013 Author Share Posted April 20, 2013 (edited) I take that back... scrubbing through the time line made it jump to the centroid, but also made my transformations incorrect. Edited April 20, 2013 by TheAdmira1 Quote Link to comment Share on other sites More sharing options...
graham Posted April 20, 2013 Share Posted April 20, 2013 This was reported to SESI some time ago during 12.5 beta, though I can't recall the bug id. Sadly it has not been fixed yet. Quote Link to comment Share on other sites More sharing options...
riviera Posted April 22, 2013 Share Posted April 22, 2013 We also reported this and sesis answer was that it doesn't work because of some internal evaluation inconsistency, so they're removing it (!), and we should use the centroid() function instead. While our first reaction was righteous outrage (kidding :-D) we realized we always had evaluation problems with these variables, especially when used in digital assets. so we switched to centroid() since then. A hint: $GCX Y Z variables still work, so use that when not in the mood for much typing. Just don't tell the sesi guys :-D Quote Link to comment Share on other sites More sharing options...
edward Posted April 22, 2013 Share Posted April 22, 2013 This was reported to SESI some time ago during 12.5 beta, though I can't recall the bug id. Sadly it has not been fixed yet. That particular bug was fixed in H12.5.341. If handles are still not behaving properly, please submit new bugs with reproducible steps. Channel references to parameters containing local variables will not work by design as previously discussed. 1 Quote Link to comment Share on other sites More sharing options...
TheAdmira1 Posted April 24, 2013 Author Share Posted April 24, 2013 Awesome, Thanks guys! and I will be sure to use centroid() from now on Quote Link to comment Share on other sites More sharing options...
magneto Posted April 25, 2013 Share Posted April 25, 2013 That particular bug was fixed in H12.5.341. If handles are still not behaving properly, please submit new bugs with reproducible steps. Channel references to parameters containing local variables will not work by design as previously discussed. Edward, is this also valid for expressions using local variables? I never thought about this but will be more conscious from now on if so. Quote Link to comment Share on other sites More sharing options...
edward Posted April 25, 2013 Share Posted April 25, 2013 Local variables will be 0 whenever evaluated outside of cooking, so yes, any expression *using* local variables will also see 0 when channel referenced. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted April 26, 2013 Share Posted April 26, 2013 (edited) Thanks alot Edward. Btw sometimes when writing expressions inside parameter fields, when you toggle the value mode, you don't see the value of the expression's result but 0. Is this also related? I remember reading somewhere that Houdini will not show the value of expressions in value mode anymore. But not sure if this is true or I am dreaming I was relying on this alot though because it's not easy to see the value of the expressions easily in any other way. Edited April 26, 2013 by magneto Quote Link to comment Share on other sites More sharing options...
edward Posted April 27, 2013 Share Posted April 27, 2013 I think you need to the distinction between expressions *using* local variables, and expressions that do *NOT* use local variables. Expressions that do *NOT* use local variables will always be evaluated the same regardless of whether it is evaluated within a cook or not. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.