Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!bloom-beacon!husc6!cs.utexas.edu!vixen!ronbo From: ronbo@vixen.uucp (Ron Hitchens) Newsgroups: comp.graphics Subject: Re: Dark 'gears' output from Mark VandeWettering's raytracer Keywords: gears.c raytracer Mark VandeWettering Message-ID: <251@vixen.uucp> Date: 14 Sep 88 07:30:23 GMT References: <6574@chinet.UUCP> Reply-To: ronbo@vixen.UUCP (Ron Hitchens) Organization: My House, Austin TX Lines: 38 In article <6574@chinet.UUCP> musashi@chinet.UUCP (Irving Moy) writes: > I tried 'gears' at a size factor of 4 and the resulting output is >quite dark. The background is a nice UNC blue but the gear surfaces are >very dark and so is the reflecting polygon underneath the gears. >Has anyone else tried to raytrace 'gears' with Mark's program yet??? >Enquiring minds want to know..... This may have some bearing on the problem: vixen% ray -i gears.nff -o gears.pic -t ray: (9345 prims, 5 lights) ray: inputfile = "gears.nff" ray: resolution 512 512 ray: after adding bounding volumes, 10516 prims ^^^^^ From defs.h: #define MAXPRIMS (10000) ^^^^^ I ran gears.nff last night and got the same results. I bumped MAXPRIMS to 11000 and ran it again, seemed to work fine. I only ran a 128x128 version, the resolution was so low that most of the gears looked like fuzzy blobs, but it seemed to be properly lighted and plenty colorful. I have a 512x512 run going now, should be finished in about 12 hours (I love my Sun 3/60FC, but it sure would be handy to have a Cray now and then). > (BTW, if you look closely at 'sphereflake', > you can see Elvis (recursively, of course)). Naw, that's the spirit of Tom Snyder, Elvis is way too busy channelling through an unemployed truck driver in Muncie, Indiana. To Mark VandeWettering: Hey, thanks for the ray tracer. I don't suppose you could send me a disk drive to store all these picture files on could you? Ron Hitchens ronbo@vixen.uucp hitchens@cs.utexas.edu