CinnamonMetal Posted March 20, 2020 Share Posted March 20, 2020 When converting polygonal object to VDB and one wants the Cd data, is it necessary to get the attribute to transfer to the VDB from within the VDB from Polygons SOP ? For example, the attribute I retrieve is the point.Cd which is of Vector Color and then giving it a name ? Also when converting a VDB back to polygons how do I get the color data back on the polygon mesh from the Convert VDB node; using the group, @name=<NameOfAttribute> ? Quote Link to comment Share on other sites More sharing options...
flcc Posted March 21, 2020 Share Posted March 21, 2020 Check this discusion It was about uv, but it's exactly the same principle with colors. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 21, 2020 Author Share Posted March 21, 2020 Why is the actual color information not visible in the viewport ? The Cd attribute did transfer to the polygon object, converted polygon object I tired an attribute transfer but that doesn't work either. Transfer from the attribute vop to after the attribute from volume. Quote Link to comment Share on other sites More sharing options...
flcc Posted March 21, 2020 Share Posted March 21, 2020 I didn't really understand if it work or not for you. Can you post a file ? Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 21, 2020 Author Share Posted March 21, 2020 Fluid_Liquid_Sphere.hipnc Quote Link to comment Share on other sites More sharing options...
flcc Posted March 22, 2020 Share Posted March 22, 2020 (edited) Here is a fix You nedd to delete the surface Volume. Don't know Why simplly use @name=ColorA is not good enough. You don' need attribute transfert as AttributeFromVolume do the job Fluid_Liquid_Sphere Fix.hipnc Edited March 22, 2020 by flcc 1 Quote Link to comment Share on other sites More sharing options...
flcc Posted March 22, 2020 Share Posted March 22, 2020 I finally find the correct way. On the AttributeFromVolume just use your color Volume name (ColorA) in the Volume field. not @name=Color A in the group Field. As is, the delete sop is not needed anymore 2 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 22, 2020 Author Share Posted March 22, 2020 Thanks 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.