McNistor Posted February 24, 2019 Share Posted February 24, 2019 I'm using the usual setup of attr-create with a paint node to drive something. I'd like to use the same paint values for something else, but inverted. I tried a few things, but something eludes me. What's the most straightforward way of achieving this? Thanks. Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 24, 2019 Share Posted February 24, 2019 f@invert = (1 - f@value); 1 Quote Link to comment Share on other sites More sharing options...
McNistor Posted February 24, 2019 Author Share Posted February 24, 2019 Knowing the invertion (1-something) is not the issue in my case, but knowing how to approach the problem I'm having from an workflow pov. I've writen in an attribwragnle node f@new_attrib_name = 1 - f@attrib_name but nothing that I'm expecting is going on in my viewport. I'll dig more into this, since it's the easiest thing I can do currently, explaining my particular case being a bit more cumbersome and sharing the whole scene is out of the question. Your reply is appreciated - it confirms I'm doing at least something well. Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 24, 2019 Share Posted February 24, 2019 If the problem is visualization, the Paint SOP has an internal visualizer that only applies when that SOP is displayed. If you want a persistent visualizer, you can use a Visualize SOP, or click on the attribute name in the Node Info window if you're on H17. Quote Link to comment Share on other sites More sharing options...
McNistor Posted February 24, 2019 Author Share Posted February 24, 2019 Pff... I'm glad my brain-fart didn't last longer - I was on the verge of painting textures. I placed the wrangle before the paint node not realizing no modified att values have been stored prior to paint. Geo spreadsheet saved the day. Quote Link to comment Share on other sites More sharing options...
McNistor Posted February 24, 2019 Author Share Posted February 24, 2019 (edited) 12 minutes ago, toadstorm said: If the problem is visualization, the Paint SOP has an internal visualizer that only applies when that SOP is displayed. If you want a persistent visualizer, you can use a Visualize SOP, or click on the attribute name in the Node Info window if you're on H17. Yeah, no, I've screwed up - see above. Again, thanks for the input - it stopped me from going down who knows what rabbit hole... Edited February 24, 2019 by McNistor grammar 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.