GL3, Understanding examples patches
Hello guys,
I'm trying to understand the first patch "Mesh Instances"
I'm kinda sure this is a super basic question, anyways:
I see a lot of spheres, and I want to change them to be cubes, when I change the @shape attribute to "cubes" in jit.gl.gridshape object , there's still spheres and not cubes.
So, can anyone help to understand, or how can I start studying this patch, please?
Ideally I would like the spheres to be cubes or even a jit.gl.text and see fonts floating there. Would be that possible?
Thanks you guys,
G.
I think you just need to bang the gridshape object to output the new matrix telling the mesh to draw cubes, or whatever you want.
Thanks, Dante. I did, but it does not work in my computer