jeromeetienne / tquery

extension system for three.js
http://jeromeetienne.github.io/tquery/
MIT License
652 stars 120 forks source link

Animate shape change #297

Closed internalsystemerror closed 11 years ago

internalsystemerror commented 11 years ago

Is there a way in tQuery to morph a sphere into a plane? Or to at least make the three.js bit easier?

jeromeetienne commented 11 years ago

maybe you can look at tquery.vertexanimation

https://github.com/jeromeetienne/tquery/blob/master/plugins/vertexanimation/examples/index.html

jeromeetienne commented 11 years ago

or simply sphere.scale.y = 0 :)

internalsystemerror commented 11 years ago

Would that result in a circle? I'm interested in getting a globe to unwrap to become a flat map. I know I have to manipulate the geometry vertices, but I was hoping there was something in tQuery that I'm missing which would make it easier.

jeromeetienne commented 11 years ago

morphing this way.. interesting idea. no unfortunatly no pluign allow that. i would gladly accept one tho :)