Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] access to simulation parameters via *.json #25

Closed
PavelBlend opened this issue Jan 22, 2019 · 5 comments
Closed

[Question] access to simulation parameters via *.json #25

PavelBlend opened this issue Jan 22, 2019 · 5 comments

Comments

@PavelBlend
Copy link

Can DynamicBoundaryDemo.exe and StaticBoundaryDemo.exe use the json scenes to get these simulations?:
https://youtu.be/D_nEhix1G-w

Does json have access to all simulation parameters?
If so, where can I find the full list of parameters?

@janbender
Copy link
Member

Yes. The simulations were actually performed using SPlisHSPlasH. The json parameters are generated by generic parameters, so you have access to all relevant parameters. However, a complete list of the parameters is still missing. But we plan to write some documentation about the parameters soon.

You can take a look at the scene CoilingModel_Weiler2018.json which uses the same parameters.

@PavelBlend
Copy link
Author

PavelBlend commented Jan 22, 2019

How to make the emitter move? As it:
https://youtu.be/D_nEhix1G-w?t=61

@janbender
Copy link
Member

This was hard-coded. There is no scene parameter for that yet.

@PavelBlend
Copy link
Author

PavelBlend commented Jan 25, 2019

Are you planning to add access to all simulation parameters via json in the future (including transformation collider and emitters)? And the ability to animate any parameters of the simulation (viscosity, density, etc.).

I wanted to write an export from blender to json so that I could use a bunch of blender and SplishSplash. And I need the ability to animate everything.

@janbender
Copy link
Member

All simulation parameters are accessible via json. The simulation methods use our GenericParameters. Each time a parameter is added it is automatically also added to the json scene importer.

The animation of parameters would be a nice feature but requires some work.

I just started to write a bit documentation about the scene files and a list of the parameters. It will be soon online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants