so paul....
i came up with this exported from my obj file but it doesnt seem to load into agk.
Object{ Position{0,0,0} RotationQuat{1,0,0,0} VertexCount{24} AttribCount{3}
VertexAttrib{ Name{"position"} Type{Float} Components{3}
Data
{
-2.380,-45.238,-2.380
,-2.380,-45.238,2.380
,2.380,-45.238,2.380
,2.380,-45.238,-2.380
,-2.380,-50,-2.380
,-2.380,-50,2.380
,2.380,-50,2.380
,2.380,-50,-2.380
,-2.380,-45.238,2.380
,2.380,-45.238,2.380
,-2.380,-50,2.380
,2.380,-50,2.380
,-2.380,-45.238,-2.380
,2.380,-45.238,-2.380
,-2.380,-50,-2.380
,2.380,-50,-2.380
,2.380,-50,-2.380
,2.380,-45.238,-2.380
,2.380,-50,2.380
,2.380,-45.238,2.380
,-2.380,-50,-2.380
,-2.380,-45.238,-2.380
,-2.380,-50,2.380
,-2.380,-45.238,2.380
}
}
VertexAttrib{ Name{"normal"} Type{Float} Components{3}
Data
{
0,1.5,0
,0,1.5,0
,0,1.5,0
,0,1.5,0
,0,-1.5,0
,0,-1.5,0
,0,-1.5,0
,0,-1.5,0
,0,0,1.5
,0,0,1.5
,0,0,1.5
,0,0,1.5
,0,0,-1.5
,0,0,-1.5
,0,0,-1.5
,0,0,-1.5
,1.5,0,0
,1.5,0,0
,1.5,0,0
,1.5,0,0
,-1.5,0,0
,-1.5,0,0
,-1.5,0,0
,-1.5,0,0
}
}
VertexAttrib{ Name{"uv"} Type{Float} Components{2}
Data
{
0.418,0.418
,0.418,0.497
,0.497,0.497
,0.497,0.418
,0.418,0.418
,0.418,0.497
,0.497,0.497
,0.497,0.418
,0.497,0.497
,0.418,0.497
,0.497,0.418
,0.418,0.418
,0.418,0.497
,0.497,0.497
,0.418,0.418
,0.497,0.418
,0.418,0.497
,0.418,0.418
,0.497,0.497
,0.497,0.418
,0.497,0.418
,0.497,0.497
,0.418,0.418
,0.418,0.497
}
}
IndexCount{36}
Indices
{
1,2,3
,1,3,4
,5,7,6
,5,8,7
,9,12,10
,9,11,12
,13,14,16
,13,16,15
,17,18,19
,18,20,19
,23,24,22
,23,22,21
}
Texture{ Stage{0} Filename{"grid.png"}}
}
i dont know if you can spot any errors in that but its suppose to be a small box shape.
any ideas? is it suppose to be tab delimited er something?
www.sheldonscreations.com