• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is it possible to change the positions in a MorphingMesh?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to fetch the current positions from a MorphingMesh, then sort them and then put them back into the MorphingMesh. Is this possible? I can't find any suitable get or set method for this.

When I say "current positions", I mean those that are the result of the morph calculation. My animation morphs between 20 different galaxy shapes.

I put the original galaxy shapes positions in the VertexArray[] morphedPositions. These are then put into the VertexBuffer[] morphedVertices, which are put into MorphingMesh. The AnimationTrack then uses this and the weights to calculate the current positions.
 
reply
    Bookmark Topic Watch Topic
  • New Topic