PVRGeoPOD Command-Line Options

A list of the available command-line options for PVRGeoPOD CLI

Usage

PVRGeoPOD -i=<input file> -o=<output file(pod|.h|.cpp)> --<option>=<value|string>

Example

PVRGeoPOD -i=duck.dae -o=duck.pod --cs=ogl

Options

The table below provides a list of PVRGeoPOD command-line options and their corresponding example usage and description.

Option Description Values
--load-options Load export options. =1 to enable
--save-options Save the export options. =1 to enable
--flip-texture-v Flip V (TexCoord). =1 to enable
--export-indexed Export indexed geometry. =1 to enable
--export-interleaved Export interleaved geometry data. =1 to enable
--sort-vertices Sort geometry vertices. =1 to enable
--export-tangent-space Export tangent space. =1 to enable
--export-animation Export animation. =1 to enable
--export-indexed-animation Index animation. =1 to enable
--export-geometry Export geometry. =1 to enable
--export-matrices Export matrices. =1 to enable
--export-mapping-channels Export mapping channels. =1 to enable
--export-materials Export materials. =1 to enable
--export-skinning Export skinning data. =1 to enable
--invert-transparency Invert transparency. =1 to enable
--export-model-space Export in model space. =1 to enable
--export-bonebatching Split the mesh in batches so the number of bones per mesh are limited. =1 to enable
--export-adjacency Export adjacency list for triangles. =1 to enable
--export-textures Export textures as PVR files. =1 to enable
--texture-mipmap Export textures with mipmapping. =1 to enable
--merge Merge texture, effects, and blending values from the overwritten or another .pod file. e.g. --merge, --merge=c:/other.pod
--tangent-space-vtx-split A threshold to split the vertices on. e.g. --tangent-space-vtx-split=0.000
--bone-limit The maximum number of bones in a batch. e.g. --bone-limit=9
--pad-data-to Pad the vertex data to a number of bytes. e.g. --pad-data-to=4
--static-frame The frame to use when exporting in model space. e.g. --static-frame=0
--tangent-uvw-src The UVW set to use for generating tangent-space data. e.g. --tangent-uvw-src=0
--cs

By default, PVRGeoPOD converts the coordinate system of the scene to OpenGL (–cs=ogl).

The --cs flag will override this. To convert the scene to the D3D coordinate system use --cs=d3d

ogl

d3d

e.g. --cs=ogl

--triangle-sort The triangle sorting method.

0 = No Sorting

1 = Vertex Cache Block

2 = D3DX Optimiser

3 = Strip Order (fast)

4 = Strip Order (high-quality)

e.g. --triangle-sort=3

--primitive-type The primitive type.

0 = TriList

2 = TriStrips

e.g. --primitive-type=0

--texture-format The format of the textures exported as PVR.

0 = PVRTC_2bpp

1 = PVRTC_4bpp

2 = PVRTC2_2bpp

3 = PVRTC2_4bpp

4 = ETC1

5 = ETC2

6 = RGB565

7 = RGBA4444

8 = RGBA8888

e.g. --texture-format=1

--export-pos Export position data. Note, setting --pos-typewill automatically enable this. =1 to enable
--export-nor Export position data. Note, setting --nor-type will automatically enable this. =1 to enable
--export-tan Export position data. Note, setting --tan-type will automatically enable this. =1 to enable
--export-bin Export position data. Note, setting --bin-type will automatically enable this. =1 to enable
--export-col Export position data. Note, setting --col-type will automatically enable this. =1 to enable
--export-bone-idx Export position data. Note, setting --bone-idx-type will automatically enable this. =1 to enable
--export-bone-wt Export position data. Note, setting --bone-wt-type will automatically enable this. =1 to enable
--export-uvw0 Export position data. Note, setting --uvw0-type will automatically enable this. =1 to enable
--export-uvw1 Export position data. Note, setting --uvw1-type will automatically enable this. =1 to enable
--export-uvw2 Export position data. Note, setting --uvw2-type will automatically enable this. =1 to enable
--export-uvw3 Export position data. Note, setting --uvw3-type will automatically enable this. =1 to enable
--export-uvw4 Export position data. Note, setting --uvw4-type will automatically enable this. =1 to enable
--export-uvw5 Export position data. Note, setting --uvw5-type will automatically enable this. =1 to enable
--export-uvw6 Export position data. Note, setting --uvw6-type will automatically enable this. =1 to enable
--export-uvw7 Export position data. Note, setting --uvw7-type will automatically enable this. =1 to enable
--pos-type The data type for vertex positions.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --pos-type=float

--nor-type The data type for vertex normals.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --nor-type=float

--tan-type The data type for tangents.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --tan-type=float

--bin-type The data type for binormals.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --bin-type=float

--col-type The data type for vertex colours.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --col-type=RGBA

--bone-idx-type The data type for bone indices.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --bone-idx-type=ubyte

--bone-wt-type The data type for bone weights.

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --bone-wt-type=float

--uvw0-type The data type for vertex UVW co-ordinates (set 0).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw0-type=float

--uvw1-type The data type for vertex UVW co-ordinates (set 1).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw1-type=float

--uvw2-type The data type for vertex UVW co-ordinates (set 2).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw2-type=float

--uvw3-type The data type for vertex UVW co-ordinates (set 3).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw3-type=float

--uvw4-type The data type for vertex UVW co-ordinates (set 4).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw4-type=float

--uvw5-type The data type for vertex UVW co-ordinates (set 5).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw5-type=float

--uvw6-type The data type for vertex UVW co-ordinates (set 6).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw6-type=float

--uvw7-type The data type for vertex UVW co-ordinates (set 7).

float, half-float, int, unsigned int, ushort, ushortN, RGBA, ABGR, ARGB, D3DCOLOR, UBYTE4, DEC3N, fixed, ubyte, ubyteN, short, shortN, byte, byteN

e.g. --uvw7-type=float