ron2812 Posted November 29, 2018 Share Posted November 29, 2018 Hello everyone! I made an object with UVs and added a material attribute. Now I want to use that object as source for a Copy-to-Points SOP and use the pack and instance option (since I wanna use instancing in UE4 for performance reasons). But when using the "pack and instance" option, the UVs and material gets wiped. If i untick the option, everything seems to work. Is there a way to keep UVs and attributes from the original for every instance? Thanks! Quote Link to comment Share on other sites More sharing options...
ron2812 Posted November 30, 2018 Author Share Posted November 30, 2018 Nobody? Quote Link to comment Share on other sites More sharing options...
Drughi Posted November 30, 2018 Share Posted November 30, 2018 (edited) Pack the geo before copying using the pack node. Then transfer the attributes u need in the pack node. Edited November 30, 2018 by Drughi Quote Link to comment Share on other sites More sharing options...
ron2812 Posted November 30, 2018 Author Share Posted November 30, 2018 Hi Drughi. Thanks for the reply! I tried that - now the UV vertex attributes from the original is packed into 1 vertex attribute (the rest is basically deleted - no uv - just one uv point). Plus when I activate the "pack and instance" on the copy-to-points this one attribute is deleted as well. I think what I need is just to have instances of that ONE object as is - without packing? But I don't know if that works. From a game developent perspective: when I use the HDA in the engine, I get instanced meshes from the ONE object I use with copy-to-points + "pack and instance" This is great and fast! But I need to assign a Material to that object that will be instanced several times and therefore will need UVs. Quote Link to comment Share on other sites More sharing options...
ron2812 Posted November 30, 2018 Author Share Posted November 30, 2018 I attached a little HIP file to show where the problem is instances.hiplc Quote Link to comment Share on other sites More sharing options...
Drughi Posted November 30, 2018 Share Posted November 30, 2018 I think you get packing wrong. The uvs are there. Every packed copy is just one point, referring to the original. Drop down a uv quickshade and you should see proper uvs. 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.