Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cwjcc!ukma!gatech!gitpyr!eephdjh From: eephdjh@pyr.gatech.EDU (Haleblian, Jim) Newsgroups: comp.graphics Subject: Re: Trying to get QRT working... Message-ID: <7436@pyr.gatech.EDU> Date: 28 Feb 89 22:55:09 GMT References: <10469@pasteur.Berkeley.EDU> Reply-To: eephdjh@pyr.UUCP (Haleblian, Jim) Distribution: na Organization: Georgia Institute of Technology Lines: 32 In article <10469@pasteur.Berkeley.EDU> you write: > >As soon as the QRT source was posted, I immediately compiled it on the >Sun 3/50 here at Berkeley. After adding a #include to lexer.c >to get toupper() defined, it compiled perfectly. However, I can't get >it to run on any of the sample files posted here. Here is what happens >if I try to execute the program on the table.qrt file: > >GETOBJECT: token=[ >GETATTRIB : token=[: >GETPRIMITIVE : token=[: > This is actually a compatability bug that I ran into when I was porting QRT to the Sequent Balance (and boy, do it screaaaaaaam). I believe you have to change your toupper() call in the GetToken() call to another form of toupper which uppercases only ASCII chars. The problem you're having there is the comment characters are being changed to 'uppercase', and the QRT parser doesn't understand the resulting tokens. Incidentally, I (among others) can confirm the rumor that there are 020/030 881 versions running on the Amiga. They do run darn fast. If anybody's worked on the problem of turning QRT into a distributed raytracer, I'd surely appreciate hearing from him/her. - Jim -- James E. Haleblian "Mac II: The Volkswagen Beetle of Personal Computing." Georgia Insitute of Technology, Atlanta Georgia, 30332 uucp: ...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!eephdjh ARPA: eephdjh@pyr.ocs.gatech.edu