Re: [osg-users] Convert .earth file to .osg format

2019-05-03 Thread Steven Jones
Chris, I can definitely do that, since I have the original files (imagery and elevation) in segregated in separate sub-directories. I'd still need to be able to visualize them though as I test the build process to ensure that I'm seeing the 3D aspect of the overall terrain. With a VRT, I'm

Re: [osg-users] Convert .earth file to .osg format

2019-05-03 Thread Chris Hanson
I really feel like you need to step back a couple of steps and get a working process. Like, can you build a dataset with JUST elevation data and just ONE simple GeoTIFF terrain elevation file? When you have a process that works, you can work forward, adding complexity and watch for where it

Re: [osg-users] Convert .earth file to .osg format

2019-05-03 Thread Steven Jones
Hi Chris "D", Thanks - I'd done some researching and came to the same basic conclusion... For now, I'm going to trust that the values are as they should be... I've created a VRT file using gdalbuildvrt but am not sure how that can be used now to ultimately create an osg (or osgb) file to use

Re: [osg-users] Convert .earth file to .osg format

2019-05-03 Thread Chris Djali
Hi, I think they're talking about the C preprocessor definition, FLT_MAX rather than anything specific to anything used here: https://www.tutorialspoint.com/c_standard_library/float_h.htm It's the maximum value of an IEEE 32-bit float. Cheers, Chris -- Read this topic online

Re: [osg-users] Convert .earth file to .osg format

2019-05-03 Thread Steven Jones
Sorry to be a bother Chris, but I've drilled through QGIS' various methods of viewing GeoTiff metadata but cannot find anything referencing any values named "Flt_Max". I must be missing something... ... Cheers, Steven -- Read this topic online here:

Re: [osg-users] adding object models in osgEarth best practices

2019-05-03 Thread David Bobavid
Hi Nick, Thanks - I'll give it a try! Cheers, David -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75946#75946 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] adding object models in osgEarth best practices

2019-05-03 Thread Trajce Nikolov NICK
Hi David, to set up a Quat with your hpr you can do something like this: osg::Quat q; q.makeRotate(h,osg::Vec3(0,0,1),p,osg::Vec3(1,0,0),r,osg::Vec3(0,1,0)); of course you can tune the order Cheers, Nick On Thu, May 2, 2019 at 11:02 PM David Bobavid wrote: > Hi Eran, > > Ok, thanks! I'll