Fri, Jan 3, 11:21 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 03 8:14 am)



Subject: Tool to merge multiple textures into single texture


colorcurvature ( ) posted Mon, 02 June 2014 at 9:30 AM · edited Thu, 12 December 2024 at 4:35 AM

Hi, is there any poser-friendly tool  that would take a mesh and create new UV's and texture maps for the .obj so that the UV's do not overlap and there is only one texture map? E.g. to merge 4 2k x 2k maps into a single 4k x 4k map? Thanks :)

Poser friendly means the resulting .obj is still usable for the .cr2


aRtBee ( ) posted Mon, 02 June 2014 at 11:46 AM

file_504700.jpg

I think this can be done in MatRoom directly.

Four (simple, single color) maps, each taking a separate quarter in the UV map. Each size is 0.5,0.5 (as a UV map is 0..1 in either direction) and the respective offsets are (0.0,0.0) (0.5,0.0) (0.0,0.5) and (0.5,0.5)

Set background to black, mode to non-tiling. 

- - - - - 

Usually I'm wrong. But to be effective and efficient, I don't need to be correct or accurate.

visit www.aRtBeeWeb.nl (works) or Missing Manuals (tutorials & reviews) - both need an update though


aRtBee ( ) posted Mon, 02 June 2014 at 11:47 AM

file_504701.jpg

and the render...

- - - - - 

Usually I'm wrong. But to be effective and efficient, I don't need to be correct or accurate.

visit www.aRtBeeWeb.nl (works) or Missing Manuals (tutorials & reviews) - both need an update though


DarkEdge ( ) posted Tue, 03 June 2014 at 11:31 AM

Ha, that is an ingenious solution aRtBee! 😄

Comitted to excellence through art.


R_Hatch ( ) posted Wed, 04 June 2014 at 6:17 PM

This appears to be the exact opposite effect from what colorcurvature is asking about (no offense - it is a damn cool trick!)

What colorcurvature is looking for is a way to, for example, combine a character's head, body, limbs and inner mouth map into a single imagemap (the easy part), and then also have a new OBJ created that accepts this new map (the hard part).

Just as I was typing the above, I realized that the "hard part" is not really necessary, because Poser can scale and offset textures in the Material Room.

On your Color_Map nodes, set U_Scale and V_Scale to 2. To use each section, set the U_Offset and V_Offset to the following values:

Upper Left: U 0, V 1
Upper Right: U 1, V 1
Lower Left: U 0, V 0
Lower Right: U 1, V 0

No OBJ remapping needed :)


R_Hatch ( ) posted Wed, 04 June 2014 at 10:34 PM

BTW, just in case it's needed: almost any image editor can combine 4 images and save that as a new image; I would recommend GIMP or Paint.net. It's then only a matter of creating an image that is twice the width and height of your source images, and dragging one image into each corner of the new one.


aRtBee ( ) posted Thu, 05 June 2014 at 1:37 AM

R-Hatch: you're right, I suggested how to combine multiple maps for one object - element. When the OP wants the opposite: a single map for multiple object-elements, then the solution should be the opposite as well. Which is exactly what you're suggesting, your scaling with 2 is the oppositie of my scaling with 0.5, etcetera. Great! And again, no remapping required.

- - - - - 

Usually I'm wrong. But to be effective and efficient, I don't need to be correct or accurate.

visit www.aRtBeeWeb.nl (works) or Missing Manuals (tutorials & reviews) - both need an update though


colorcurvature ( ) posted Thu, 05 June 2014 at 3:03 AM

I made a python script to merge the different texture maps into one and offset the UVs in the .obj  of the different matzones accordingly. Didn't have time to verify if it works in Poser yet, however ;)

I hope the single-map-mode makes life easier when modifying the figure in external applications like zbrush. If successful I'll post the script


moogal ( ) posted Sun, 08 June 2014 at 3:20 PM

Y'all are smart.  I'd have never thought of this.


face_off ( ) posted Mon, 09 June 2014 at 8:57 PM

I have a python script which does this - and it works well, although you need to manually merge the diffuse, bump and specular texturemaps into one using Gimp, Photoshop etc.  The python script just re-UV's the figure.  It only works for Roxie or Antonia, but if you know python you would be able to modify it for V4.  It also merges all the head and body materials into one.  I can post if here if you like, but it's uncommented, unsupported code, so you'll need to know python to make any changes.

I originally wrote it so that I could subd figures and then edit the mesh for just the skin material in ZBrush.

Paul

Creator of PoserPhysics
Creator of OctaneRender for Poser
Blog
Facebook


colorcurvature ( ) posted Tue, 10 June 2014 at 1:45 AM

I'll think about it :) I'm so short on time currently ;(

But thanks for the offer.

Btw, for python there is PIL, and merging different images into one can be done with less than 10 lines of code, thats excellent.


aldebaran40 ( ) posted Wed, 11 June 2014 at 4:20 PM

Quote - I made a python script to merge the different texture maps into one and offset the UVs in the .obj  of the different matzones accordingly. Didn't have time to verify if it works in Poser yet, however ;)

I hope the single-map-mode makes life easier when modifying the figure in external applications like zbrush. If successful I'll post the script

 

I will wait anxious


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.