CinnamonMetal Posted October 30, 2017 Share Posted October 30, 2017 (edited) When truncating a float which represents color how can I verify whether the two values are equally the same color (python) ? Edited October 30, 2017 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
bran_daid Posted October 31, 2017 Share Posted October 31, 2017 seems like you could do a dot product and compare that result to 1.0. this would test if two colors are the same. hou.Vector3.dot() would be the syntax for that I think. 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted October 31, 2017 Author Share Posted October 31, 2017 Interesting, if they overlap they're the same color 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.