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

Comparing ray/src/cv/bsdf2rad.c (file contents):
Revision 2.30 by greg, Mon May 15 19:17:27 2017 UTC vs.
Revision 2.31 by greg, Wed May 31 02:41:52 2017 UTC

# Line 513 | Line 513 | put_hemispheres(void)
513          if (front_comp) {
514                  printf(
515   "\n!genrev %s Front \"R*sin(A*t)\" \"R*cos(A*t)\" %d -e \"R:%g;A:%f\" -s | xform -t %g 0 0\n",
516 <                                sph_fmat, nsegs, sph_rad, 0.495*PI, sph_xoffset);
516 >                                sph_fmat, nsegs, sph_rad, 0.5*PI, sph_xoffset);
517                  printf("\nvoid brighttext front_text\n3 helvet.fnt . FRONT\n0\n");
518                  printf("12\n\t%f %f 0\n\t%f 0 0\n\t0 %f 0\n\t.01 1 -.1\n",
519                                  -.22*sph_rad + sph_xoffset, -1.4*sph_rad,
# Line 529 | Line 529 | put_hemispheres(void)
529          if (back_comp) {
530                  printf(
531   "\n!genrev %s Back \"R*cos(A*t)\" \"R*sin(A*t)\" %d -e \"R:%g;A:%f\" -s | xform -t %g 0 0\n",
532 <                                sph_bmat, nsegs, sph_rad, 0.495*PI, -sph_xoffset);
532 >                                sph_bmat, nsegs, sph_rad, 0.5*PI, -sph_xoffset);
533                  printf("\nvoid brighttext back_text\n3 helvet.fnt . BACK\n0\n");
534                  printf("12\n\t%f %f 0\n\t%f 0 0\n\t0 %f 0\n\t.01 1 -.1\n",
535                                  -.22*sph_rad - sph_xoffset, -1.4*sph_rad,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines