SCIInstitute / dSpaceX

dSpaceX Visualization Library and Tool
5 stars 2 forks source link

Render 3D Meshes #77

Open kylinmb opened 4 years ago

kylinmb commented 4 years ago

We can either use vtk js to render vtk images using javascript. Another possibility is using WebGl and the Three.js library. Investigate both and implement one; want to visualize the 3D meshes in dSpaceX.

https://kitware.github.io/vtk-js/index.html - One advantage is we can get distances between surfaces using vtk filters. This seems like the group preference already.

In the gallery view, if you manipulate one mesh all meshes manipulate so you are looking at them all from the same perspective.

Graph embedding thumbnails. How will these be generated and displayed?

https://threejs.org/examples/?q=vtk#webgl_loader_vtk

kylinmb commented 4 years ago

We discussed this in more detail today.

We can start with the Nanoparticles data. We need to use the .mat files and convert them to .vtk. Shireen will provide example code. Next, use a separate viewer to verify these are correct. Note that we will have to use PCA to build interpolation piece for meshes.