Stitching textures together

   2127   4   0
User Avatar
Member
43 posts
Joined: Dec. 2017
Offline
Hi all
I had to bake a series of textures from some objects i have in my scene.
I now have a series of textures called “diffuse_1.jpg diffuse_2.jpg … etc”.
I'd like to stitch them all together in a single, big texture (sort of like a udim mosaic made of textures).
I was thinking of loading them each in a different primitive of a grid, and bake that again. But how can i do that?
Is there an easier way to do it with compositing nodes?
This is for potentially using it on large number of objects so not looking to do it manually.
User Avatar
Member
74 posts
Joined: Dec. 2009
Offline
https://www.sidefx.com/tutorials/channel-packing-pyro-data-using-the-texture-sheets-rop/ [www.sidefx.com]

Maybe the Texture Sheet ROP in SideFX Labs
https://www.linkedin.com/in/kelvincai/ [www.linkedin.com]
User Avatar
Member
43 posts
Joined: Dec. 2017
Offline
Ah sounds like a good solution! Thanks I'll try it soon
User Avatar
Member
1734 posts
Joined: May 2006
Offline
If the file pattern can be interpreted as a frame number (which it looks like it should based on your description), you should be able to use the mosaic cop.

Attachments:
texture_stitch.hipnc (18.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
43 posts
Joined: Dec. 2017
Offline
That could be a good one too! I actually prefer the cop way. Thanks Matt
  • Quick Links