You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mantaflow Forum
Hi,
Is there any example python script which shows how the grid scalar and vector values can be written out e.g. in OpenVDB format ?
Cheers
Jorge Rodríguez
unread,
Jul 28, 2018, 11:16:39 PM7/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mantaflow Forum
I don´t know about the OpenVDB format, but you can save any RealGrid or MACGrid with the save method.
e.g.
vel.save(path + name + .txt)
Nils Thuerey
unread,
Jul 29, 2018, 8:31:44 AM7/29/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mantaflow Forum
Mantaflow determines the filetype from the extension. So if you compiled with OpenVDB (you can enable it in cmake), saving with ".vdb" extension should directly give you an OpenVDB file.