Jump to content

$CEX, $CEY, $CEZ no longer working properly?


Recommended Posts

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

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by magneto
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...