Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!mcsun!news.funet.fi!cc.tut.fi!jk87377 From: jk87377@cc.tut.fi (Juhana Kouhia) Newsgroups: comp.graphics Subject: Re: Ray-tracing Message-ID: <1991Jun26.171259.24698@cc.tut.fi> Date: 26 Jun 91 17:12:59 GMT Article-I.D.: cc.1991Jun26.171259.24698 References: <382@bibsyst.UUCP> <84569@bu.edu> Organization: Tampere University of Technology Lines: 29 In article <84569@bu.edu> krazykid@bass.bu.edu (Ernest Kim) writes: >In article <382@bibsyst.UUCP> ingar@bibsyst.UUCP (ingar) writes: >> >> I have tried to program a ray tracing program, but now when >>i almost have finished I have discovered that my lines isn't lines, >>they are curves! Can anybody help me?? >>If you have some source I would be glad. > >I am not sure of this, but someone told me that gamma correction is used to >compensate for the curve of a monitor I don't think curveous of the monitor is behind this; probably he has just fish eye lens caused by error in vector lenght calculation or in projection equation. I remember when I did make my first wireframe program to Commodore VIC-20 -- I made the projection equation myself -- after noting some errors in the picture I noted that I did write fish eye lens; I did fix the program: I divided each line to many short lines in 3D space and projected them separately. Yeah, fish eye projection was more attractive than 'normal' projection. Note that your pictures are now an ART pictures and if you now make a big error to your program and get really false pictures then you're REAL artist and can send your pictures to SIGGRAPH art slide show... :) Juhana Kouhia