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

Create API for visualization engines #17

Open
ricortiz opened this issue Aug 18, 2020 · 3 comments
Open

Create API for visualization engines #17

ricortiz opened this issue Aug 18, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@ricortiz
Copy link
Collaborator

It would be great if OT can plug to other visualization libraries like VTK, glfw, OSG, etc...

This will require some architecting.

@ricortiz ricortiz added the enhancement New feature or request label Aug 18, 2020
@erleben
Copy link
Owner

erleben commented Aug 20, 2020

In PROX we replaced GLUT with Qt, Cg with GLSL

https://github.com/diku-dk/PROX

I guess much of this C++ code can be ported into OT? PROX is a descendant of OT.

We played with moving this stuff into python, in the

https://github.com/erleben/pyREES/

The idea was to take all UI stuff out of the library and move it to python. That also included the XML parsing. There is a fun feature in this little code, that allows one to script procedural generated content in XML files using embedded phyton code. There is no real simulation in pyREES, it is more a UI tech study.

More recently we went for Jupyter and pyThree.js as the front-end UI. This is pretty flexible but would require OT to make python wrappers. This was done in libisl (another descendant of OT).

To be honest, the least invasive choice for a first step seems to be GLFW to replace GLUT, which would make fewer changes to OT code.

@ricortiz
Copy link
Collaborator Author

@erleben One thing that comes to mind is that PROX has a different license MIT?, they are compatible licenses but how are you going to deal with that?

@erleben
Copy link
Owner

erleben commented Aug 20, 2020

@ricortiz I got no clue:-)

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

No branches or pull requests

2 participants