ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/mgfdoc.tr
(Generate patch)

Comparing ray/src/cv/mgflib/mgfdoc.tr (file contents):
Revision 1.2 by greg, Fri May 12 21:42:42 1995 UTC vs.
Revision 1.7 by greg, Wed Sep 20 10:07:10 1995 UTC

# Line 746 | Line 746 | o door
746          o
747   o
748  
749        i cubfurn.inc -mx -t 405 133.5 0
750 o
751
749   # Six file cabinets (36" wide each)
750   # ("filecab.inc" was given as an earlier example in Section 1.2)
751   o filecab.x
# Line 1269 | Line 1266 | corresponds to the measurement at
1266   Values in between are separated by
1267   .I "(l_max-l_min)/(N-1)"
1268   nanometers.
1269 < All values must be non-negative, and the spectrum outside of the
1269 > All values should be non-negative unless defining a component for
1270 > complementary color mixing, and the spectrum outside of the
1271   specified range is assumed to be zero.
1272   (The visible range is 380 to 780 nm.)\0
1273   The actual units and scale of the measurements do not matter,
# Line 2228 | Line 2226 | o stylus
2226                  p 0 0 .005
2227          v vend =
2228                  p 0 0 .05
2229 <        cyl vtip1 .0015
2229 >        cyl vtip1 .0015 vend
2230          sph vend .0015
2231          cone vtip0 0 vtip1 .0015
2232   o
# Line 2390 | Line 2388 | ring - create a circular ring with inner and outer rad
2388   .SH
2389   SYNOPSIS
2390   .LP
2391 < .B cyl
2391 > .B ring
2392   .I "vc rmin rmax"
2393   .SH
2394   DESCRIPTION
# Line 2697 | Line 2695 | Greg Ward
2695   SEE ALSO
2696   .LP
2697   ies2rad(1), mgf2meta(1), obj2rad(1), oconv(1), rad2mgf(1), xform(1)
2698 < .ds RH
2701 < RAD2MGF
2698 > .ds RH RAD2MGF
2699   .bp
2700   .SH
2701   NAME
# Line 3124 | Line 3121 | following:
3121   #define MG_E_CMIX               4               /* cmix */
3122   #define MG_E_CSPEC              5               /* cspec        */
3123   #define MG_E_CXY                6               /* cxy          */
3124 < #define MG_E_CYL                7               /* cyl  */
3124 > #define MG_E_CYL                7               /* cyl          */
3125   #define MG_E_ED         8               /* ed           */
3126   #define MG_E_FACE               9               /* f            */
3127   #define MG_E_INCLUDE    10              /* i            */
# Line 3269 | Line 3266 | and return one of the non-zero values from "parser.h"
3266   #define MG_EUNK         1               /* unknown entity */
3267   #define MG_EARGC                2               /* wrong number of arguments */
3268   #define MG_ETYPE                3               /* argument type error */
3269 < #define MG_EILL         4               /* illegal argument value */
3269 > #define MG_EILL                         4               /* illegal argument value */
3270   #define MG_EUNDEF               5               /* undefined reference */
3271   #define MG_ENOFILE              6               /* cannot open input file */
3272   #define MG_EINCL                7               /* error in included file */
# Line 3291 | Line 3288 | listed above in the native country's language.
3288   .SH
3289   SEE ALSO
3290   .LP
3291 < mg_fgetpos, mg_handle, mg_init
3291 > mg_fgetpos, mg_handle, mg_init, mg_open
3292   .ds RH MG_OPEN
3293   .bp
3294   .SH
# Line 4277 | Line 4274 | mg_init, mg_load, obj_handler, xf_xfmpoint
4274   .SH
4275   NAME
4276   .LP
4277 < xf_xfmpoint xf_xfmvect, xf_rotvect, xf_scale - apply current
4277 > xf_xfmpoint, xf_xfmvect, xf_rotvect, xf_scale - apply current
4278   transformation
4279   .SH
4280   SYNOPSIS
# Line 4490 | Line 4487 | and adopt the following code to convert between CIE an
4487   #define  CIE_y_w                0.3333
4488   #endif
4489  
4490 < #define CIE_D           (       CIE_x_r*(CIE_y_g - CIE_y_b) + \\\\
4491 <                                CIE_x_g*(CIE_y_b - CIE_y_r) + \\\\
4490 > #define CIE_D           (       CIE_x_r*(CIE_y_g - CIE_y_b) + \\
4491 >                                CIE_x_g*(CIE_y_b - CIE_y_r) + \\
4492                                  CIE_x_b*(CIE_y_r - CIE_y_g)     )
4493 < #define CIE_C_rD        ( (1./CIE_y_w) * \\\\
4494 <                                ( CIE_x_w*(CIE_y_g - CIE_y_b) - \\\\
4495 <                                  CIE_y_w*(CIE_x_g - CIE_x_b) + \\\\
4493 > #define CIE_C_rD        ( (1./CIE_y_w) * \\
4494 >                                ( CIE_x_w*(CIE_y_g - CIE_y_b) - \\
4495 >                                  CIE_y_w*(CIE_x_g - CIE_x_b) + \\
4496                                    CIE_x_g*CIE_y_b - CIE_x_b*CIE_y_g     ) )
4497 < #define CIE_C_gD        ( (1./CIE_y_w) * \\\\
4498 <                                ( CIE_x_w*(CIE_y_b - CIE_y_r) - \\\\
4499 <                                  CIE_y_w*(CIE_x_b - CIE_x_r) - \\\\
4497 > #define CIE_C_gD        ( (1./CIE_y_w) * \\
4498 >                                ( CIE_x_w*(CIE_y_b - CIE_y_r) - \\
4499 >                                  CIE_y_w*(CIE_x_b - CIE_x_r) - \\
4500                                    CIE_x_r*CIE_y_b + CIE_x_b*CIE_y_r     ) )
4501 < #define CIE_C_bD        ( (1./CIE_y_w) * \\\\
4502 <                                ( CIE_x_w*(CIE_y_r - CIE_y_g) - \\\\
4503 <                                  CIE_y_w*(CIE_x_r - CIE_x_g) + \\\\
4501 > #define CIE_C_bD        ( (1./CIE_y_w) * \\
4502 >                                ( CIE_x_w*(CIE_y_r - CIE_y_g) - \\
4503 >                                  CIE_y_w*(CIE_x_r - CIE_x_g) + \\
4504                                    CIE_x_r*CIE_y_g - CIE_x_g*CIE_y_r     ) )
4505  
4506   #define CIE_rf          (CIE_y_r*CIE_C_rD/CIE_D)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines