points texture with .gl.texture bug?

wk's icon

hello,

for some reason textures made with .gl.texture doesnt work when drawing
matrix
using points with point_sprite attribute on,
the same texture declared in .gl.render works,

below example patch,

best,
wojciech

Max Patch
Copy patch and select New From Clipboard in Max.

Joshua Kit Clayton's icon

I might suggest you try turning off rectangular textures (i.e.
@rectangle 0). This will use power of two textures, which might be
required for point sprites on your HW. This difference in rectangular
vs power of two textures is the big difference between the default
jit.gl.render textures (for legacy purposes), and the default
jit.gl.texture.

Let us know if that doesn't solve your problems and we can look into
your patch further.

-Joshua

wk's icon

thanks joshua,

it helped indeed,

best,
wojciech