Kitware / paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
http://kitware.github.io/paraviewweb/
BSD 3-Clause "New" or "Revised" License
160 stars 50 forks source link

Support for .vtk, .vti in visualizer #499

Closed rjsgml5698 closed 4 years ago

rjsgml5698 commented 4 years ago

Hello!

I implemented the paraviewweb visualizer as follows.

image

The .stl, .vtp files are implemented. However, .vtk and .vti files are not rendered.

.vtk, .vti files are not yet supported?

jourdain commented 4 years ago

Visualizer have access to the same readers as ParaView which means vtk and vti files can be loaded as well.

To load them, you need to click on the "file" icon and click on each file that you want to load.

rjsgml5698 commented 4 years ago

Thank you for your reply.

well...I already tried the following, but only the outline is showing. Can you explain if I'm missing something?

I would really appreciate it.

image

image

jourdain commented 4 years ago

That's expected as it is the default startup representation for Volume. But feel free to change it to what you want.

62195964-1473d280-b3b8-11e9-8cdc-c3e3d42a3043

rjsgml5698 commented 4 years ago

Through your answers I was able to solve the problem.

I really appreciate your reply.

image

Thank you

rjsgml5698 commented 4 years ago

Hello!

I have one more question.

I installed react with create-react-app. And I saw that npm i paraviewweb was installed successfully. image

However, the next picture and module do not seem to build properly. image

When installing vtk.js in the create-react-app environment, I modified the webpack via npm i eject.

Should paraviewweb do the same thing as above? If so, can I refer to the link below?

http://kitware.github.io/paraviewweb/docs/setup.html

Thank you!

jourdain commented 4 years ago

I have no idea what you are trying to do and where that error is coming from.