Ive been working over a few concepts of creating 3d levels on the fly
Im storing the data in arrays Map(10,10) and then using this data to draw quads at marked positions and checking if its a corner,wall,end and what the faceing or the quads should be
the problem is in the array what i want is the wall to only contain 6 quads
I could use a scale cube 4,1,1 and add it to the mesh
but the will cause the tris to overlap in the below array
basically this will look like a tetris peace with 18 polys
any ideas how I could improve this
Im storing the data in arrays Map(10,10) and then using this data to draw quads at marked positions and checking if its a corner,wall,end and what the faceing or the quads should be
the problem is in the array what i want is the wall to only contain 6 quads
data 0,0,0,0,0,0,0,0,0,0 data 0,1,1,1,1,0,0,0,0,0 data 0,0,0,0,0,0,0,0,0,0 ect
I could use a scale cube 4,1,1 and add it to the mesh
but the will cause the tris to overlap in the below array
data 0,0,0,0,0,0,0,0,0,0 data 0,0,0,1,0,0,0,0,0,0 data 0,0,0,1,0,0,0,0,0,0 data 0,0,0,1,0,0,0,0,0,0 data 0,0,0,1,1,0,0,0,0,0 data 0,0,0,0,0,0,0,0,0,0 data 0,0,0,0,0,0,0,0,0,0 ect
basically this will look like a tetris peace with 18 polys
any ideas how I could improve this