problem with slab …

Aug 5, 2012 at 6:20pm

problem with slab …

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?

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

– Pasted Max Patch, click to expand. –

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:

– Pasted Max Patch, click to expand. –

any hint???

thanks

#63867
Aug 6, 2012 at 7:43pm

you should use jit.gl.node for capturing.

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

– Pasted Max Patch, click to expand. –
#230310
Aug 8, 2012 at 3:08pm

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

#230311
Aug 8, 2012 at 5:35pm

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)

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

– Pasted Max Patch, click to expand. –
#230312
Sep 2, 2012 at 11:17pm

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

https://dl.dropbox.com/u/1276843/Maxx.jpg

i run win7 x64 and Max6.0.5

#230313

You must be logged in to reply to this topic.