Jump to content
  • Advertisement
Sign in to follow this  

Baraff Cloth (u, v) values

This topic is 4434 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Are the (u,v) values in the functions that define the energy constraints the paper simply the texture coordinates of the mesh? If not how - would I compute them for an unstretched planar mesh? Regards, -Dirk

Share this post


Link to post
Share on other sites
Advertisement
As he says in the paper (Large Steps in Cloth Simulation) the (u,v) values would make good texture coordinates, though you can't just apply any arbitrary texture coords and expect to get good energy conditions.

If you have a sheet mesh in the xy-plane, say, the (u,v) values for each vertex should be the (x,y) values (you could normalize these, though you could achieve the same effect by scaling the k value).

John Edwards

[Edited by - PistachioPro on April 1, 2006 2:16:03 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!