Re: [osg-users] Render a huge image (30.000x30.000)

2016-04-06 Thread Chris Hanson
I've written code before to page massive rendered images out to the final image file on disk as they are generated, so you could render bigger output than what you have RAM for.​ ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] CMake 3.5.1 and OSG

2016-04-06 Thread Konstantin Podsvirov
Hello!You reale need OSG 3.5 and MSVC2015?For experiment you can try OSG 3.4 vs MSVC2013 from DaD's

[osg-users] [build] CMake 3.5.1 and OSG

2016-04-06 Thread Laurent Berger
Hi, I have downloaded openscengraph from git(master) and I have succesfully compiled and installed osg on windows 10-64bit using VS 2015. Now I want to use OSG lib and include with my own application using CMake 3.5.1. I have set var OSGDIr and cmake can find include but cannot find static

Re: [osg-users] Render a huge image (30.000x30.000)

2016-04-06 Thread Filip Arlet
Hi, Depends on what you want to do. If you want to render big resolution image, you would have to use tiled rendering. Using PBO for transfering data back could help speeding things up. But in most cases you are rendering non RT image (its too big you cant even save it in RT). Then you just

Re: [osg-users] osg::CoordinateSystemNode

2016-04-06 Thread Robert Osfield
HI Filip, The osg::CoordinateSystemNode is a data container node that stores the coordinate system details of it's subgraph. It's use is passive, other functions in the OSG or client apps query the CoordinateSystemNode to find out what coordinate system it's subgraph is in. So if you generated

Re: [osg-users] osg::CoordinateSystemNode

2016-04-06 Thread Filip Arlet
Hi, I did, but it seems to me, that this is only offline transform - exact same thing that proj does. I want to transform points "on the fly". Can I somehow use Helmert transformation (from +towgs84 proj param) ? I dont need to transform between multiple systems, just to wgs84 would be nice

Re: [osg-users] Point Selection in Point Cloud

2016-04-06 Thread Filip Arlet
Hi, It really depends on how big your point cloud is. General rule is to create tree (kd-tree, octree, ...). Either multiple nodes or on big custom drawable with tree in it. If you create custom drawable, you can test if ray intersects tree node or polytope contains tree node. If you create

Re: [osg-users] osg::CoordinateSystemNode

2016-04-06 Thread Glenn Waldron
Filip, osg::CoordinateSystemNode does not do any transformation. It is really just a container to hold information about the spatial reference of the data underneath. Furthermore, no, a 4x4 matrix not sufficient for geospatial reprojection. You will need to use the PROJ library for that. FYI, in

[osg-users] osg::CoordinateSystemNode

2016-04-06 Thread Filip Arlet
Hi, I'm working on a project for displaying geospatial data. I usually have data in some coordinate reference system. What I want now is transform them into another coordinate reference system (wgs84). Its not a big problem transforming coordinates on load or preparing data, but I would like

Re: [osg-users] OSG_NEAR_FAR_RATIO overriding setComputeNearFarMode(DO_NOT_COMPUTE_NEAR_FAR)

2016-04-06 Thread Robert Osfield
Hi Etienne, It's not possible to know exactly where the problem lies without knowing the ordering of how you are setting up the osgViewer and associated Camera. The best I can say it sounds like the src/osg/DisplaySettings.cpp values are being utilized after your code is setting up the

[osg-users] OSG_NEAR_FAR_RATIO overriding setComputeNearFarMode(DO_NOT_COMPUTE_NEAR_FAR)

2016-04-06 Thread Etienne de Sarrieu
Hi, Everything is in the title, in my application when I set OSG_NEAR_FAR_RATIO as a runtime environnment variable, the settings I give to my master camera through a Frustum projection matrix are ignored (and of course I used setComputeNearFarMode(DO_NOT_COMPUTE_NEAR_FAR) on this camera). Is

Re: [osg-users] working with transparent objects

2016-04-06 Thread Trajce Nikolov NICK
thanks Alistair! That is it On Wed, Apr 6, 2016 at 10:40 AM, Alistair Baxter wrote: > I think this is what you’re after: > > > > https://github.com/XenonofArcticus/OSG-Transparency-Tool > > > > I made a note of it at the time, but haven’t got round to investigating it > yet. >

Re: [osg-users] working with transparent objects

2016-04-06 Thread Alistair Baxter
I think this is what you’re after: https://github.com/XenonofArcticus/OSG-Transparency-Tool I made a note of it at the time, but haven’t got round to investigating it yet. ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] working with transparent objects

2016-04-06 Thread Trajce Nikolov NICK
Hello Community, I can recall a work has been done by someone from the community (probably a lib, can not really remember) that suppose to make the management of transparent objects in the scene better then the default one. Anyone remembers the work of the lib/project...? Thanks a bunch a always

Re: [osg-users] PolytopeVisitor's sample

2016-04-06 Thread François Cami
Hello, On Wed, Apr 6, 2016 at 10:00 AM, yusuke morikawa wrote: > Hi,François > > Thank you very much for your reply. > However I failed to build your sample. > The error happens on the line 259, and displays such as > " error C2143: statement error: ',' is not in front of

Re: [osg-users] PolytopeVisitor's sample

2016-04-06 Thread yusuke morikawa
Hi,François Thank you very much for your reply. However I failed to build your sample. The error happens on the line 259, and displays such as " error C2143: statement error: ',' is not in front of ':' . The problem line is Code: for ( osgUtil::PolytopeIntersector::Intersection intersection :

Re: [osg-users] Sync main camera with slave camera rotation

2016-04-06 Thread Bruno Oliveira
That's perfect! Thank you very much! 2016-04-06 1:52 GMT+01:00 Jannik Heller : > Hi, > > The camera manipulator (which sets the main camera's view matrix) is > updated at the end of the update traversal. So, you need to make sure your > sync code runs after the update