[osg-users] Info about panoramic images in OSG

2014-05-29 Thread Adri CS
Hi! We're using OSG and the PointCloudLibrary to read point cloud files (mainly, XYZ and Intensity for each point) and display the clouds. It works perfectly. No, we have bought a Ladybug camera in order to get panoramic pictures and the idea is to superimpose those panoramas in the point cloud.

Re: [osg-users] Problem showing a dashed line in the scene

2013-10-31 Thread Adri CS
Hi Lauren! Thanks for your comment. Now I can see a solid line. A few questions: 1) What are the factor and pattern attributes in the LineStipple? In the doxygen docs ( http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00466.html) there's no explanation about them. 2)

Re: [osg-users] Problem showing a dashed line in the scene

2013-10-31 Thread Adri CS
Hi! Thanks Robert for pointing out the OpenGL docs. I managed to show the dashed line. Here's the final code: osg::ref_ptrosg::Vec3Array dash_points = new osg::Vec3Array; osg::ref_ptrosg::Vec4Array dash_color = new osg::Vec4Array; osg::ref_ptrosg::Geometry dash_geometry( new

[osg-users] Problem showing a dashed line in the scene.

2013-10-30 Thread Adri CS
Hi! I'm trying to add a dashed line between two points (for now, they're hardcoded. They exist in the point cloud that is already in the scene). With this code I expected two blue points of size 10 in the same place of those in the point cloud and a dashed line between them, yet nothing is

[osg-users] Getting QWidget::releaseDC(): failed to release HDC when using a Qt + OSG Viewer.

2013-10-28 Thread Adri CS
Hi, I have mixed Qt and OSG to create a viewer for the PCL library OutOfCore trees (using the wrapper classes of *osgpcl *written by Adam Stambler: https://github.com/adasta/osgpcl). I started with the osgQtViewer example and changed it accordingly with my needs. Using Windows 7 64 bits, the

[osg-users] osgDB Loading Progress

2013-04-12 Thread Adri CS
Hi! I want to show a status bar for the loading progress of my files. I have found this threadhttp://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/LoadingProgressthat covers the topic but it's 6 year old now. My question is if this is the way to go or if there is now a better way to

[osg-users] OSG could not find plugin to read objects from .osg file

2013-03-13 Thread Adri CS
Hi, I've compiled OSG 3.0.1 in Windows 7 64 bits in both release and debug mode with the MingW compiler. When running a little app I have written to test the installation, I got no display at all and a warning message in debug mode: *Warning: Could not find plugin to read objects from file

[osg-users] Using osgViewerQt example with Qt signals/slots

2013-03-12 Thread Adri CS
Hi everyone, I'm trying to modify the osgViewerQt example by adding a new class of my own that will contain the viewer. The design is: - *wrapper.h*: Defines class *Wrapper*. It inherits from *QMainWindow*and has a *QDockWidget* where the *ViewerWidget* will be attached. - *viewer.h:

Re: [osg-users] Using osgViewerQt example with Qt signals/slots

2013-03-12 Thread Adri CS
Hi again, I forgot to mention that I'm trying to achieve this in Windows 7 64 bits, with a MingW compiler. Qt version is 4.8 and OSG is 3.0.1. Cheers! 2013/3/12 Adri CS acsant...@gmail.com Hi everyone, I'm trying to modify the osgViewerQt example by adding a new class of my own

Re: [osg-users] Using osgViewerQt example with Qt signals/slots

2013-03-12 Thread Adri CS
a QPaintDevice* Cheers! 2013/3/12 Adri CS acsant...@gmail.com Hi again, I forgot to mention that I'm trying to achieve this in Windows 7 64 bits, with a MingW compiler. Qt version is 4.8 and OSG is 3.0.1. Cheers! 2013/3/12 Adri CS acsant...@gmail.com Hi everyone, I'm trying to modify