Jump to content

the MAT Hatter

Members
  • Content count

    2
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About the MAT Hatter

  • Rank
    Peon

Personal Information

  • Name
    Mat
  • Location
    Texas

Recent Profile Visitors

817 profile views
  1. VDB maintain UVs

    Yader, Thank you for the response! The method you described does successfully transfer UVs from one VDB object/volume to the combined mesh. When I tried using multiple volumes in the second input, the uvs get distorted at the seam polygons, do you know of a way to fix this? I tried out a method where I use two convertVDB nodes and delete the polys without correctly transferred UVs then merge them together which seems to produce cleaner seems but probably more computationally heavy with two convertVDB nodes. In my attached file you can see a couple different methods I tried (one of them is the way you suggested Yader). VDB_attributes.hip
  2. VDB maintain UVs

    Hello All, I am using VDBs to combine geometry and I am interested in a way of maintaining specific attributes from the two input geometries. Currently I have two poly objects which are being converted to VDBs and then combined using VDB combine and then converted back to polys using VDB convert. What I want is to be able to identify which polygons on the resulting combined/converted object comes from which input object and also maintain their respective UVs. I have had some success with using the second input of the convertVDB node to transfer attributes. Using this method however, I am only able to maintain some of the objects attributes, not all. I've attached some images and a file to demonstrate my issue. In the attached file I have three objects; Base, Add Sphere and Sub Sphere. All objects contain UVs and an ID attribute (tmp1), they are all converted to VDBs then combined using VDBcombine nodes. Finally the resulting VDB is converted to polys using convertVDB. When both original sphere are input into the second input, the UVs and ID attributes are transferred correctly however the Base object is not. When all three objects are input into the second input of the convertVDB, only the Base and one sphere's attributes are transferred correctly. I have tried several different combinations and methods of making this work to no avail, but it feels like I'm so close if I can get all three objects to transfer the attributes correctly, just not all at the same time. It is possible to use two convertVDB nodes, one with the two spheres in the second input and the second with all three objects in the second input, then deleting the problem polys from either (using the ID attribute) and then merging the two together, but this is not very ideal. In the image on the left you can see the results of the convertVDB using only the two spheres as the second input, the middle image is when using all three objects (base, add_sphere and sub_sphere), and the right is an image of all three input objects showing their UVs. I am new to VDBs so I was hoping someone might have some alternative methods or could point me in the right direction. Thank you all in advance! Cheers, -Mat VDB_attributes.hip
×