flickering 3D object in patch ...

Per's icon

Hi!

Im using jit.p.shiva and jit.p.vishnu to create a cascade of 3D objects as in the patch below. The patch works fine except that sometimes one of the 3D object, in this case the Duck is flickering in the center of the jit.window. It just appears for a microsecond and dissapears again.

How can I get rid of this bug?

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

thanks

Rob Ramirez's icon

i think the flickering is when particles are reset back to the origin.
you can get rid of that by filtering particle positions that are 0 0 0.

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

you should also set @automatic 0 on the jit.gl.model.

ćwiek's icon
Max Patch
Copy patch and select New From Clipboard in Max.
ćwiek's icon

oh, i didnt see your answer robert. anyway another solution :)

Per's icon

thanks both of you. now it works

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

maybe stupid question but sometimes Im confused by the matrix object. Why do I need [jit.matrix points1] connected to input of the [jit.p.vishnu ] and output of the [jit.p.vishnu]