I am trying to read some .obj files using ioUtils.readPolyData. For example this one:
polyData = ioUtils.readPolyData('Porsche_911_GT2.obj')
However I keep getting errors like this:
ERROR: In /root/VTK-7.1.1/IO/Geometry/vtkOBJReader.cxx, line 271
vtkOBJReader (0x2243970): Error reading 'v' at line 3
I have tried with different .obj files, but they all raise errors of that type. I also tried to open them with MeshLab and re-save them as .obj, but it didn't work. I went searching for that /root/VTK-7.1.1/IO/Geometry/vtkOBJReader.cxx file but I soon realized that there is no VTK-7.1.1 directory inside /root. I am wondering if I installed the Director correctly, as I did it in two different ways:
It might seem a stupid thing (sorry it's the first time I use Linux), but in both cases I didn't install anything (in first case I only used make superbuild, in second case only extracted the .tar.gz on desktop). I am wondering if director and/or VTK have been installed at all. Any idea on this? Thanks
I am trying to read some .obj files using
ioUtils.readPolyData. For example this one:polyData = ioUtils.readPolyData('Porsche_911_GT2.obj')However I keep getting errors like this:
I have tried with different .obj files, but they all raise errors of that type. I also tried to open them with MeshLab and re-save them as .obj, but it didn't work. I went searching for that
/root/VTK-7.1.1/IO/Geometry/vtkOBJReader.cxxfile but I soon realized that there is noVTK-7.1.1directory inside/root. I am wondering if I installedthe Directorcorrectly, as I did it in two different ways:git clone https://github.com/RobotLocomotion/director.gitand then usedmake superbuildIt might seem a stupid thing (sorry it's the first time I use Linux), but in both cases I didn't
installanything (in first case I only usedmake superbuild, in second case only extracted the .tar.gz on desktop). I am wondering ifdirectorand/orVTKhave been installed at all. Any idea on this? Thanks