qazwsdc Posted July 31, 2021 Share Posted July 31, 2021 (edited) Hello everyone, Let's say in SOP I make a vdb density volume from a sphere which have uv attribute. And in "VDB from polygon" node I inherit that UV to a VDB field. And then in the material, I want inherit that UV field and make volume displacement using a jpg tex based of that UV when I hit render , the result looks strange (Bottom right corner) regardless I rotate the uv position Here is the file and tex untitled.hip shu.zip Edited July 31, 2021 by qazwsdc Quote Link to comment Share on other sites More sharing options...
underscoreus Posted August 1, 2021 Share Posted August 1, 2021 It happens because the displacement is hitting the maximum bounds of your volume in that area. You'll need to add more exterior bound voxels to the volume and might have to add a "VDB activate" node after the "VDB From Polygons" node and increase the "Expand" option. Quote Link to comment Share on other sites More sharing options...
Atom Posted August 1, 2021 Share Posted August 1, 2021 (edited) There is something else wrong in that file as well. When I supply a simple checkerboard black and white image, the UVs only work for the top half. Using toNDC as a replacement for UVs kind of works. It clearly illustrates that the bind of UVs doesn't seem to work. You can get camera facing displacement that way, however. Edited August 1, 2021 by Atom Quote Link to comment Share on other sites More sharing options...
qazwsdc Posted August 1, 2021 Author Share Posted August 1, 2021 3 hours ago, underscoreus said: It happens because the displacement is hitting the maximum bounds of your volume in that area. You'll need to add more exterior bound voxels to the volume and might have to add a "VDB activate" node after the "VDB From Polygons" node and increase the "Expand" option. I tried , but it doesn't work Quote Link to comment Share on other sites More sharing options...
qazwsdc Posted August 1, 2021 Author Share Posted August 1, 2021 1 hour ago, Atom said: There is something else wrong in that file as well. When I supply a simple checkerboard black and white image, the UVs only work for the top half. Using toNDC as a replacement for UVs kind of works. It clearly illustrates that the bind of UVs doesn't seem to work. You can get camera facing displacement that way, however. Yes toNDC is a good way to achieve this displacement effect BUT... it ONLY works when camera don't move, and the object must be static. In other words the displacement will move when camera move. That's not what I need. 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.