12.5 Centroid Variables Issue?

   6218   8   3
User Avatar
Member
54 posts
Joined: Aug. 2010
Offline
Hi Guys,


Just upgraded to 12.5.316.22 which is awesome so far. But have a strange issue:

$CEX / $CEY / $CEZ appear to not be working (have tried on transform and point nodes so far). Must be an issue with upgrading as i have an asset where this was working perfectly fine in 12.1

The centroid() expression works as usual, but i'm just recieving 0 values when using the variables. No errors or anything, its clearly accepting the variables but not giving the right values.

On Ubuntu 12.04

Anyone else have the same issue?

~ Craig
~ Craig Tonks | CG Supervisor | Outpost VFX
User Avatar
Member
2 posts
Joined:
Offline
Just did a quick test with xform nodes, same results here on windows 7.
User Avatar
Member
54 posts
Joined: Aug. 2010
Offline
Someone else then, must be a bug?

Have attached a simple example, using $CE* for the pivot and -$CE* for the transform to return the sphere to center.

Weird thing is, i am getting the right result for the centroid variables version - just the values shown are all 0, compared to centroid() that is giving me correct values.

Attachments:
centroid_test.hipnc (50.0 KB)

~ Craig Tonks | CG Supervisor | Outpost VFX
User Avatar
Member
304 posts
Joined: May 2006
Offline
Today I reported a bug where the centroid was wrongly calculated for the Glue network. It used the “centroid” expression though, not the $CE variable.
Still I wanted to comment it, because it looks connected somehow…
Javier Meroño
FX TD.
User Avatar
Member
29 posts
Joined: Jan. 2011
Offline
I had similar issue other day and seems like its actually calculating right.
Only thing is not working for me is viewport handle update.
Harsh Mistri
Effects TD
Method Studio Vancouver
User Avatar
Member
184 posts
Joined: Dec. 2008
Offline
Does GCX, GCY, GCY work for you?

regards
User Avatar
Member
54 posts
Joined: Aug. 2010
Offline
GCX, GCY, GCY indeed all work fine

And as mentioned, it appears $CE* variables do work internally - but don't feedback the correct values or pass the correct values to the viewport handle.

I have submitted this as a bug
~ Craig Tonks | CG Supervisor | Outpost VFX
User Avatar
Member
789 posts
Joined: April 2020
Offline
I think this is the issue Edward explained on odfore in this thread:

http://forums.odforce.net/index.php?/topic/16159-what-is-the-reasoning-behind-the-variable-behavior/page__st__12 [forums.odforce.net]

Koen
User Avatar
Member
7709 posts
Joined: July 2005
Online
There was a problem noted during the beta that the transform *handle* in the viewport wouldn't evaluate the local variable though, and that fix didn't make it into the gold release. If you download the daily build, then that particular problem should be fixed.
  • Quick Links