Hello Robert,

Sorry for turning this into a troubleshooting thread. Bringing it back to
osg-users instead of osg-submissions. But please integrate the code I sent
yesterday when you have a chance. Thanks.

> Seems I spoke too soon. With only 2 levels, it works well, but with 4 levels,
> for some reason, front-facing tiles are paged out when they shouldn't be...
> During the class I actually generated other databases using osgdem directly
> from the command line with 4 levels, and they worked quite well, so I don't
> know what vpbmaster is doing wrong.

I fiddled a bit more with this while I was at the airport waiting for my plane
(I always wanted to say that! :)

It's only when outputting to an archive that the problem occurs. I have attached
the two scripts I use (which were created with osgdem <options> --so <file>),
but the only difference is the line:

  ArchiveName "world_20k_10k_4.osga"

Without that line, the result is what you would expect (an .ive file with all
the subtiles, and it looks good in osgviewer). With that line, I get an .osga
file, but when it loads, the tiles directly in front of the viewer disappear
and the ones behind page in, until I'm left with a hemisphere of the "back of
the Earth" that just stays like that no matter what the point of view is.

I'm also attaching the two log files for the runs of vpbmaster. Maybe something
there will give you a hint. At first glance, I think the run that created the
archive was way too fast... At least, much faster than the other, so that might
indicate a problem.

Note that I ran the two vpbmaster invocations in different directories so that
they did not interfere with each other, and did not use the same cache. Also,
the suffixes ("_noarchive" and "_archive") are just to differentiate the
attached files, they were named without those when I ran vpbmaster.

I can place the two resulting databases on my web server if you want (they're
not too big with just 4 levels). But if you can reproduce the problem on your
side, it might not be necessary.

Hope this helps. Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/

Attachment: world_20k_10k_4_noarchive.vpb
Description: Binary data

Attachment: world_20k_10k_4_archive.vpb
Description: Binary data

0.084254	:setDistributedBuildSplitLevel=2
0.149745	:Generated tasks file = build_master.tasks
0.14983	:Begining run
0.149897	:scheduling task : build_root_L0_X0_Y0.task
0.150552	:scheduling task : build_subtile_L1_X0_Y0.task
0.159357	:scheduling task : build_subtile_L1_X1_Y0.task
0.178568	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --record-subtile-on-leaf-tiles -l 2 --task build_root_L0_X0_Y0.task --cache world_20k_10k_4.cache --log build_root_L0_X0_Y0.log
0.192798	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --subtile 1 0 0 --task build_subtile_L1_X0_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X0_Y0.log
19.0355	:localhost  : completed in 18.227400  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --record-subtile-on-leaf-tiles -l 2 --task build_root_L0_X0_Y0.task --cache world_20k_10k_4.cache --log build_root_L0_X0_Y0.log result=0
19.0391	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --subtile 1 1 0 --task build_subtile_L1_X1_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X1_Y0.log
55.9277	:localhost  : completed in 55.091100  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --subtile 1 0 0 --task build_subtile_L1_X0_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X0_Y0.log result=0
55.9287	:localhost  : completed in 36.424900  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\4 -s build_master.source --subtile 1 1 0 --task build_subtile_L1_X1_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X1_Y0.log result=0
56.9284	:End of TaskSet: tasksPending=0 taskCompleted=3 taskRunning=0 tasksFailed=0
56.9285	:End of run: tasksPending=0 taskCompleted=3 taskRunning=0 tasksFailed=0
56.9285	:MachinePool::reportTimingStats()
56.9286	:    Machine : localhost
56.9286	:        Task::type=''	minTime=18.883900	maxTime=55.767005	averageTime=37.181202	totalComputeTime=111.543605	numTasks=3
56.9287	:Finished run successfully.
56.9287	:Total elapsed time = 56.928693
0.0155517	:setDistributedBuildSplitLevel=2
0.0434921	:Generated tasks file = build_master.tasks
0.0435734	:Begining run
0.0436019	:scheduling task : build_root_L0_X0_Y0.task
0.0495624	:scheduling task : build_subtile_L1_X0_Y0.task
0.04986	:scheduling task : build_subtile_L1_X1_Y0.task
0.0534185	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --subtile 1 0 0 --task build_subtile_L1_X0_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X0_Y0.log
0.0856578	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --record-subtile-on-leaf-tiles -l 2 --task build_root_L0_X0_Y0.task --cache world_20k_10k_4.cache --log build_root_L0_X0_Y0.log
2.33869	:localhost  : completed in 1.743650  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --record-subtile-on-leaf-tiles -l 2 --task build_root_L0_X0_Y0.task --cache world_20k_10k_4.cache --log build_root_L0_X0_Y0.log result=0
2.34409	:localhost : running osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --subtile 1 1 0 --task build_subtile_L1_X1_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X1_Y0.log
9.46017	:localhost  : completed in 8.778910  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --subtile 1 0 0 --task build_subtile_L1_X0_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X0_Y0.log result=0
10.1405	:localhost  : completed in 7.411570  seconds : osgdem --run-path C:\Documents and Settings\jeang\Desktop\CourseData\osg_terrain\tests\5 -s build_master.source --subtile 1 1 0 --task build_subtile_L1_X1_Y0.task --cache world_20k_10k_4.cache --log build_subtile_L1_X1_Y0.log result=0
10.4586	:End of TaskSet: tasksPending=0 taskCompleted=3 taskRunning=0 tasksFailed=0
10.4587	:End of run: tasksPending=0 taskCompleted=3 taskRunning=0 tasksFailed=0
10.4587	:MachinePool::reportTimingStats()
10.4587	:    Machine : localhost
10.4588	:        Task::type=''	minTime=2.294231	maxTime=9.409607	averageTime=6.500881	totalComputeTime=19.502644	numTasks=3
10.4588	:Finished run successfully.
10.4588	:Total elapsed time = 10.458790
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to