Robert,
Thanks again for your responses to my earlier posts. I've followed your
suggestion and am in the process of setting up VPBMaster on my local PC, but
I've still got the osgdem process running in a lab working on the 1879 bitmaps
that I fed it 3 days ago, just to see what happens. I have to admit I've still
got some faith in osgdem getting the job done, because a former co-worker of
mine has used it in the past to generate samples of the Database I'm currently
processing and he went up to 9 levels with this samples, to render them at 2
Meters Per Pixel (I'm guessing it went to 9 levels because the last file
generated was "Test_L8_X248_Y66_subtile.ive" and I know that it starts at Level
0). This run took a few hours and resulted in the generation of 12,110 .ive
files.
I feel like I should explain what I'm trying to accomplish with your tool, to
justify my low-level questions. I work for a Flight Simulation company and am
trying to generate a Tactical Map to be used on a Windows Machine. The Map
contains an area of land approximately 1000kmx1000km, and we've decided to
render them at a max resolution of 2MPP, supporting zoom in capability to 2MPP,
and zoom out until the entire map is contained within the viewing window
(approx. 1/2 of a 19" monitor with a screen resolution of 1280x1024). We had a
sort of "in-house OpenGL expert" working on this for the past few months, and
he recently left the company to be closer to family in another state. I'm the
lucky guy who was chosen to pick up this task from him and become the new
"in-house expert". As I'm taking this task to uncharted territory, I'm running
into issues that my former co-worker didn't quite anticipate. While he
predicted that osgdem would process more than 10 levels-worth of .ive files, I
don't think he anticipated the amount of time this would take. The process has
been running for 79 hours now, and I've been checking the screen output
frequently to see if I can get a feel for what's going on. I see that it's
jumping back and forth between Levels 7, 8, and 9, and from looking at your
code, this seems to make sense to me. It looks like your code divides the
levels up into quadrants, and then evaluates each quadrant starting with the
bottom left, then moving to bottom right, top left, and then top right. I also
believe it goes down as far as it has to ('til it reaches the desired MPP), and
then works its way back up using recursion. My guess is that it must do all of
this processing before "dataset->writeDestination()" gets called, which I'm
also guessing is the point when the .ive file generation/output will begin.
This is the only explanation I could come up with for why no files have been
generated after 79 hours. You said in an earlier response that osgdem isn't
built to run through 9 levels, but that makes me wonder what is supposed to
happen if I try? I've done some calculations, and it looks like if the process
runs smoothly without interruption, it will complete in 4 more days, generating
349,525 and will take up only 52GB of disk space. This is quite remarkable (as
we originally anticipated 132GB-worth of output data), and I really hope that
it will work out for us, however you've already stated that it's too much data
for osgdem to handle.
As I stated above, I've looked into setting up vpbmaster as you suggested, but
it seems to me like it would only feed my input to osgdem, still requiring 10
levels-worth of .ive generation, so I'm not sure what would be the benefit of
using vpbmaster. However, I'm certainly open to suggestions, so I would love to
get that going. I've downloaded the source for VPBMaster, GDal, and libsquish,
but unfortunately I find myself stuck when trying to build the load. I'm
getting all kinds of errors with include files and .lib files and environment
variables. I've already got OpenSceneGraph and it's dependencies built, so I'm
wondering why I'm getting related errors. The only thing I can think of is that
I don't have the directory structure set up properly. I'm having no luck
finding any online documentation/instructions regarding the actual set-up of
VPBMaster. Could you please help me figure out how to get it set up, and then
I'd gladly pursue it as an alternative to using osgdem directly?
Again, I really appreciate the help you've provided and the time you've spent
addressing my issues. I'm very impressed with your tools and the support that
you personally provide to their users. We obviously want to leverage the
abilities and powers of osgdem, and I believe we can develop a very nice
Tactical Map if I could just get over the last couple hurdles.
Thanks again for your support!
Jake Armstrong
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org