Re: [osg-users] osgViewer::Viewer fullscreen dual monitor issue

2016-04-29 Thread Björn Blissing
akaisora wrote: > Hi, > > I am still new around here, I've got the book "OpenSceneGraph 3.0 Beginner's > Guide" and learning step by step. But I have dual monitors and running any > osg::Viewer example I got fullscreen window on both monitors, and a splitted > view as demonstrated in the

Re: [osg-users] [build] Can't build documentation

2016-04-29 Thread Alberto Luaces
Hi Goj, I think you are almost there: you don't use BUILD_DOCUMENTATION as a make target, but you have to set it in CMake instead. You can either activate the BUILD_DOCUMENTATION variable inside CMake (using ccmake or cmake-gui), or just in the command line with cmake -DBUILD_DOCUMENTATION=ON

Re: [osg-users] [build] Can't build documentation

2016-04-29 Thread Goj Ames
Hi Alberto, Thanks for chiming in. I have no 'doc_' targets in my top level makefile, but I see the bits in CMakeLists.txt, so I tried: cmake BUILD_DOCUMENTATION . I get several messages about missing packages, (Freetype, JPEG, Jasper, ... ) which I will fix, but it gives no errors. After

Re: [osg-users] How to properly update a Geometry

2016-04-29 Thread Daniel Neos
gwaldron wrote: > If you're just updating an existing array, you don't need to call > setVertexArray (etc); but you need to mark it dirty by calling > >   m_vertices->dirty(); > > > That applies also to your other buffer objects (color array, elements, etc.) > > > > Glenn Waldron > >

Re: [osg-users] osgViewer::Viewer fullscreen dual monitor issue

2016-04-29 Thread akaisora
Hello Rebert, Thank you very much for your explanation, as I am knew to OSG, this really helps a lot :) My monitors' order is exactly as you mentioned. Since I am just getting started, I don't really need multi-monitor rendering, so after toying with the viewer class, I found out about  

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-29 Thread Alex Taylor
Robert, The issue was I was setting a tileLocator, but I wasn't setting a layerLocator. That was problematic in the following block of code: Locator* layerLocator = _volumeTile->getLayer()->getLocator(); if (tileLocator==layerLocator) {

Re: [osg-users] How to properly update a Geometry

2016-04-29 Thread Glenn Waldron
If you're just updating an existing array, you don't need to call setVertexArray (etc); but you need to mark it dirty by calling m_vertices->dirty(); That applies also to your other buffer objects (color array, elements, etc.) Glenn Waldron On Thu, Apr 28, 2016 at 3:51 PM, Daniel Neos

[osg-users] How to properly update a Geometry

2016-04-29 Thread Daniel Neos
Greetings everyone, I am trying to display a point cloud, consisting of vertices and color with OpenSceneGraph. A static point cloud to display is rather easy with this guide. But I am not capable of updating such a point cloud. My intention is to create a geometry and attach it to my viewer

[osg-users] support for double precission in shaders for INTEL board

2016-04-29 Thread Trajce Nikolov NICK
Hi Community, I am aware that this question is not that much related to OSG (maybe?) but I count that on the list there are good GLSL engineers. I am facing issues with enabling this extension ''GL_ARB_gpu_shader_fp64". It is enabled in my shaders '#extension GL_ARB_gpu_shader_fp64 : enable',

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-29 Thread Robert Osfield
Hi Alex, I haven't heard of the invert throwing a seg fault before. The stack trace doesn't have any info about line numbers so we can't say what specifically was amiss. The only code in MultipassTechnique.cpp that calls Matrixd::invert() is: Locator* tileLocator =

Re: [osg-users] osgViewer::Viewer fullscreen dual monitor issue

2016-04-29 Thread Robert Osfield
Hi Soulaymen, By default the osgViewer::Viewer calls View::setUpViewAcrossAllScreens() as a fallback if no windows have been assigned to viewer when viewer.realize() or viewer.run() is called. The setUpViewAcrossAllScreen() detects how many screens you have on your system and then opens up a