[osg-users] How to get Center Parameter of CameraManipulator

2017-03-14 Thread duc nguyen
Hi, After setCameraManipulator for my viewer i can get the Eye parameter of camera but cannot get the Center parameter to get the point of my camera looking at. How to get this value? Here is the way i get the Eye parameter: Code: osg::Matrixd mt =

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Robert Osfield
Hi Remo, On 14 March 2017 at 18:16, Remo Eichenberger wrote: > The env variable doesn't help. I see such errors: > > With subloading enabled i see this: > > before Glyph::subload(): detected OpenGL error: invalid enumerant > Glyph::subload(): texture sub-image width and/or

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Remo Eichenberger
The env variable doesn't help. I see such errors: With subloading enabled i see this: before Glyph::subload(): detected OpenGL error: invalid enumerant Glyph::subload(): texture sub-image width and/or height of 0, ignoring operation. I've posted the log on the github issue. Remo

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Robert Osfield
On 14 March 2017 at 17:38, Remo Eichenberger wrote: > Without this setting I see only a blue screen/window without any text. Do you get any GL errors reported on the console? Could you try disabling the incremental subloading of the glyph texture by setting the env var

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Remo Eichenberger
Without this setting I see only a blue screen/window without any text. Remo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70491#70491 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Robert Osfield
On 14 March 2017 at 17:01, Remo Eichenberger wrote: > Update: Stock sample "examples_osgtext" partial works with: > > font->setMinFilterHint(osg::Texture::LINEAR); > > on MacOSX GL3 Core Profile This will be disabling mipmapping. Surely OSX GL3 core profile supports

Re: [osg-users] How to disable Antialiasing of an osg::Text

2017-03-14 Thread Robert Osfield
Hi Lv, It looks like you are position the text in a 3D scene and leaving it to scale in object coordinates, which is fine, but it does mean that the scale will and orientation will vary, this is very different challenge for rendering clear text than rendering a fixed font to a fixed 2D projection

Re: [osg-users] bug: osgText doesn't work on MacOSX GL4.x with VAO

2017-03-14 Thread Remo Eichenberger
Update: Stock sample "examples_osgtext" partial works with: font->setMinFilterHint(osg::Texture::LINEAR); on MacOSX GL3 Core Profile -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70487#70487 ___

Re: [osg-users] My game - Narrow

2017-03-14 Thread Johny Canes
I'll post a demo maybe some time soon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70486#70486 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [vpb] How to query height of terrain given lat lon position ?

2017-03-14 Thread Vinoth Rajendran
Hi, I have created terrain using VPB tool I would like to query height of a point in terrain provided corresponding latitude and longitude. Any Help is appreciated... I am generating flat terrain using VPB. Thank you! Cheers, Vinoth -- Read this topic online here:

Re: [osg-users] My game - Narrow

2017-03-14 Thread michael kapelko
Nice. Where can we get the game? 2017-03-10 3:25 GMT+07:00 Johny Canes : > Hi, > > Hey, here's a screenshot of my game. I've ported it from Three.js and OSG > has been a really, really smooth ride so far! > > That's an Awesomium texture on that CRT :D! > >

Re: [osg-users] bounding box collisions (without osgbullet)

2017-03-14 Thread Julien Valentin
Hi Sebastian If you have few dynamic objects, an update callback with an inner intersectvisitor can do the trick ... In other case you may have to reimplement the wheel (like a AABB sweeping broaphase) , so osgBullet seams the best fit And to finish, if you have massive dynamics: -bullet3

Re: [osg-users] bounding box collisions (without osgbullet)

2017-03-14 Thread Julien Valentin
Hi Sebastian If you have few dynamic objects, an update callback with an inner intersectvisitor can do the trick ... In other case you may have to reimplement the wheel (like a AABB sweeping broaphase) , so osgBullet seams the best fit And to finish, if you have massive dynamics: -bullet3

Re: [osg-users] Frame Rate

2017-03-14 Thread Robert Osfield
HI Bhanu, Have a look at the osgforest example, it has various approach to rendering large numbers of trees. The example uses texture quads as the basis but the approaches can be generalized. Robert. On 14 March 2017 at 05:40, Bhanu Chandra wrote: > Hi, > I am trying