how to find the output file?

Hello !

I just put myself on vtk to visualize hydrogen adsorbing molecules from RASPA.2 software. When I launch vtk I get the following message:

assoualaye@assoualaye-Latitude-E6220:~/vtk_ex/materials/Demos/Simple$ vtkProbeOpenGLVersion-9.0 cone2.tcl
Class: vtkXOpenGLRenderWindow succeeded in finding a working OpenGL
what to do?

vtkProbeOpenGLVersion is a tool used during VTK’s build. What do you expect to happen with it?

In addition Tcl support was removed a few years ago, in VTK 7 I think.

How should I proceed please. I just started with vtk

I would recommend using the Python bindings for scripts instead of Tcl. There are examples on this site for how to do this. You can install VTK via pip install vtk to get the Python bindings. The C++ look a lot like the Python code you’ll need, but some syntax and boilerplate needs translating (there are examples which have both so that you can compare).

Thank you for your guidance. In reality, I would like to visualize hydrogenated molecules. Which are obtained using RASPA2.0 software. After the simulation we get files with a vtk extension like dnesity.vtk, and my concern is to know if it would be possible to view them using Python links.

I recommend using ParaView to load and analyze the files. You could make a simple VTK viewer, but if you want to actually analyze it, ParaView has everything you need already available instead of manually setting up filters and such.

If you really do just want to view, F3D is simpler, but I don’t know if there are ready-made binaries available yet. @mwestphal

There are binaries:

Thanks ben !

@Michael : I think we do need to put that blog out :slight_smile:

thank you Ben for all these directions. I think I will try Paraview too.