PGL File Format

  • PGL file (Point Group file) is the file that defines the coordinate system of bones (or the coordinate system of object) every point of object belongs. PGL files is the text file that is used in a pair with LWOB file of LightWave.

  • The Form of PGL File
    PGL files are created in the forms as the following:

    PGLFILE2 (File identifier)
    Scene File Name
    Object File Name
    Reference File Name
    Number of Bones
    Number of Points
    The Bone No. that points belong (object is from 0, and bone is from 1)
    :

    Note: The line starting with "#" and the rows of characters after "//" indicate comments.

  • The following rows are BOX that has eight points, and one bone has been set. The six points belong to the coordinate system of bone, and the other two belong to the coordinate system of object. The coordinate value is described in the comment of "//" so as it can be identified easily.

    PGLFILE2
    #
    # Point Group List for LightWave 3D
    # Scene Name
    hako.lws
    # Object Name
    hako.lwo
    # Reference Object Name
    hako.lwo
    # Number of Bones
    1
    # [0] hako.lwo
    # [1] Bone

    # Number of Points
    8
    0 // [0] -0.507533,-0.466008,-0.433710
    1 // [1] -0.507533,0.442938,0.290678
    1 // [2] -0.507533,0.442938,-0.433710
    1 // [3] -0.507533,-0.466008,0.290678
    1 // [4] 0.525989,-0.466008,-0.433710
    1 // [5] 0.525989,0.442938,0.290678
    1 // [6] 0.525989,0.442938,-0.433710
    0 // [7] 0.525989,-0.466008,0.290678


Copyright(c) 1998 D-STORM, Inc.
All rights reserved.

Back To the Index