Outerra forum
Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: Ozybolairy on June 01, 2013, 05:45:33 am
-
I hope someone can help me here. I have created a model in sketchup and alligned the textures which are photo based jpegs. I then export as a .dae file and followed someone else's advice on converting the textures to .dds and renaming in the .dae file. When I import into outerra, the model is imported, but the textures are random colours. The same happens for any model imported from sketchup. Any idea what i'm doing wrong? I'm new to all this so any advice would be appreciated.
-
Can you post the matlib file here and also what types of DDS textures you used? From the wiki:
- diffuse has to be DXT1 format
- normal map has to be 3Dc/ATI2 format
- opacity map has to be ATI1 format
- roughness map has to be ATI1 format
- material reflectance map has to be ATI1 format
-
can you post a link to the sketchup file? Will take a look.
-
Actually there are two possibilities:
1.) Sketchup doesnt create a valid uv-map
2.) There is something broken with the normals
I dont know what happens if the textures were exported in the false format. Maybe this also could be a reason.
-
Matlib as follows:
[
{
"name" : "ID59",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_11.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID540",
"diffuse" : "227,225,222,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID643",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_5.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID193",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_8.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID672",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_22.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID928",
"diffuse" : "226,226,226,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID630",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_4.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID791",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_10.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID560",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_9_0.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID20",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_14.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID804",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_3.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID891",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID119",
"diffuse" : "58,58,58,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID841",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_2.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID366",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_18.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID870",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_23.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID80",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_15.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID106",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_12.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID551",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_9.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID33",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_16.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID7",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_19.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID93",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_17.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID617",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_1.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID127",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_21.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID46",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_13.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
},
{
"name" : "ID140",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "127",
"tex_diffuse" : "Material_20.dds",
"tex_normal" : "",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
}]
-
link to materials
https://www.box.com/s/wf8gs2xt3krbj7bih9d1 (https://www.box.com/s/wf8gs2xt3krbj7bih9d1)
link to .dae
https://www.box.com/s/vhhjqv7ii28ffcau9xvp (https://www.box.com/s/vhhjqv7ii28ffcau9xvp)
-
It sure look messed up. Can you link the sketchup file?
-
sketchup file:
https://www.box.com/s/io23sns65am4a6p7x3rt (https://www.box.com/s/io23sns65am4a6p7x3rt)
-
I checked the .skp file and couple of things
- you need to make all components unique otherwise texture and colors will be messed up
- when saving textures in dds, the size need to be in multiple of 4 ie. 292x 336 (291X 335 wont work)
Also you dont need to edit the .dae file to change jpg for dds (found this out lately) the outerra import will change these automaticly.
Will post soon a link to the imported tower. Takes a while for google drive to make files available.
-
brilliant, thanks for your help on this!
-
ok, i'm still lost.
multiples of 4! how am I supposed to do that? I tried with 1 texture and it didn't work. Did you have any luck with looking at the sketchup file M7?
-
I use photoshop/ image /image size/ then you have to uncheck contrain proportion and edit width and height in pixels. You probably could do the same with some free software, i just never used any.
Google drive is taking forever to make it available so here's the another link.
http://www.mediafire.com/download/hbyocya1pyxzxo8/keep2.zip (http://www.mediafire.com/download/hbyocya1pyxzxo8/keep2.zip)
-
I have a similar problem. I downloaded a sketchup model (http://sketchup.google.com/3dwarehouse/details?mid=60dd9760386d174c33b5d2ccaa5dfaec&prevstart=0 (http://sketchup.google.com/3dwarehouse/details?mid=60dd9760386d174c33b5d2ccaa5dfaec&prevstart=0)), and saved it as .dae
As a result a get a folder full of .jpg textures, most which are not divisable by 4.
In photoshop do I just want to stretch the canvas, or also the image?
If I just stretch the canvas, which side do I align the image to? Top left?
-
Dont stretch the canvas, just the image.
-
But surly if I do that it won't fit perfectly onto the model anymore?
-
Sketchup models usually dont have precise textures and they are tile textures, so 2 or 3 pixels streched in any direction wont be noticable ingame.
-
I like taking pictures of buildings and turning them into 3D models. Although hopefully the engine will be able to do this with black magic.