Up Title 

  Overview Creating  Editing  Special Commands  File Format  Control Points  Field

Camera - File Format

Text file format

Example:

{ camera
    size 0.25;
    vrc { vrc
        vrp ( 1 , 1 , 1 );
        prp ( 0 , 0 , -1 );
        vup ( 0 , 0 , 1 );
        vpn ( 1 , 0 , 0 );
        umax 1;
        umin -1;
        vmax 1;
        vmin -1;
        type 1;
        f 1;
        b 0;
        fon 0;
        bon 0;
}
 
 
vrp definition of the view reference point ( VRP ) , the origin of VCR system.With the VPN defines the plane of the image.
prp definition of the projection reference point ( PRP ).
vup definition of the view up vector ( VUP ), which limit the v axis on the image plane.
vpn definition of the view-plane normal ( VPN ), is the n axis of the VRC system.With the VPN defines the plane of the image.
umax
umin
vmax
vmin
definition of limitis of the image window on the view plane.
type Type of projection.
1 means perspective projection , while 0 means parallel projection.
f the front distance ( F ). This parameter will be ignored.
b the la back distance ( B ). This parameter will be ignored.
fon This parameter will be ignored.
bon This parameter will be ignored.
 

Binary file Format

Not allowed.



Up Title