[osg-users] Height of terrain

2017-03-02 Thread Bhanu Chandra
Hi, How can i get height of the terrain on a given x/y vlaue. My terrain is flat database(EPSG:3857). ... Thank you! Cheers, Bhanu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70398#70398 ___

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread michael kapelko
Hi. I currently work on a set of tutorials to build and use OSG for several platforms (desktop, mobile, web), however, they will be only available in 2-3 months. I'll keep you updated. 2017-03-02 22:03 GMT+07:00 Alberto Luaces : > "Rodrigo Dias" writes: > > > Hi Robert, > > > >>

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

2017-03-02 Thread Robert Osfield
HI Lv, osgText::Text renders into a 3D scene using OpenGL, which is quite different than Qt rendering to a 2D window where font resolutions can exactly matched to the pixels on screen, so you can't really compare the two. osgText::Text itself doesn't implement anti-aliasing, anti-aliasing is a

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

2017-03-02 Thread Lv Qing
Hi, In linux we are using osg::Text to display some chinese characters.Then we find the osg::Text looks a little blur when the size of characters is small.Or,the Black characters seems a little gray when the character size is small.I have setFontSolution(128,128),it not help. Then I

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Alberto Luaces
"Rodrigo Dias" writes: > Hi Robert, > >> Building under linux/unix is explained in the OpenSceneGraph/README > > Right. But you also has a link at Documentation | Platform Specific | > Linux. I thought everything platform specific would be there, but it > wasn't, so I went to other sources

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Jan Ciger
On Thu, Mar 2, 2017 at 3:37 PM, Robert Osfield wrote: > It looks like there is an error relating to the osgQt module/cmake's > Qt4Macros. Either Cmake or Qt might have changed since we made the > 3.4.0 (a year and half ago.), or perhaps debian's combination of these >

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Johny Canes
Hi, Ow wow, yes. Thank you! Cheers, Johny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70392#70392 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Robert Osfield
Hi Rodrigo, On 2 March 2017 at 13:47, Rodrigo Dias wrote: >> Building under linux/unix is explained in the OpenSceneGraph/README > > Right. But you also has a link at Documentation | Platform Specific | Linux. > I thought everything platform specific would be there,

Re: [osg-users] About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator

2017-03-02 Thread Glenn Waldron
Mingxia, That is by design - if you lock your camera azimuth (to north-up for example), you will be unable to rotate past the poles. You can disable the feature by calling EarthManipulator::getSettings()->setLockAzimuthWhilePanning(false). Hope this helps Glenn Waldron On Wed, Mar 1, 2017 at

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Rodrigo Dias
Hi Robert, > Building under linux/unix is explained in the OpenSceneGraph/README Right. But you also has a link at Documentation | Platform Specific | Linux. I thought everything platform specific would be there, but it wasn't, so I went to other sources (before remembering the README), and

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Jannik Heller
Hi Johny, By default, OSG will run graphics operations in a separate thread so trying to do OpenGL calls from the main thread will not have an effect. Update callbacks are always invoked from the main thread. Try using a DrawCallback on a Drawable or Camera instead which will be invoked from

Re: [osg-users] need help

2017-03-02 Thread Trajce Nikolov NICK
Hi, have a look at the osggeometry example. Probably you will need to have a quad with the tiff image on it and you can then draw a line On Thu, Mar 2, 2017 at 9:57 AM, Venky Balu wrote: > HI , > i am new to OSG i have to develop an application that contain tiff

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Johny Canes
Hi, Oh it's throwing an INVALID_OPERATION Thank you! Cheers, Johny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70386#70386 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Johny Canes
Hi, I'll post a pretty print I know you guys like colors. https://codepaste.net/cwre47 The callback is attached with `texture->setUpdateCallback( new Painter() );` Cheers, Johny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70385#70385

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Robert Osfield
Hi Johny, On 2 March 2017 at 10:57, Johny Canes wrote: > On the upside, I've been studying the workings of OSG and looking at the > source code really helps. However, my glTexSubImage2D continues to have zero > effect on its code. I'm doing this via a operator StateAttribute

