princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.14k stars 430 forks source link

Creatures: code to export new nurbs creature bodies #238

Closed hdoi5324 closed 1 month ago

hdoi5324 commented 1 month ago

Describe the feature you would like to see implemented

I would like to create new nurbs body file similar to body_fish_puffer.npy. I have updated an existing nurbs body in Blender but I'm not sure how to export the nurbs data into the npy file that the creature code uses. I looked at the code in creature_parser->parse_part but I'm not sure whether I should be saving the handles or the profiles_ns. Thanks for your help.

araistrick commented 1 month ago

Hi, sorry this wasn't released, I thought it was part of parse_part but it was actually an extra little script. Ive pushed it on the f_creature_parser branch.

hdoi5324 commented 1 month ago

Thanks for the quick response!