Forums > Jitter

sphere distortion

September 28, 2010 | 12:27 pm

I’m trying to animate a sphere through jit.bfg or jit.catch~
I’m using gridshape @shape sphere and matrixoutput 1.
I then multiply the geometry using jit.op, but I can’t figure out how to make sure that the sphere remains closed. I thought of starting with a plane geometry and deforming it into a speher, but I have no clue what math is involved, can somebody enlighten me?

in attachement there is a small patch demonstrating my issue

best

pieter


September 28, 2010 | 5:18 pm

Hi
Maybe using a jit.gl.nurbs with the attribute "closed 1 1", instead of a jit.gl.mesh could be an option?

– Pasted Max Patch, click to expand. –

September 29, 2010 | 4:39 am

@ Beatriz,
thx for the pointer, however when playing with transparency on the nurb there is a type of wormhole spreading through the shape so that’s not ideal either.

so I guess I’m really looking for some equation to help me out.

best

pieter


September 30, 2010 | 5:30 am

i’ve no idea how you are going to keep your sphere closed, but i made a few mods to your patch that may possibly help you out.

– Pasted Max Patch, click to expand. –

Viewing 4 posts - 1 through 4 (of 4 total)