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 
not sure how to do that.

...

Cheers,

Steven

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75951#75951





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 breaks and you'll
know what the problematic aspect is.

At the moment, the problem could be anywhere.


On Fri, May 3, 2019 at 8:45 PM Steven Jones  wrote:

> 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 within my
> application to view it in 3D.
>
> The files used to build the vrt were both elevation and imagery GeoTiffs,
> and I used the -separate option (tried it without and after a little over
> 1,000  files were processed, gdalbuildvrt stopped due to too many errors.
> (The mosaic has 600+ elevation files and 4,000+ imagery files - error was
> likely due to differences related to the number of bands and float versus
> int.)
>
> How best to proceed?
>
> ...
>
> Cheers,
>
> Steven
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75949#75949
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 within my application to 
view it in 3D.

The files used to build the vrt were both elevation and imagery GeoTiffs, and I 
used the -separate option (tried it without and after a little over 1,000  
files were processed, gdalbuildvrt stopped due to too many errors. (The mosaic 
has 600+ elevation files and 4,000+ imagery files - error was likely due to 
differences related to the number of bands and float versus int.)

How best to proceed?

...

Cheers,

Steven

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75949#75949





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 here:
http://forum.openscenegraph.org/viewtopic.php?p=75948#75948





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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:
http://forum.openscenegraph.org/viewtopic.php?p=75947#75947





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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
http://lists.openscenegraph.org/listinfo.cgi/osg-users-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 look into that.
>
> Last question (I think) for now... I'm trying to set my cow's orientation.
> From what you have suggested previously, would I add another
> MatrixTransform node with the rotations set into it?
>
> Or should I add a PositionAttitudeTransform instead? If so, are there some
> helper classes that I can use that will create the Quat properly based on
> my heading, pitch and roll? I've been looking through the headers and
> cannot seem to find something that will help.
>
> Thank you again!
>
> Cheers,
> David
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75944#75944
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org