I made the 3D scene with cartshop4 and exported it in x format...it makes 2 files... regular.x file and regular_lm.x file...one holds the objects while the other one im supposedly supposed to hold the light mapping coordinates.....but DBPro wont load the regular_lm.x file..DBPro says it Could not load 3D object...
Therefore how am i supposed to ghost the regular_lm.x file onto the regular.x file if it cannot even load...whats going wrong with it? grrr here are the codes i use so you can see...its my main program code....without the regular_lm.x trying to be loaded....and the source code of the regular_lm.x file that i cannot load...i can never load the light mapped files onto DBPro to ghost them onto the regular one..
im sad... ahah..so check them out and tell me what you think or some advice or solutions....id be eternally grateful...thank you.
DBPro program code
sync
load music "music\m.mp3",4
play music 4
fog on
fog distance 5000
fog color rgb (0,0,0)
make camera 1
set camera range 1,100,5000
set camera fov 1,50
load image "textures\sky2.bmp",3,0
make object sphere 2,8000
position object 2,-32,129,-800
set object cull 2,0
texture object 2,3
load object "objects\city.x",1
set ambient light 100
color backdrop 1,0
position camera 1,-32,128,-736
rotate camera 1,0,500,0
while mouseclick()=0
if upkey()=1 then move camera 1,4 : walk=1
if downkey()=1 then move camera 1,-4 : walk=1
if leftkey()=1 then yrotate camera 1,wrapvalue(camera angle y(1)-2) : walk=1
if rightkey()=1 then yrotate camera 1,wrapvalue(camera angle y(1)+2) : walk=1
if controlkey()=1 and grab=0 and pushslider>0 then grab=1 : grabseq=1 : change=0
endwhile
And the light mapped.x file... the one i cant load! i can never load any of them to ghost onto the regular.x file.
help! ahha
xof 0302txt 0032
// This model was made with Cartography Shop
// http://www.leadwerks.com
Header
{
1;
0;
1;
}
Frame World
{
FrameTransformMatrix
{
1.0,0.0,0.0,0.0,
0.0,1.0,0.0,0.0,
0.0,0.0,1.0,0.0,
0.0,0.0,0.0,1.0;;
}
Mesh object1
{
24;
-224.000000;-160.000000;320.000000;,
96.000000;-160.000000;320.000000;,
96.000000;-160.000000;-64.000000;,
-224.000000;-160.000000;-64.000000;,
-224.000000;2112.000000;320.000000;,
96.000000;2112.000000;320.000000;,
96.000000;2112.000000;-64.000000;,
-224.000000;2112.000000;-64.000000;,
-224.000000;-160.000000;320.000000;,
96.000000;-160.000000;320.000000;,
96.000000;2112.000000;320.000000;,
-224.000000;2112.000000;320.000000;,
-224.000000;-160.000000;-64.000000;,
96.000000;-160.000000;-64.000000;,
96.000000;2112.000000;-64.000000;,
-224.000000;2112.000000;-64.000000;,
96.000000;-160.000000;-64.000000;,
96.000000;-160.000000;320.000000;,
96.000000;2112.000000;320.000000;,
96.000000;2112.000000;-64.000000;,
-224.000000;-160.000000;-64.000000;,
-224.000000;-160.000000;320.000000;,
-224.000000;2112.000000;320.000000;,
-224.000000;2112.000000;-64.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object2
{
24;
-2592.000000;-160.000000;3392.000000;,
2848.000000;-160.000000;3392.000000;,
2848.000000;-160.000000;-3616.000000;,
-2592.000000;-160.000000;-3616.000000;,
-2592.000000;-158.000000;3392.000000;,
2848.000000;-158.000000;3392.000000;,
2848.000000;-158.000000;-3616.000000;,
-2592.000000;-158.000000;-3616.000000;,
-2592.000000;-160.000000;3392.000000;,
2848.000000;-160.000000;3392.000000;,
2848.000000;-158.000000;3392.000000;,
-2592.000000;-158.000000;3392.000000;,
-2592.000000;-160.000000;-3616.000000;,
2848.000000;-160.000000;-3616.000000;,
2848.000000;-158.000000;-3616.000000;,
-2592.000000;-158.000000;-3616.000000;,
2848.000000;-160.000000;-3616.000000;,
2848.000000;-160.000000;3392.000000;,
2848.000000;-158.000000;3392.000000;,
2848.000000;-158.000000;-3616.000000;,
-2592.000000;-160.000000;-3616.000000;,
-2592.000000;-160.000000;3392.000000;,
-2592.000000;-158.000000;3392.000000;,
-2592.000000;-158.000000;-3616.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object3
{
24;
-2112.000000;3552.000000;1984.000000;,
-1440.000000;3552.000000;1984.000000;,
-1440.000000;3552.000000;864.000000;,
-2112.000000;3552.000000;864.000000;,
-2112.000000;3904.000000;1984.000000;,
-1440.000000;3904.000000;1984.000000;,
-1440.000000;3904.000000;864.000000;,
-2112.000000;3904.000000;864.000000;,
-2112.000000;3552.000000;1984.000000;,
-1440.000000;3552.000000;1984.000000;,
-1440.000000;3904.000000;1984.000000;,
-2112.000000;3904.000000;1984.000000;,
-2112.000000;3552.000000;864.000000;,
-1440.000000;3552.000000;864.000000;,
-1440.000000;3904.000000;864.000000;,
-2112.000000;3904.000000;864.000000;,
-1440.000000;3552.000000;864.000000;,
-1440.000000;3552.000000;1984.000000;,
-1440.000000;3904.000000;1984.000000;,
-1440.000000;3904.000000;864.000000;,
-2112.000000;3552.000000;864.000000;,
-2112.000000;3552.000000;1984.000000;,
-2112.000000;3904.000000;1984.000000;,
-2112.000000;3904.000000;864.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object4
{
24;
288.000000;-160.000000;-1536.000000;,
2336.000000;-160.000000;-1536.000000;,
2336.000000;-160.000000;-2656.000000;,
288.000000;-160.000000;-2656.000000;,
288.000000;640.000000;-1536.000000;,
2336.000000;640.000000;-1536.000000;,
2336.000000;640.000000;-2656.000000;,
288.000000;640.000000;-2656.000000;,
288.000000;-160.000000;-1536.000000;,
2336.000000;-160.000000;-1536.000000;,
2336.000000;640.000000;-1536.000000;,
288.000000;640.000000;-1536.000000;,
288.000000;-160.000000;-2656.000000;,
2336.000000;-160.000000;-2656.000000;,
2336.000000;640.000000;-2656.000000;,
288.000000;640.000000;-2656.000000;,
2336.000000;-160.000000;-2656.000000;,
2336.000000;-160.000000;-1536.000000;,
2336.000000;640.000000;-1536.000000;,
2336.000000;640.000000;-2656.000000;,
288.000000;-160.000000;-2656.000000;,
288.000000;-160.000000;-1536.000000;,
288.000000;640.000000;-1536.000000;,
288.000000;640.000000;-2656.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object5
{
24;
-224.000000;-160.000000;1440.000000;,
352.000000;-160.000000;1440.000000;,
352.000000;-160.000000;672.000000;,
-224.000000;-160.000000;672.000000;,
-224.000000;1952.000000;1440.000000;,
352.000000;1952.000000;1440.000000;,
352.000000;1952.000000;672.000000;,
-224.000000;1952.000000;672.000000;,
-224.000000;-160.000000;1440.000000;,
352.000000;-160.000000;1440.000000;,
352.000000;1952.000000;1440.000000;,
-224.000000;1952.000000;1440.000000;,
-224.000000;-160.000000;672.000000;,
352.000000;-160.000000;672.000000;,
352.000000;1952.000000;672.000000;,
-224.000000;1952.000000;672.000000;,
352.000000;-160.000000;672.000000;,
352.000000;-160.000000;1440.000000;,
352.000000;1952.000000;1440.000000;,
352.000000;1952.000000;672.000000;,
-224.000000;-160.000000;672.000000;,
-224.000000;-160.000000;1440.000000;,
-224.000000;1952.000000;1440.000000;,
-224.000000;1952.000000;672.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object6
{
24;
-2048.000000;-160.000000;1952.000000;,
-1472.000000;-160.000000;1952.000000;,
-1472.000000;-160.000000;896.000000;,
-2048.000000;-160.000000;896.000000;,
-2048.000000;3776.000000;1952.000000;,
-1472.000000;3776.000000;1952.000000;,
-1472.000000;3776.000000;896.000000;,
-2048.000000;3776.000000;896.000000;,
-2048.000000;-160.000000;1952.000000;,
-1472.000000;-160.000000;1952.000000;,
-1472.000000;3776.000000;1952.000000;,
-2048.000000;3776.000000;1952.000000;,
-2048.000000;-160.000000;896.000000;,
-1472.000000;-160.000000;896.000000;,
-1472.000000;3776.000000;896.000000;,
-2048.000000;3776.000000;896.000000;,
-1472.000000;-160.000000;896.000000;,
-1472.000000;-160.000000;1952.000000;,
-1472.000000;3776.000000;1952.000000;,
-1472.000000;3776.000000;896.000000;,
-2048.000000;-160.000000;896.000000;,
-2048.000000;-160.000000;1952.000000;,
-2048.000000;3776.000000;1952.000000;,
-2048.000000;3776.000000;896.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
Mesh object7
{
24;
992.000000;-192.000000;-1504.000000;,
2336.000000;-192.000000;-1504.000000;,
2336.000000;-192.000000;-1664.000000;,
992.000000;-192.000000;-1664.000000;,
992.000000;672.000000;-1504.000000;,
2336.000000;672.000000;-1504.000000;,
2336.000000;672.000000;-1664.000000;,
992.000000;672.000000;-1664.000000;,
992.000000;-192.000000;-1504.000000;,
2336.000000;-192.000000;-1504.000000;,
2336.000000;672.000000;-1504.000000;,
992.000000;672.000000;-1504.000000;,
992.000000;-192.000000;-1664.000000;,
2336.000000;-192.000000;-1664.000000;,
2336.000000;672.000000;-1664.000000;,
992.000000;672.000000;-1664.000000;,
2336.000000;-192.000000;-1664.000000;,
2336.000000;-192.000000;-1504.000000;,
2336.000000;672.000000;-1504.000000;,
2336.000000;672.000000;-1664.000000;,
992.000000;-192.000000;-1664.000000;,
992.000000;-192.000000;-1504.000000;,
992.000000;672.000000;-1504.000000;,
992.000000;672.000000;-1664.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;,
0.000000;0.000000;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
{ lightmap_0 }
}
}
}