Re: [osg-users] Equivalent of glTexSubImage2D ?

2017-03-02 Thread Johny Canes
Hi, On the upside, I've been studying the workings of OSG and looking at the source code really helps. However, my glTexSubImage2D continues to have zero effect on its code. I'm doing this via a operator StateAttribute callback on the texture, binding it, then trying to write pixels. I've also

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Jan Ciger
Hello Rodrigo, On Wed, Mar 1, 2017 at 10:57 PM, Rodrigo Dias wrote: > Without clear instructions for Linux starters, I first downloaded the > OpenSceneGraph-3.4.0.zip. Then I unzipped it and tried to compile using > make/cmake. No success. Then I tried sudo apt-get

Re: [osg-users] [forum] Using OSG after a very long hiatus

2017-03-02 Thread Jordi Torres
Hi Rodrigo, Not sure which tutorials are you following, but if you are looking at trac.openscenegraph.org yes, they are totally out of date. Probably we should think in finally remove the trac. All the resources are now in www.openscenegraph.org. Also and a part from the books which are a great

[osg-users] need help

2017-03-02 Thread Venky Balu
HI , i am new to OSG i have to develop an application that contain tiff image on that image i have to draw line . but i am not able to draw line on image. could you please suggest me how to solve this. Regards, venkat 9840564652 ___ osg-users mailing

Re: [osg-users] [forum] Using OSG after a very long hiatus

2017-03-02 Thread Robert Osfield
On 2 March 2017 at 08:18, Sebastian Messerschmidt wrote: > IIRC openscenegraph.org is the old site. Use openscenegraph.com A bit clarification, openscenegraph.org used to be the old site while we transitioned to using Joomla on a new server, during transition the

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Robert Osfield
Hi Rodrigo, On 1 March 2017 at 21:57, Rodrigo Dias wrote: > Without clear instructions for Linux starters, I first downloaded the > OpenSceneGraph-3.4.0.zip. Then I unzipped it and tried to compile using > make/cmake. No success. Then I tried sudo apt-get install >

Re: [osg-users] [forum] Using OSG after a very long hiatus

2017-03-02 Thread Robert Osfield
HI Rodrigo, On 1 March 2017 at 21:34, Rodrigo Dias wrote: > Book? C'mon! We're in 2017!! Have you lost the ability to read in 2017? Book's are another resource at your disposal, they don't take away from the rest of the resources. > How do OSG intend to be a great 3D

Re: [osg-users] [forum] Using OSG after a very long hiatus

2017-03-02 Thread Sebastian Messerschmidt
Hi Rodrigo, Hi, Book? C'mon! We're in 2017!! How do OSG intend to be a great 3D base without an up to date tutorial on-line? The book is extremely well structured to teach you the basics and is also available as an eBook bringing tons of code for playing around and learning. Also there

Re: [osg-users] [forum] Using OSG after a very long hiatus

2017-03-02 Thread Rodrigo Dias
Hi, Book? C'mon! We're in 2017!! How do OSG intend to be a great 3D base without an up to date tutorial on-line? I'm trying the tutorials in the wiki of openscenegraph dot org (can't upload the link before I have 2 posts...) they're about 8~9 years old, and they're crashing most of the time

[osg-users] About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator

2017-03-02 Thread Mingxia Xie
Hi, all Why the parameter _lock_azim_while_panning is set to lock in a camera heading when performing panning operations in OSGEarth EarthManipulator. I think this can lead to the problem of steering when rotates parallel to the north or south poles. My OSGEarth version is 2.7. Thank you!

[osg-users] Up to date tutorials for linux

2017-03-02 Thread Rodrigo Dias
Hi everybody, I'm tyring to compile your tutorials on the wiki (can't send the links yet, this is my second post). I'm having some strange "Segmentation faults" that appear some times, disappear other times. I think it may be because these examples are rather old (8~9 years). I'm using the