You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! For the XYZ format option splashsurf expects a binary dump of an array of f32 values, i.e. the raw memory representation of the f32 values, not any ASCII representation (See https://github.com/InteractiveComputerGraphics/splashsurf?tab=readme-ov-file#xyz).
As there are many ways to write particle coordinates as a text file, there is no option for this yet. Maybe it would make sense to add an option for importing CSV files, where values could be separated by comma, semicolon or whitespace.
In the meantime, maybe you can try to format your particle positions as a JSON file instead, like shown here: https://github.com/InteractiveComputerGraphics/splashsurf?tab=readme-ov-file#json?
Thanks for your help. I can obtain the right result using json format. Adding an option for importing CSV file will be very useful, as the speed of saving CSV is much higher than saving json from a numpy array.
Hi,
I try to load a point set in XYZ format, while the splashsurf shows wrong particle number, is there anything wrong?
The commond I run:
Here is the test.xyz, just including the coordinates. I am not sure if it is the right format.
The output shows there are 58 particles, while it is 32.
The text was updated successfully, but these errors were encountered: