Re: [osg-users] Resolution of .earth vice .osg/.ive Formats?

2019-06-02 Thread Steven Jones
Update...

With the LOD level set to 8, osgdem generated approx 1,600 .ive files.

With the value set to 99, it's been crunching for over 2 hours, and it's up to 
38,000+ .ive files and is still crunching. 

The latest .ive file to be created is dbtest_L9_X255_Y63_subtile.ive.

The imagery files (4,000+) were originally .jp2 format, and I converted them to 
GeoTiffs using GeoJasper.

Steven

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





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


Re: [osg-users] Resolution of .earth vice .osg/.ive Formats?

2019-06-02 Thread Steven Jones
Chris,

The imagery files are delineated (in sub-directories) as L00 through L08, 
elevation through L04. Originally all were part of a CDB database. I'm assuming 
that, per current CDB standards, this would indicate up to an LOD of 08, unless 
I'm mistaken...

I can change it to "99", per some of the info I've run across for osgdem/VPB, 
and re-create, just in case...

Also, I view both types of formats using an NVIDIA GTX 780M GPU, which should 
be more than capable of handling them.

... 

Thank you!

Cheers,
Steven

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





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


Re: [osg-users] Huge perfomance issues

2019-06-02 Thread Chris Hanson
I think I'd create a single object to represent ALL of the objects of a
given class, eg Lines, PolygonLines, Rectangles, etc. Set this up to use
buffer objects and it will refer to the buffer object to fetch the
vertices, indices, and possibly attributes for the appearance.

Then on each frame after you have received ALL the data, bulk assemble them
together into memory buffers of vertices and appearance attributes, then
shovel only those buffers to OpenGL once per frame.

I assume frustum clipping is probably not your biggest concern, so I'd just
ignore it for the most part by giving each object an artificially large
bounding sphere.




On Sat, Jun 1, 2019 at 5:29 AM Yu Qi  wrote:

> Hi,
>   By the way,the default vertex specification of geometry is
> displaylist,if you need to change vertex frequently,use VAO and VBO.
>
> Thank you!
>
> Cheers,
> Yu
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76167#76167
>
>
>
>
>
> ___
> 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] Resolution of .earth vice .osg/.ive Formats?

2019-06-02 Thread Chris Hanson
Are you sure 8 levels

>osgdem --TERRAIN --no-terrain-simplification --npot --BuildOverlays True
--blending-policy ENABLE_BLENDING --PagedLOD --interpolate-imagery
--mip-mapping-imagery -l 8 -d C:\DB\N33\W118\Mosaic\Ele -t
C:\DB\N33\W118\Mosaic\Img -gb -118.025000568 32.8698343849721
-116.974999432 34.1301656150279 -o dbtest.ive

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


[osg-users] Resolution of .earth vice .osg/.ive Formats?

2019-06-02 Thread Steven Jones
I've noticed that there is a rather large difference in the resolution of the 
terrain when rendered in OSG using different methods.

For example, when I view a terrain database in the .earth format, the 
resolution of the terrain is very noticeably higher than the resolution of the 
terrain in both the .ive and .osg formats (using the exact same imagery and 
elevation tiles).

Is there a method to increase the resolution level for the .osg/.ive data?

I use osgdem to create the .osg and .ive tile sets - see following example for 
the .ive format:

osgdem --TERRAIN --no-terrain-simplification --npot --BuildOverlays True 
--blending-policy ENABLE_BLENDING --PagedLOD --interpolate-imagery 
--mip-mapping-imagery -l 8 -d C:\DB\N33\W118\Mosaic\Ele -t 
C:\DB\N33\W118\Mosaic\Img -gb -118.025000568 32.8698343849721 
-116.974999432 34.1301656150279 -o dbtest.ive

Thanks!

Steven

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





___
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-06-02 Thread Steven Jones
All is well - Topic can be closed. I found the info I needed and have 
successfully created both osg and ive databases for the terrain data I'm using.

Many thanks for all of the help!

Cheers,
Steven

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





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