--- ray/src/rt/rv2.c 2005/06/13 20:07:56 2.50 +++ ray/src/rt/rv2.c 2005/08/22 07:02:21 2.53 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rv2.c,v 2.50 2005/06/13 20:07:56 greg Exp $"; +static const char RCSid[] = "$Id: rv2.c,v 2.53 2005/08/22 07:02:21 greg Exp $"; #endif /* * rv2.c - command routines used in tracing a view. @@ -289,6 +289,7 @@ getfocus( /* set focus distance */ char *s ) { + char buf[64]; FVECT vc; double dist; @@ -316,6 +317,8 @@ getfocus( /* set focus distance */ return; } ourview.vdist = dist; + sprintf(buf, "Focus distance set to %f\n", dist); + (*dev->comout)(buf); } @@ -522,13 +525,13 @@ setparam( /* get/set program parameter */ if (s[0] == '\0') { (*dev->comout)( - "aa ab ad ar as av aw b dc dv dj ds dt i lr lw me ma mg ms ps pt R sj st bv: "); + "aa ab ad ar as av aw b bv dc dv dj ds dt i lr lw me ma mg ms ps pt sj st u: "); (*dev->comin)(buf, NULL); s = buf; } switch (s[0]) { - case 'R': /* random sampling */ - getparam(s+1, "random sampling", 'b', + case 'u': /* uncorrelated sampling */ + getparam(s+1, "uncorrelated sampling", 'b', (void *)&rand_samp); break; case 'l': /* limit */ @@ -731,7 +734,7 @@ char *s; (*dev->comout)("ray hit nothing"); else { OBJREC *mat = NULL; - OBJREC *mod = NULL;; + OBJREC *mod = NULL; char matspec[256]; matspec[0] = '\0'; if (thisray.ro->omod != OVOID) {