NVIDIA / warp

A Python framework for high performance GPU simulation and graphics
https://nvidia.github.io/warp/
Other
4.24k stars 241 forks source link

Material optimization #193

Open honglin-c opened 8 months ago

honglin-c commented 8 months ago

Hello! I'm trying to use Warp to do some material optimization experiments. Is there a way to make sure the material is uniform? Also, is there an example for optimizing the k_mu and k_lambda parameters of a tetmesh?

I tried computing the gradient of self.model.tet_materials but all its entries are very close to zero. I am also not sure how I can make the material uniform (e.g., make sure k_mu and k_lambda are the same for every tetrahedron) and then optimize the material parameters.

Thanks!! :)

eric-heiden commented 8 months ago

Hi Honglin,

Thank you for the question, this would be a great example for differentiable simulation in Warp. We are preparing a material optimization demo in Warp right now and will have it released very soon!

Thanks, Eric

honglin-c commented 8 months ago

Hi Eric,

Thank you soooo much for that! Please let me know when it's online. :)

Best, Honglin

rrzhang139 commented 2 days ago

Hi! Curious about any updates for this demo? Thanks!