raincole Posted March 5, 2022 Share Posted March 5, 2022 The official document has this little demo: This is exactly what I want. A textured square snapped to a non-flat surface. But I'm having a hard time replicating it. The current Labs Decal Project has 3 inputs, not 1. If I connect a non-flat surface to the first input, it creates irregular topology like this: The topology isn't even static when I move the projector. How am I going to unwrap and texture it? I tried to put a textured square to the third input, and that didn't work either. It just copies the square without complying with the surface's shape, as Copy to Points SOP does. How to make a textured square snap to another mesh, just like the document shows? Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 5, 2022 Share Posted March 5, 2022 @raincole maybe it Helps! dec.hiplc 1 Quote Link to comment Share on other sites More sharing options...
raincole Posted March 5, 2022 Author Share Posted March 5, 2022 (edited) 17 minutes ago, Librarian said: @raincole maybe it Helps! dec.hiplc Thank for your reply. But it doesn't answer my question. I really don't get what the point is to use decals this way. The whole point of decal (at least in gamedev, just as the official document says) is to snap pre-textured square to another surface. In your example: Every decal has a different topology. It doesn't respect the grid (third input) at all. Actually, removing the third input doesn't change the output! The grid is 100% NOT used. My question was about how to decal a textured square. Exactly like the official document's demo where they move a Houdini logo on a cube. Sorry if I didn't make it clear in the original post. Edited March 5, 2022 by raincole Quote Link to comment Share on other sites More sharing options...
raincole Posted March 5, 2022 Author Share Posted March 5, 2022 Oh, I finally got it... the UV is consistent even the topology isn't. So there is no problem texturing it. 1 Quote Link to comment Share on other sites More sharing options...
Librarian Posted March 5, 2022 Share Posted March 5, 2022 @raincole here You have more in detail in part4 Quote Link to comment Share on other sites More sharing options...
demoncase Posted March 7, 2022 Share Posted March 7, 2022 a tip, there's a github from sidefx labs containing examples: https://github.com/sideeffects/SideFXLabs/tree/Development/hip 1 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.