Article View: net.graphics
Article #1381Re: question about the tracer
From: Friedrich Knauss
Date: Fri, 15 Aug 1986 19:43
Date: Fri, 15 Aug 1986 19:43
34 lines
1700 bytes
1700 bytes
In article <235@joevax.UUCP> sdh@joevax.UUCP (The Doctor) writes:
>
>Like the program. One problem: Everything comes out very dim. I tried changing
>the default for "sam" (contrast) but that didn't help.
>To make things brighter, would I change the ambient lighting, or what?
>
all sam will do is make the bottom plane less contrasty and more white.
to make things brighter try (in main()) raising the lightsource.
you do that by changing MV(0.0,900.0,0.0,ls) to something like
MV(0.0,3000,0.0,ls). I think you'd also want to enlarge the radius if
you did this.
>Also Susie doesn't come out at all. Very indistinct. Too bad.
changing the light source should help.
>To the best of my knowledge, the -S option (for contrast) doesn't work.
>I've tried the following:
>tracer -S0.9
>tracer -S 0.9
>
>That generates errors. What gives?
once again a problem in main().
under case ('S'), there is an
if statement reading as follows:
if(argv[i][2] < '0' || argv[i][2] > 9)
and it should be
if(argv[i][2] < '0' || argv[i][2] > '9')
the option should then be given as -S0.9
f
Technical Details
Message-ID:
<230@net1.UCSD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!ll-xn!mit-amt!mit-eddie!genrad!decvax!ittatc!dcdwest!sdcsvax!net1!fritzzReferences:
<235@joevax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!ll-xn!mit-amt!mit-eddie!genrad!decvax!ittatc!dcdwest!sdcsvax!net1!fritzz From: fritzz@net1.UCSD.EDU (Friedrich Knauss) Newsgroups: net.graphics Subject: Re: question about the tracer Message-ID: <230@net1.UCSD.EDU> Date: Fri, 15-Aug-86 15:43:22 EDT Article-I.D.: net1.230 Posted: Fri Aug 15 15:43:22 1986 Date-Received: Sun, 17-Aug-86 10:33:22 EDT References: <235@joevax.UUCP> Reply-To: fritzz@net1.UUCP (Friedrich Knauss) Distribution: net Organization: U.C. San Diego Lines: 34