MiniB3D Thread 2

BlitzMax Modules Forums/MiniB3D/MiniB3D Thread 2

Hmm, it could be a problem somewhere else as well then, because it looks like brushes exported from B3D pipeline define the number of texture layers as 8 which means in the line:

For Local ix=0 To tex_count

the variable 'ix' attempts to loop through 9 texture layers.

The LoadAnimB3D function uses the following line:

For Local ix=0 To b_no_texs-1

to loop through and assign texture indices to the brush so I'm not really sure where it's going wrong, but I'll have another poke and see what I find.