[osg-users] Rendering Model in color

2016-11-02 Thread Uma Devi Selvaraj
Hi, I have installed OSG in my system(windows 10, 64 bit). When I tried to render colored model , the model is not rendering in color. I have installed OSG in another system(windows 8 , 64 bit) and tried to render same model in that system, where I am able to render the model in color.

[osg-users] design issues

2016-11-02 Thread Trajce Nikolov NICK
Hi Community, I am trying to optimize the rendering. Getting huge update numbers. The story is this: My scene has huge number of lights, some are static (streetlights) some dynamic (a car). The lighting engine needs the World matrix of a LightSource and the ViewMatrix (which is the same as the Wo

Re: [osg-users] [build] Proper CMAKE settings for ZLIB, bogus "optimized.lib" in link

2016-11-02 Thread Andrew Cunningham
Now if someone could explain how to get the OSG CMake configuration to understand that QT5WebKit and QT5WebKitWidgets has gone away in QT 5.7 and stop looking for it. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69209#69209

Re: [osg-users] [build] Proper CMAKE settings for ZLIB, bogus "optimized.lib" in link

2016-11-02 Thread Jan Ciger
Hello, On 02/11/16 22:05, Andrew Cunningham wrote: > Hi, > I am trying to build OSG 3.4.0 on Windows/Visual Studio 2015 using CMake to > generate the projects. > > Everything works pretty well except the confusing settings for ZLIB_LIBRARY, > ZLIB_LIBRARY_DEBUG,ZLIB_LIBRARY_RELEASE. Why 3 sett

Re: [osg-users] [build] Proper CMAKE settings for ZLIB, bogus "optimized.lib" in link

2016-11-02 Thread Andrew Cunningham
Yup that worked. Same issue with PNG and TIFF. Thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69208#69208 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensceneg

Re: [osg-users] [build] Proper CMAKE settings for ZLIB, bogus "optimized.lib" in link

2016-11-02 Thread Todd Carnes
I just pointed the extra one to zlib's release directory as well and everything worked out for me... Although, I was building a different version, it might still work for you as well. On Nov 2, 2016 2:04 PM, "Andrew Cunningham" wrote: > Hi, > I am trying to build OSG 3.4.0 on Windows/Visual Stud

[osg-users] [build] Proper CMAKE settings for ZLIB, bogus "optimized.lib" in link

2016-11-02 Thread Andrew Cunningham
Hi, I am trying to build OSG 3.4.0 on Windows/Visual Studio 2015 using CMake to generate the projects. Everything works pretty well except the confusing settings for ZLIB_LIBRARY, ZLIB_LIBRARY_DEBUG,ZLIB_LIBRARY_RELEASE. Why 3 settings ? I included paths to Debug and Release builds of ZLib, i

[osg-users] Loading problem, OpenVR integration

2016-11-02 Thread Lorenzo Valente
Hi, I'm working on a Virtual Reality project that involves the rendering of a OSG scene in an Oculus Rift CV1 device using the OpenVR library. All these technologies are pretty new to me so everything is as exciting as frustrating :) My code is based on the Chris Denham "osgopenvrviewer" project

Re: [osg-users] Trouble Drawing Text in Arabic

2016-11-02 Thread Erik Hensens
Jan Ciger wrote: > On Wed, Nov 2, 2016 at 3:35 PM, Chris Hanson < ()> wrote: > > > Is this something osgCairo ( https://github.com/cubicool/osgcairo > > (https://github.com/cubicool/osgcairo) ) might solve for you?​ > > > > > > > Love that TODO in the README! > > > However, be aware that

Re: [osg-users] Trouble Drawing Text in Arabic

2016-11-02 Thread Jan Ciger
On Wed, Nov 2, 2016 at 3:35 PM, Chris Hanson wrote: > Is this something osgCairo ( https://github.com/cubicool/osgcairo ) might > solve for you?​ > Love that TODO in the README! However, be aware that when I have played with Pango/Cairo for OSG some years ago for one of our projects, these lib

Re: [osg-users] Trouble Drawing Text in Arabic

2016-11-02 Thread Chris Hanson
Is this something osgCairo ( https://github.com/cubicool/osgcairo ) might solve for you?​ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Polytope from view frustum

2016-11-02 Thread Trajce Nikolov NICK
Thanks guys .. I did it per Robert's detailed description .. Took like 10mins and it works well .. Thanks again! Cheers! Nick On Wed, Nov 2, 2016 at 2:57 PM, Glenn Waldron wrote: > Also check out osgShadow::ConvexPolyhedron if you want to extract the > corner verts or make geometry from it. >

Re: [osg-users] Polytope from view frustum

2016-11-02 Thread Glenn Waldron
Also check out osgShadow::ConvexPolyhedron if you want to extract the corner verts or make geometry from it. Glenn Waldron On Wed, Nov 2, 2016 at 9:47 AM, Jeff Biggs wrote: > > try this... > > osg::Polytope GetViewPolytope( > const osg::Matrix &p, > const osg::Matrix &v, > const o

Re: [osg-users] Polytope from view frustum

2016-11-02 Thread Jeff Biggs
try this... osg::Polytope GetViewPolytope( const osg::Matrix &p, const osg::Matrix &v, const osg::Matrix &m) { osg::Polytope clipspace; clipspace.setToUnitFrustum(true, true); // composite matrix osg::Matrixd mvp = m * v * p; // transform from clip space to loca

Re: [osg-users] Polytope from view frustum

2016-11-02 Thread Trajce Nikolov NICK
Thanks Robert On Wed, Nov 2, 2016 at 9:43 AM, Robert Osfield wrote: > On 1 November 2016 at 21:45, Trajce Nikolov NICK > wrote: > > Hi Community, > > > > anyone knowing how to achieve this and with will to share? > > > > Thanks a bunch as always !! > > Have a look at the API's... > > First one

Re: [osg-users] Trouble Drawing Text in Arabic

2016-11-02 Thread Jan Ciger
On Tue, Nov 1, 2016 at 9:35 PM, Erik Hensens wrote: > Hello! > > I am having some trouble drawing text correctly in Arabic. I can get the > Arabic letters themselves to show up correctly, but the letters do not > connect together as they should. > > I am not an Arabic speaker, but my understandin

Re: [osg-users] Polytope from view frustum

2016-11-02 Thread Robert Osfield
On 1 November 2016 at 21:45, Trajce Nikolov NICK wrote: > Hi Community, > > anyone knowing how to achieve this and with will to share? > > Thanks a bunch as always !! Have a look at the API's... First one to look at is osg::Polytope, create one of these with a unit frustum. This will be in clip