Re: [osg-users] Small VPB patches for Windows

2008-01-28 Thread Jean-Sebastien Guay
Hi Robert,

 Did you integrate the other small fixes that started
 this thread though?

Sorry, I didn't see the following message until I had sent this one. Thanks!

J-S
--
__
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Small VPB patches for Windows

2008-01-28 Thread Jean-Sebastien Guay
Hi Robert,

 I've just cleared my intray and am now reviewing your submission.  A
 quick read through of your posts and the mention of archive not
 working with vpbmaster is illuminating - vpbmaster build's don't
 support archives... yet... as you can't write to single archive
 multi-threaded.

I suspected something like that but didn't want to assume. Thanks for
confirming!

 What I do need to do is report an error when trying to select an
 archive when using vpbmaster.

That would be great. Did you integrate the other small fixes that started this
thread though?

The news that vpbmaster works on Windows at all (albeit the path through ssh not
being tested, only on one local machine) should be interesting to you, in any
case.

Thanks!

J-S
--
__
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Small VPB patches for Windows

2008-01-28 Thread Robert Osfield
Hi JS,

I've just cleared my intray and am now reviewing your submission.  A
quick read through of your posts and the mention of archive not
working with vpbmaster is illuminating - vpbmaster build's don't
support archives... yet... as you can't write to single archive
multi-threaded.

What I do need to do is report an error when trying to select an
archive when using vpbmaster.

Robert.

On Jan 25, 2008 3:51 PM, Jean-Sebastien Guay
[EMAIL PROTECTED] wrote:
 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/
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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


Re: [osg-users] Small VPB patches for Windows

2008-01-25 Thread Jean-Sebastien Guay
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/

world_20k_10k_4_noarchive.vpb
Description: Binary data


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