Stitching textures together

   2998   4   0
User Avatar
Member
46 posts
Joined: 12月 2017
オフライン
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: 12月 2009
オフライン
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
46 posts
Joined: 12月 2017
オフライン
Ah sounds like a good solution! Thanks I'll try it soon
User Avatar
Member
1850 posts
Joined: 5月 2006
オフライン
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
46 posts
Joined: 12月 2017
オフライン
That could be a good one too! I actually prefer the cop way. Thanks Matt
  • Quick Links