Hi,
it throws an error: Runtime Error 188 - Array does not exists or array subscipts out of bounds at line 660
I tried to convert a simple one sided square, made with sketchup.
It creates an .ago file, but it can't finish as you can see:
Object{ Position{0,0,0} RotationQuat{1,0,0,0} VertexCount{4} AttribCount{3}
VertexAttrib{ Name{"position"} Type{"Float"} Components{3}
Data
{
0.20000000298,0,-0
,0.20000000298,0.20000000298,-0
,0,0.20000000298,-0
,0,0,-0
}
}
VertexAttrib{ Name{"normal"} Type{Float} Components{3}
Data
{
0,0,1
[Offtopic]I need a one sided square for my long time project. (world is made out of voxel's)
The build in agk palanes are double sided and so eat double the pervormance.
I thought I knew how to create objects for OpenGl but it doesn't work somehow:
Object{
Position{0,0,0}
RotationQuat{1,0,0,0}
VertexCount{4}
AttribCount{3}
VertexAttrib{ Name{"position"} Type{"Float"} Components{3}
Data{
-0.500,-0.500,0.000
,0.500,-0.500,0.000
,-0.500,0.500,0.000
,0.500,0.500,0.000
}
}
VertexAttrib{ Name{"normal"} Type{"Float"} Components{3}
Data{
0.000,0.000,-1.000
,0.000,0.000,-1.000
,0.000,0.000,-1.000
,0.000,0.000,-1.000
}
}
VertexAttrib{ Name{"uv"} Type{"Float"} Components{2}
Data{
0.000,1.000
,0.000,0.000
,1.000,1.000
,1.000,0.000
}
IndexCount{6}
Indices{
0,1,2,2,1,3
}
Texture{ Stage{0} Filename{"grid.png"}}
}
}
[/Offtopic]