problem with slab ...

Per's icon

Hi!

I would like to create a tail with slab on the red dots spread by jit.p.shiva by sending it to texture but cant succeed.

any hint?

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

heres my original patch where I want to create tails and blur the red dots:

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

Heres my try by sending it to achieve this by sending it to texture and apply slab.gauss6x but then it doesnt display all the spheres any more:

any hint???

thanks

Rob Ramirez's icon

you should use jit.gl.node for capturing.

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

also, jit.gl.mesh @draw_mode points will be *much* more efficient for this kind of thing:

Per's icon

thanks!

Im always confused about jit.gl.mesh how it calculates the mesh?
are there any further reading about this objects somewhere to recommend?

two further questions though:
1) any way of getting rid of the transparent edges that seems to surround the circular objects created by jit.gl.mesh? (you can see them if you turn jit.gl.slab.gauss6x to 0
2) it seems to the biggest pointsize is around 50 or something like that. what if I want even bigger circles?

thanks
p

Rob Ramirez's icon

jit.gl.mesh just uses the standard opengl drawing methods (set by the @draw_mode attribute)
search the forum or the web for more info on these.
in the above example, it's simply drawing a point for every vertex you pass in (ie, every cell of the matrix input, or every particle)

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

if this doesn't give you enough flexibility, you can instead draw with jit.gl.multiple and jit.gl.gridshape:

FineCutBodies's icon

Yo Robert! Why i get this amount of error messages if i paste your patch from the clipboard?

i run win7 x64 and Max6.0.5