Jump to content
Sign in to follow this  
Törni

O2 Mapping

Recommended Posts

I understand that it would be most efficient to place all textures on a single large map, but...

I have a 19" monitor and it gets next to impossible to map small details with background mapping method since if I zoom close I cannot get the map large enough. If I zoom out the model part is so small that the map will not go to a correct place.

Any help much appreciated. Or then I will have to go with lots of separate textures. I cannot get the O2 unwrapping to work.

Share this post


Link to post
Share on other sites

From what I've seen O2 isn't the best unwrapping tool. You can try doing the p3d to ms3d convert and unwrap it in LithUnwrap which is a pretty good tool for being free. Then you can export it to 3ds and import it into O2. But you'll have to eliminate all other texture maps in O2 otherwise you'll have a broken up model in lithunwrap.

Share this post


Link to post
Share on other sites

Sounds like really nice way of mapping. I'll try it, but if it gets too complicated I'll go with separate maps. Untill the new version of the modeling software is out.

Share this post


Link to post
Share on other sites

hi törni,

you know the merge textures function of o2 and pan tool?

pan tool can generate a merged texture and a script wich can be executed in o2 to change the mapping from all individual textures to the new merged one. so you do your mapping with the small ones and later change them to the merged one without visually opening the big merged texture.

i can give you more information about that if needed (in german).

Share this post


Link to post
Share on other sites

hello all

i have tested lithunwrap when i saw this topic. i can open models with lithunwrap, change the order of the uv map but how can i apply it to my o2 model ? i havent understand Scars09 solution :S is it possible to have more explanations ? (it's very important, i have around 4 to 8 texture per models and i have around 40 models confused_o.gif , so it's hard crazy_o.gif )

thanks for future help smile_o.gif

Share this post


Link to post
Share on other sites

merging textures is a method to get many small textures to one big. you texture in o2 with the small ones. when you done, you open up pantool "file\new merged texture".

you will get a new, empty 2048x2048 texture. you the can drag and drop all your small textures in the new big one and place them to fit in as many as possible. then you save the merged texture. this will not only generate the texture but also a skriptfile.

this file contains the textures use and where they are placed in the merged one. then you open up o2 again and execute the script with "surface\merge textures". this has to be done for any textured lod´s of the model.

heres an example

con1.jpg

6 small textures that were used one after another with backround mapping, merged to a single 512x512 texture (possible

up to 2048x2048 with pantool)

Quote[/b] ]class inftexmerge {

class gunb {

class items {

class item00000 {

x=0.000000;

y=0.000000;

w=512.000000;

h=512.000000;

scale=0.000000;

name="sc9_Egunb\connew.paa";

angle=0.000000;

};

class item00001 {

x=0.000000;

y=768.000000;

w=256.000000;

h=256.000000;

scale=0.000000;

name="sc9_Egunb\controls.pac";

angle=0.000000;

};

class item00002 {

x=256.000000;

y=768.000000;

w=256.000000;

h=256.000000;

scale=0.000000;

name="sc9_Egunb\controls1.paa";

angle=0.000000;

};

class item00003 {

x=0.000000;

y=512.000000;

w=512.000000;

h=256.000000;

scale=0.000000;

name="sc9_Egunb\controls2.paa";

angle=0.000000;

};

class item00004 {

x=512.000000;

y=0.000000;

w=512.000000;

h=512.000000;

scale=0.000000;

name="sc9_Egunb\controls3.paa";

angle=0.000000;

};

class item00005 {

x=512.000000;

y=512.000000;

w=512.000000;

h=512.000000;

scale=0.000000;

name="sc9_Egunb\tv.paa";

angle=0.000000;

};

};

w=1024.000000;

h=1024.000000;

alpha=0.000000;

file="sc9_Egunb\con1.paa";

models[]=

{

"sc9_Egunb\gunb.p3d"

};

mergedpath="h:\";

};

};

that was the skript generated by pantool (dont look on the sizes, script was used with textures twice as big as shown in the picture)

merged single textures dont perform as good as merged unwrapped textures, but better the all the single textures as a single files.

Share this post


Link to post
Share on other sites
Quote[/b] ]pan tool can generate a merged texture and a script wich can be executed in o2 to change the mapping from all individual textures to the new merged one

Pan tool? How do you execute scripts with O2? Have to take a new closer look at O2. I'm mostly using GateBuilder atm.

Share this post


Link to post
Share on other sites

any working link for pantool ? banghead.gif does it need another program to run ? because i found a "pantool102.zip" but it matlab to run sad_o.gifhuh.gif

so help ^^

Share this post


Link to post
Share on other sites

very big thanks smile_o.gif

edit : i just take a quick test... before executing the script, all works but when script is executed, there is no change in my model... there is always 5 textures instead of one (the merged texture did not replace the 5 small sad_o.gif )

do i need to delete all texture info before execute script ?

Share this post


Link to post
Share on other sites

no, you dont need to delete them, they just change.

the skript usually needs some tweaking, you have to add the correct path and the model name, just open it with editor and check if everything is ok. this have to be done manually cause pantool didnt know the model or the path, its just a texture tool.

in my example i posted above the modelname was gunb

the mainfolder sc9_egunb on the drive h:\

texturepath in my case was "sc9_egunb\texturename.paa"

modelpath in my case "sc9_egunb\gunb.p3d"

mergedpath="h:\";

the texture often is generated as a tga, use pantool to make a .paa or .pac out of it.

in o2, select all the parts of the model, open up the face properties and check if "allow merging textures" is hooked.

then run the skript. just try around a bit, you will get it to work, im sure.

Share this post


Link to post
Share on other sites

very big thanks to you smile_o.gifsmile_o.gifsmile_o.gifsmile_o.gifsmile_o.gifsmile_o.gif

you make my life more easier wink_o.gif

also another question, how can i have merged texture in 2048x2048 or more ? is pantool limited to 1024x1024 ? i havent found any option to that :'(

Share this post


Link to post
Share on other sites

its like a windows window, get the mouse over the border, press button and drag it. too easy, i know, took me longer to find that out then getting the merging to work wink_o.gif

Share this post


Link to post
Share on other sites

ok biggrin_o.gif i can have 2048x1024 but not 2048x2048, my screen is a little too small (a 19" tft, but too small ^^) tounge2.gif

Share this post


Link to post
Share on other sites

whistle.gif

i was 100% sure it was 2048x2048, but i tried and i also only can get 2048x1024, im getting old  goodnight.gif

Share this post


Link to post
Share on other sites

Well thank you very very much. Helps to clean up texture chaos and in making specular and normal maps. smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×