OGREXMLCONVERTER(1) General Commands Manual OGREXMLCONVERTER(1)NAME
OgreXMLConverter - converts data between XML and Ogre binary formats
SYNOPSIS
OgreXMLConverter [-i] [-e] [-l lodlevels] [-d loddist] [[-p lodpercent][-f lodnumtris]] sourcefile [destfile]
DESCRIPTION
OgreXMLConverter converts data between XML and Ogre binary formats.
OPTIONS
A summary of options is included below.
-i Interactive mode - prompt for options
-e DON'T generate edge lists (for stencil shadows)
-r DON'T reorganise vertex buffers to OGRE recommended format
-t Generate tangents (for normal mapping)
The following options are only applicable when converting XML to Mesh:
-l lodlevels
Number of LOD levels
-d loddist
Distance increment to reduce LOD
-p lodpercent
Percentage triangle reduction amount per LOD
-f lodnumtris
Fixed vertex reduction per LOD
sourcefile
Name of the file to convert
destfile
Optional name of file to write to. If you don't specify this OGRE works it out through the extension and the XML contents if the
source is XML. For example test.mesh becomes test.xml, test.xml becomes test.mesh if the XML document root is <mesh> etc.
AUTHOR
This manual page was written by Moritz Muehlenhoff <jmm@inutil.org> for the Debian GNU/Linux system, but may be used by others.
Nov 17, 2004 OGREXMLCONVERTER(1)
Check Out this Related Man Page
XML(3pm) User Contributed Perl Documentation XML(3pm)NAME
CGI::XML - Perl extension for converting CGI.pm variables to/from XML
SYNOPSIS
use CGI::XML;
$q = new CGI::XML;
# convert CGI.pm variables to XML
$xml = $q->toXML;
$xml = $q->toXML($root);
# convert XML to CGI.pm variables
$q->toCGI($xml);
DESCRIPTION
The CGI::XML module converts CGI.pm variables to XML and vice versa.
CGI::XML is a subclass of CGI.pm, so it reads the CGI variables just as CGI.pm would.
METHODS
$q = new CGI::XML
creates a new instance of CGI::XML. You also have access to all of the methods in CGI.pm.
$q->toXML([$root])
where $root is an optional parameter that specifies the root element. By default, toXML will not return a root element.
$q->toCGI($xml)
where $xml is the XML you would like to convert to CGI.pm parameters. Values in the XML will overwrite any existing values if they
exist.
NOTE
CGI::XML does not currently handle multiple selections passed from HTML forms. This will be added in a future release.
AUTHOR
Jonathan Eisenzopf <eisen@pobox.com>
CONTRIBUTORS
David Black <dblack@candle.superlink.net>
SEE ALSO perl(1), XML::Parser(3).
perl v5.8.8 2004-12-05 XML(3pm)
Here is the file named tuwork..........
209 200 WZ 6529 SKTNCA01X4X C POI LODI LODI 738 SKTNCA0127T LOD
Here is the scipt.......
cat tuwork |
while
read rva
do
num=`echo $rva | cut -d" " -f1-2`
reg=`echo $rva | cut -c10`
ocn=`echo $rva | cut -c12-15`
x=`echo $rva | cut -c29`... (3 Replies)
Hello ,
I have the folloiwing command :
sed -n "$var,$final w $destfile" $sourcefile
where :
$var - $final represent the range of line numbers to be written in $destfile
However I require this command to work in a loop for which i need the sed command to keep appending the output to the... (2 Replies)