04-14-2015, 01:19 AM
hey @RTB, I found a typo in your code 
found it while converting it to UMC-script
what's wrong?
look at UV3_array

Code:
-- stupid pre l-strip
for x = 1 to VertexAmount_array[z] do(
colorr = readbyte m #unsigned
colorg = readbyte m #unsigned
colorb = readbyte m #unsigned
colora = readbyte m #unsigned
tu = (readBEHalfFloat m) * 2
tv = (((readBEHalfFloat m) * 2) * -1) + 1
tu2 = (readBEHalfFloat m) * 2
tv2 = (((readBEHalfFloat m) * 2) * -1) + 1
tu3 = (readBEHalfFloat m) * 2
tv3 = (((readBEHalfFloat m) * 2) * -1) + 1
append UV_array[tu, tv, 0]
append UV2_array[tu2, tv2, 0]
append UV3_array[tu2, tv2, 0]
append Color_Array[colorr,colorg,colorb]
append Alpha_Array colora
)
found it while converting it to UMC-script

Code:
# stupid pre l-strip
for x in range(VertexAmount_array[z]):
colorr, colorg, colorb, colora = u8(['','','','']) # don't need big=big
tu = f16(big=big) * 2
tv = ((f16(big=big) * 2) * -1) + 1
tu2 = f16(big=big) * 2
tv2 = ((f16(big=big) * 2) * -1) + 1
tu3 = f16(big=big) * 2
tv3 = ((f16(big=big) * 2) * -1) + 1
UV_array.append([tu, tv, 0])
UV2_array.append([tu2, tv2, 0])
UV3_array.append([tu3, tv3, 0])
Color_Array.append([colorr,colorg,colorb])
Alpha_Array.append(colora)
what's wrong?
look at UV3_array
