Changes between Version 8 and Version 9 of Support/UserGuides/osgconv

Show
Ignore:
Timestamp:
10/01/09 00:31:09 (5 years ago)
Author:
XenonofArcticus (IP: 66.7.168.70)
Comment:

osgconv OutputTextureFile? example

Legend:

Unmodified
Added
Removed
Modified
  • Support/UserGuides/osgconv

    v8 v9  
    4141=== Texture Conversion === 
    4242 
    43 When converting from formats like .IVE which contain embedded texture image files to formats such as .OSG which do not, the resulting database may not display any texturing. The .OSG writer supports the "!OutputTextureFiles" option, which instructs it to generate new external texture files. The texture files will be generated using the original texture filename still present in the scenegraph, and will use the format suggested by the filename's extension. This is only possible if the destination directory the texture file specifies already exists. 
     43When converting from formats like .IVE which contain embedded texture image files to formats such as .OSG which do not, the resulting database may not display any texturing. The .OSG writer supports the "!OutputTextureFiles" option, which instructs it to generate new external texture files. 
     44 
     45Example: 
     46{{{osgconv -O OutputTextureFiles in.ive out.osg}}} 
     47 
     48The texture files will be generated using the original texture filename still present in the scenegraph, and will use the format suggested by the filename's extension. This is only possible if the destination directory the texture file specifies already exists. 
    4449 
    4550Some combinations of formats and texture data are not compatible, for example the .RGB format is not capable of storing compressed texture data. This means that if you started with a scene using .RGB external texture images, converted to .IVE and have compressed your texture data since converting to IVE, converting back to .OSG with external .RGB texture files will not be successful. See also: http://forum.openscenegraph.org/viewtopic.php?t=3196&view=next