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 generate a mesh with external datas ? #119

Closed
gregja opened this issue May 13, 2020 · 1 comment
Closed

how to generate a mesh with external datas ? #119

gregja opened this issue May 13, 2020 · 1 comment

Comments

@gregja
Copy link

gregja commented May 13, 2020

Hi @pissang,
I hope that you're in good health.
Thank's a lot for ClayGL which is a really cool project.
This is a question, not an issue :
Is it possible to generate a mesh by injecting an array of vertices and an array of edges generated outside of ClayGL ?
The idea would be to inject some datas in a component closed to the ParametricSurface, for example. By this way, I could reuse some components I wrote for other WebGL experiments, and which are "framework agnostic". I didn't find an example on that principle in the project.
Take care,
Greg

@gregja
Copy link
Author

gregja commented May 14, 2020

Hi,
I found a solution to solve my problem, with this exemple of cx20 :
https://cx20.github.io/jsdo.it-archives/cx20/gltS/
Thank's

@gregja gregja closed this as completed May 14, 2020
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

1 participant