Utility Reverse Node output is wrong

Utility Reverse Node output is wrong

mayanim8
Advocate Advocate
2,319 Views
3 Replies
Message 1 of 4

Utility Reverse Node output is wrong

mayanim8
Advocate
Advocate

I may not be using the reverse node correctly.

I am trying to connect the output of the transform node to go through the reverse node to get the negative value.  However, the results I am getting are not equal.

For example: connecting Rotate attributes of two cubes through the reverse node.  If I have connected Rotate Attributes of cubeA into the Input of the Reverse node, and then the output from the Reverse Node into the Rotate Attributes of cubeB.

When I input a value of 10 into Rotate Attributes  of CubeA the value of Rotate Attributes of CubeB is -9.

Why is the value not -10?

Is this a bug, or do I have to set some kind of attribute on the Reverse node?  

thanks

 Maya Version: Windows 10, version 2018.3

0 Likes
Accepted solutions (1)
2,320 Views
3 Replies
Replies (3)
Message 2 of 4

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

https://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=GUID-EECA80A5-FD6F-4A41-87FF-05461A2BEB2D

The node reverses black to white or "0" to "1"

this leads to "-1" to "2", ....

Just add an offset.

0 Likes
Message 3 of 4

mayanim8
Advocate
Advocate

 

 

Hello mspeer,

Thanks for the link.

Just curious where would I add the offset?  Would that be another node?

Or would this be a case of never using the reverse node to perform this kind of action, and use the multiply divide node instead?

Still trying to figure out these utility nodes.

thanks

0 Likes
Message 4 of 4

mspeer
Consultant
Consultant

Hi!

This is a Color Utility node, so it's working as it should.

For an offset just add another Utility node.

Use any node or node network you want.

0 Likes