vtk2osg is a simple project that demonstrates the usage of vtkActorToOSG class created by Michael Gronager.
This project contains a simple example to load a VTK file and visualize it in OSG viewer.
We also update the vtkActorToOSG class to use it in new versions of VTK and OSG. To use previous versions of OSG use the files available in the link above.
Keywords: OSG, VTK, vtkActorToOSG.
The source code is released under GNU Library General Public License (LGPL)
Maintainer: Eberty Alves da Silva, eberty.silva@hotmail.com
The vtk2osg
package has been tested under Ubuntu 16.04 LTS.
The project depends on some external libraries:
- VTK
- OpenSceneGraph
- CMake
Please beware that CMakeLists.txt
does not check for particular versions of
these libraries/tools (apart from CMake), so in case of some older versions the compilation might fail with magical errors.
cd vtk2osg
mkdir build && cd build
cmake .. && make
cd ..
./vtk2osg <input.vtk>
https://github.com/piotrdomagalski/VTKToOSG
Please report bugs and request features using the Issue Tracker.