Questions tagged [qglviewer]

QGLViewer allows people programming in OpenGL to play around with three dimensional scenes or to write software that uses OpenGL.

libQGLViewer is a C++ library based on Qt that eases the creation of OpenGL 3D viewers. It provides some of the typical 3D viewer functionalities, such as the possibility to move the camera using the mouse, which lacks in most of the other APIs. Other features include mouse manipulated frames, interpolated keyFrames, object selection, stereo display, screenshot saving and much more. It can be used by OpenGL beginners as well as to create complex applications, being fully customizable and easy to extend.

20 questions
2
votes
0 answers

libQGLViewer-2.7.2 qmake opengl

I'm trying to compile libQGLViewer-2.7.2 on linux amd64 debian qt5 using qmake, I got Project ERROR: Could not find feature opengles2. Any idea what's wrong? how can I debug this? rhanks
user129340
  • 21
  • 1
1
vote
1 answer

Qt Adding libQGLViewer

I am trying to use libQGLViewer library in Qt. I am following the official installation process. But I still have some errors in simpleViewer.h file. C:\Users\Halil\yedekleme\Belgeler\untitled\simpleViewer.h:1: error: QGLViewer/qglviewer.h: No such…
Lady Be Good
  • 253
  • 2
  • 12
1
vote
1 answer

QGLViewer minimal example failing. Correct dependency setup unknown

I'm trying to get a QGLViewer application running on Windows, but the dependency management is madening. First of all, is there somewhere a comprehensible overview of the dependencies that are shared between a client application, Qt, QGLViewer,…
hasdrubal
  • 1,024
  • 14
  • 30
1
vote
1 answer

Wrong coordinates under Mouse on qglviewer

I draw some lines on qglviewer Now i need to computate the shortest way from mouse position to curve void viewer::mouseMoveEvent(QMouseEvent *e) { qglviewer::Vec xx(e->pos().x(), e->pos().y(), 1); qglviewer::Vec xxx =…
1
vote
4 answers

unresolved external symbol "__declspec(dllimport)

I am trying to get libqglviewer to work in visual studio, I have installed Qt5.2.0 64-bit for VS 2012. I have added the include directories for QGLViewer and QT in the project settings together with the lib-directory and the lib-files for qt (both…
El_Loco
  • 1,716
  • 4
  • 20
  • 35
1
vote
0 answers

Does this snippet of Qt project file cause the "LNK1112 module machine type 'x64' conflicts with target machine type 'X86' fatal error"?

My current development environment is Windows 8.1 + Visual Studio Pro 2013 (both are traditional Chinese versions) run on a VMware virtual machine. I followed the “How to install CGAL on Windows using Visual Studio 2010” instruction step by step as…
1
vote
1 answer

Install QGLViewer using Cmake's ExternalProject_Add

I would like to install QGLViewer as an external from source code in a cmake build environment. This is what I have tried so far: set(QGLViewer_VERSION 2.5.2) set(QGLViewer_URL_REMOTE…
NotANumber
  • 172
  • 1
  • 8
1
vote
1 answer

make qglviewer gives QT related errors

I want to install libQGLViewer, which I downloaded from http://www.libqglviewer.com/download.html on Ubuntu 10.04. According to the manual I have to do; 1) cd QGLViewer/ 2) qmake 3) make Compiling the library by typing make almost immediately ends…
user3379159
  • 111
  • 2
  • 12
1
vote
1 answer

How to change the default QGLViewer's near and far clipping distance in QT and QGLViewer programs?

I got a fairly large model that need to be displayed in a QT UI program that uses QGLViewer. So the model got cut because of the default near and far clipping distance is too narrow. My question is how to change the default near and far clipping…
tomriddle_1234
  • 3,145
  • 6
  • 41
  • 71
0
votes
1 answer

libQGLViewer how to draw withouth clearing buffer

I'm using libQGLViewer in my project to draw the trajectory of a robot. To this end, I started from the code of the simpleViewer provided in the examples. To do my stuff, I put these lines of code in the draw function: void Viewer::draw() { …
Federico Nardi
  • 510
  • 7
  • 19
0
votes
1 answer

CGAL_USE_BASIC_VIEWER

I'm trying to run libqglviewer multiselection example with .off file , but it show's the following problem : Impossible to draw because CGAL_USE_BASIC_VIEWER is not defined. So I added QMAKE_CXXFLAGS +=-DCGAL_USE_BASIC_VIEWER to .pro file it…
user3019180
  • 80
  • 1
  • 7
0
votes
1 answer

‘SceneElement’ was not declared in this scope

I want to use selection in my 3d viewer ,and I tried this example ,but I faced the following problem : error: ‘SceneElement’ was not declared in this scope QList sceneElements ; scene.h file: #ifndef SCENE_H #define SCENE_H #include…
user3019180
  • 80
  • 1
  • 7
0
votes
3 answers

Building libQGLViewer error: cannot find lqglviewer-qt5

I am trying to build the lQGLViewer in order to compile CGAL demos. I am following primarily the steps here and I have installed qt 5.6.0. as well as the dependencies freeglut3 freeglut3-dev binutils-gold g++ libglew-dev mesa-common-dev…
Jesse RJ
  • 217
  • 4
  • 17
0
votes
0 answers

CGAL demos not running

I've been trying for a while to get them working. After installing the library (via tarball) and installing every dependency I found needed via cmake-gui, I managed to make the examples and some 2D demos work. I can run the triangulations and…
0
votes
1 answer

QGLViewer simpleViewer example built with cmake not running

I'm trying to familiarize with QGLViewer (http://libqglviewer.com/) so I installed it (on Ubuntu 14.04) and I'm trying to run the simpleViewer (which is a provided example). Now, the code can be built using qmake, but I want to compile the code with…
Federico Nardi
  • 510
  • 7
  • 19
1
2