Hi Chris -- I think I got and applied all your patches, but I get a compile failure with osgconv:

3>Compiling...
3>osgconv.cpp
3>..\..\..\applications\osgconv\osgconv.cpp(694) : error C2039: 'getCurrentWorkingDirectory' : is not a member of 'osgDB' 3>..\..\..\applications\osgconv\osgconv.cpp(694) : error C3861: 'getCurrentWorkingDirectory': identifier not found 3>..\..\..\applications\osgconv\osgconv.cpp(971) : error C2039: 'setCurrentWorkingDirectory' : is not a member of 'osgDB' 3>..\..\..\applications\osgconv\osgconv.cpp(971) : error C3861: 'setCurrentWorkingDirectory': identifier not found

Etc.

Indeed, searching for getCurrentWorkingDirectory in the osgDB source tree fails, so I think either you didn't post something I need, or I somehow missed it.

Help?

Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466



Chris 'Xenon' Hanson wrote:
  This patch is dependent on virtually every other patch I already submitted 
today.

  The included changes add a new option to osgconv, "-R [suffix]" to permit 
batch
recursive conversion of databases with external references via PagedLOD or 
ProxyNode
objects. This is mainly intended for and tested with terrain databases built by
VirtualPlanetBuilder's osgdem tool.

  The suffix is optional, but may be used to propagate a format change. Without 
a
specified suffix, osgconv will simply rewrite PagedLOD/ProxyNode child output 
files to the
same location as the main output file specified on the command-line, using the 
same name
and format as they originally were. If you are employing osgconv to convert 
from .osg to
.ive (or reverse), this means the top-level file will be written to the new 
format, but
the child files will remain in their original format. Therefore, when 
converting the
top-level file from .osg to .ive, you need to specify

-R .ive

  The suffix-handling code will strip off ALL suffixes from the child filenames 
before
adding the new suffix. This means if you are employing a pseudo-loader 
technique (an input
filename ending in something like ".osg.scale") the pseudo-loader suffix will 
be properly
removed prior to constructing the output filename. In this case you might even 
have an
input file like ".osg.scale" and an output suffix of "-R .osg" which would not 
convert
formats, but simply apply and strip off the pseudo-loader.

  i have tested all of these features with VPB/osgdem terrain databases, but do 
not have
any way to test them with ProxyNode.

  Once this code is in trunk, I will update the osgconv wiki page to reflect 
this new
functionality.



------------------------------------------------------------------------

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to