need help with jit.gl.model
Hello, I have a problem with jit.gl.model.
I created a gpu particle system which work with jit.gl.pix and jit.gl.texture to process coordinates and they are sent to jit.gl.mesh via jit.gl.shader.
I would like to inject in the system some models (.dae) I created with blender, just inject their coordinates.
My plan do that is outputing coordinates of jit.gl.model with matrixoutput 1 and put is in a jit.gl.texture. And here start problems.
- First, jit.gl.model output a one dimension matrix, and I need to put it in a jit.gl.texture @dim 1000 1000.
But I think I found a solution in this thread
( https://cycling74.com/forums/tex-1x25-to-tex-5x5)
- Second problem, my model have a lot of points, something like 500 000 points so it output a 500 000 one dimension matrix . And max crash when I connect that to jit.gl.texture...
Well I hope this is enough clear, to summarize what I want is to put the coordinates of my big model inside a jit.gl.texture.
Maybe there is a trick, like use another format for the model which can output a 2dmatrix?
Maybe I need to change my strategy, I don't know, do you have advices?
Thank you very much :)
Guillaume
i would just use jit.scanwrap:
yes... this is the solution. Thank you Rob :)