Questions tagged [vtk.js]

VTK.js is the Visualization Toolkit for JavaScript, a rendering library made for Scientific Visualization on the Web. It adapts the VTK structure and expertise to bring high performance rendering into your browser. It is a subset of VTK and provides 3D rendering using WebGL for both geometry and volume rendering.

VTK.js is the Visualization Toolkit for JavaScript, an open-source, freely available software system for 3D computer graphics, image processing, and visualization. Its implementation consists of an ES6 JavaScript class library which can be integrated into any web application. The toolkit leverages WebGL and supports a wide variety of visualization algorithms including scalar, vector, tensor, texture, and volumetric methods.

VTK.js GitHub project

Documentation for getting started.

VTK.js is a subset of VTK, part of Kitware’s collection of commercially supported open-source platforms for software development.

39 questions
7
votes
2 answers

Use vtk.js / glsl files in angular cli app

I try to use vtk.js in my angular cli application and added the vtk.js to my angular-cli.json. ERROR in ./node_modules/vtk.js/Sources/Rendering/OpenGL/glsl/vtkVolumeVS.glsl Module parse failed: Unexpected token (18:10) You may need an appropriate…
daniel
  • 34,281
  • 39
  • 104
  • 158
4
votes
0 answers

VTK.js VR not display/showing an hand controller in Room

I try to use VTK VR, but When I test it, I cant see controller in room, I can get action from controller like press or somthing, but without its seen for user in VR mode, how I can fix it? Online Demo From Here. import…
Anees Hikmat Abu Hmiad
  • 3,460
  • 2
  • 19
  • 36
3
votes
0 answers

WebPack Externals: How is the regex option's dependency "found" for UMD library targets?

WebPack provides a handy way to externalize dependencies. This can be nice if you would like the consuming application to furnish this dependency. In my situation, I am targeting UMD output, and I use the object external syntax for most external…
Daniel Brown
  • 2,942
  • 5
  • 29
  • 41
3
votes
2 answers

VTK.js, React, JavaScript: Load VTK files

I have followed the introduction guide: https://kitware.github.io/vtk-js/docs/develop_requirement.html to install vtk, node and git. I have been trying to integrate into a React aplication, and it outputs: Failed to compile …
Yone
  • 2,064
  • 5
  • 25
  • 56
2
votes
0 answers

How can I use an importmap when some of the js files don't include a valid relative reference symbol(s)?

I'm loading vtk.js from unpkg in a simple index.html file like so: