Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build PCL against VTK with OpenGL2 #1275

Closed
VictorLamoine opened this issue Jul 8, 2015 · 8 comments
Closed

Cannot build PCL against VTK with OpenGL2 #1275

VictorLamoine opened this issue Jul 8, 2015 · 8 comments
Labels
kind: bug Type of issue

Comments

@VictorLamoine
Copy link
Contributor

How to reproduce

  • Compile / install VTK with VTK_RENDERING_BACKEND = OpenGL2
  • Compile PCL against this VTK version

Error

pcl/src/visualization/src/pcl_visualizer.cpp:87:38: fatal error: vtkOpenGLHardwareSupport.h: Aucun fichier ou dossier de ce type
 #include <vtkOpenGLHardwareSupport.h>

Kitware/VTK@249fd50

Note: Close #1234 when this is solved!
Note: Revert #1533 when this issue is closed!

@VictorLamoine
Copy link
Contributor Author

I created a big mesh with blender (8 060 918 points)

Ubuntu 14.04 with latest proprietary drivers

VTK with: OpenGL OpenGL2
Nvidia GTX 770 < 5 fps > 60 fps
Nvidia Quadro K3000M < 10 fps < 10 fps + tearing

Note that OpenGL2 is now default in VTK trunk!
Given the outrageous performance improvement with newer graphic cards, we really should work on making PCL compatible with VTK+OpenGL2.

Help is appreciated because I'm not quite sure how to modify PCL code using OpenGL.

@taketwo
Copy link
Member

taketwo commented Oct 6, 2015

Sounds interesting. I'll try to have a look, but no guarantees...

@VictorLamoine VictorLamoine added the kind: bug Type of issue label Oct 6, 2015
@taketwo taketwo mentioned this issue Oct 11, 2015
7 tasks
@VictorLamoine
Copy link
Contributor Author

I asked the VTK community:
http://vtk.1045678.n5.nabble.com/Migrating-from-OpenGL-to-OpenGL2-td5735123.html

I'll give it a try a little bit later but it doesn't look like an easy fix to apply!

@mcleary
Copy link
Contributor

mcleary commented Jan 12, 2016

There are plans to support VTK OpenGL2 backend?

@VictorLamoine
Copy link
Contributor Author

The issue is here just for that, unfortunately what I tried did not work a the moment.
If you have time and skills to make the changes, pull requests are welcome!

@mcleary
Copy link
Contributor

mcleary commented Jan 12, 2016

@VictorLamoine, I understand. I asked to see if there is anyone already working on this. I'll give it a try.

@bchretien
Copy link

👍 for this, we have a similar issue on Arch Linux, where VTK 7.0 is now used with the OpenGL2 backend.

@taketwo
Copy link
Member

taketwo commented Feb 15, 2016

Fixed with #1534.

@taketwo taketwo closed this as completed Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Type of issue
Projects
None yet
Development

No branches or pull requests

4 participants