PAR Files


PAR Files General

PAR files are particle cloud definitions. They have two sections: HEADER and GEOMETRYDEF


SECTION: HEADER

Contains basic information:

PAR 1.0                      # version

SIZE .002                    # size (of each particle ?)

MATERIAL 00teleport.mat      # MAT to use

LIGHTINGMODE 0               # lighting mode (?)


SECTION: GEOMETRYDEF

RADIUS   0.109546                              # radius of particle cloud
INSERT OFFSET   0.000000 0.000000 0.108216     # xyz coordinates of insertion point

Then comes the coordinates of each particle.

VERTICES N       # N is the number of particles

# num:     x:         y:         z:         i:
    0:  -0.000141  -0.096503   0.000141   0.000000
    1:  -0.023951   0.033595  -0.088717   0.000000
    2:  -0.065190   0.033595   0.065190   0.000000
    3:   0.088717   0.033595   0.023951   0.000000
    4:  -0.006949  -0.092891  -0.025265   0.000000

. . .

X:, Y:, and Z: are the spatial coordinates of the particle. i: is the light intensity of the particle (?)