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

how to render particles #1

Open
practisedaybyday opened this issue Dec 27, 2018 · 2 comments
Open

how to render particles #1

practisedaybyday opened this issue Dec 27, 2018 · 2 comments

Comments

@practisedaybyday
Copy link

@Mathiasb17
could you tell me how to get the realistic outputs like that shown on youtube?

@Mathiasb17
Copy link
Owner

Mathiasb17 commented Jan 4, 2019

@practisedaybyday Ofc, For each frame i use the current set of particles to compute the isosurface with OpenVDB (or whatever isosurface extraction you want, e.g. marching cubes). You can get both the isosurface and its triangle mesh with OpenVDB.

Once you get the triangle triangle mesh, you can save it as a .obj and render it with a realistic renderer such as Mitsuba, which is the one i used.

Edit : i'm not quite sure of which video you are talking about, so if what you need if to render each particle as a sphere, you can use the OpenGL shader written in this repo ! :-)

@Mathiasb17
Copy link
Owner

If you need further help or detail on this i'd be glad to help.

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