Anti-Distinctlyminty Posted July 8, 2016 Share Posted July 8, 2016 Hi all, I'm coming from Lightwave and, as you can see in the attached image, when shading I can have a node that refers to the current item (Item: Self) and get supplied various bits of information about that item. Any idea how this would be done in VOPs? Quote Link to comment Share on other sites More sharing options...
acey195 Posted July 8, 2016 Share Posted July 8, 2016 I don't have much experience with shading myself, but I do stuff with VOPs in Surface Operators. you can import geometry attributes in VOPs: point, vertex, primitive and detail If you have a multiple geometry nodes, you could store this kind of information in the detail attributes in the geometry and access it in the shader that way Detail Attributes have one single value for the entire geometry. If you want information for parts withIN the geometry, you may need import point, vertex or primitive attributes instead. However, you can also "Bind" attributes (especially point, vertex and primitive) that way it will automatically get the correct data from the right point, vertex or primitive to the right pixel, or at least for int, float and vector attributes. This doesn't really work for strings or array attributes. Hope that helps. 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.