I tried to run the command in vscode terminal, windows shell and git bash. I also tried to look at my environment variables and install ParaViewWeb directly from source code (with git clone) the same error occurs when I run npm install
Hi @olearypatrick thanks for prompt response. Came across trame before but skipped it. Actually, got confused between the selection of paraviewweb, vtkpython and trame. Right now we have an app in VTK-JS in which we are facing issues if the VTI file is greater than 700MB. So, exploring web side rendering. Can you please help me in selecting the right technology.
@olearypatrick I checked on trame. It looks like complete development framework to me. As I understood we have to develop whole application using python which will be deployed on server and accessed through browser. We already have developed our application using VTK-JS and in mid-way facing issue with bigger volume files. So we are looking for something which we can incorporate in our existing javascript libraries to handle huge data.
In which case, you will have to setup the network with wslink and a vtk server to enable remote rendering. You can find an example on how to do it using the vue framework in that demo project. This also provide the server side implementation for either VTK and ParaView.
The example provided above is technically the same thing as that trame example.
Hi @jourdain, I had tried that vue framework example but getting following error. Will try the trame example.
( 152.570s) [paraview ]vtkWin32OpenGLRenderWin:680 ERR| vtkWin32OpenGLRenderWindow (00000214AA6C4BB0): failed to get wglChoosePixelFormatARB
( 152.572s) [paraview ]vtkWin32OpenGLRenderWin:758 ERR| vtkWin32OpenGLRenderWindow (00000214AA6C4BB0): failed to get valid pixel format.
( 152.573s) [paraview ]vtkOpenGLRenderWindow.c:493 ERR| vtkWin32OpenGLRenderWindow (00000214AA6C4BB0): GLEW could not be initialized: Missing GL version
Currently I’m running it on my development machine only. It has a basic Nvidia Ge Force 210 512 MB graphic card. Drivers are installed for it.
I also tried trame framework. Able to run the local rendering example. But on running remote rendering example getting same error as for paraviewweb.
2022-03-24 18:22:42.889 (0.251s) [ ]vtkWin32OpenGLRenderWin:680 ERR| vtkWin32OpenGLRenderWindow (000001671DA21940): failed to get wglChoosePixelFormatARB
2022-03-24 18:22:42.906 (0.268s) [ ]vtkWin32OpenGLRenderWin:758 ERR| vtkWin32OpenGLRenderWindow (000001671DA21940): failed to get valid pixel format.
2022-03-24 18:22:42.909 (0.271s) [ ]vtkOpenGLRenderWindow.c:493 ERR| vtkWin32OpenGLRenderWindow (000001671DA21940): GLEW could not be initialized: Missing GL version
Hi @mwestphal ,
I’m working on Windows-10 platform and glxgears is not present on it. I had used it in past on Cent OS. Checked for Windows but unable to find proper source for setting up.
I’m getting same error in trame as well. However, I’m able to render images on browser using my VTK-JS application. Can you please explain the difference and suggest me some setting for that GPU uses ?
vtk.js use your browser to do the rendering. Your browser will provide the rendering API regardless of your hardware/software. VTK/ParaView/Trame require your system to have such rendering API available on your machine. This normally happen by installing the proper drivers for your GPU.
Also using Remote Display or VM can mess up access to what get exposed in term of rendering capabilities which will then prevent VTK/ParaView/Trame to produce any 3D rendering.
Hi,
I’m able to run the trame application. I tried the cone example and able to view it in browser. I also tried rendering vti file and loaded it successfully. But, on the browser I can only see a cuboid. I tried the settings done in my VTK-JS application but can’t find all corresponding functions in trame. Do we have some api docs similar to VTK-JS which can be referred. I’m attaching the code below for reference if anyone can suggest what am I missing.