sphere distortion
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
Hi
Maybe using a jit.gl.nurbs with the attribute "closed 1 1", instead of a jit.gl.mesh could be an option?
@ 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
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.