Path: utzoo!attcan!uunet!lll-winken!xanth!nic.MR.NET!indri!csd4.milw.wisc.edu!uxc!iuvax!watmath!watcgl!tbvanbelle From: tbvanbelle@watcgl.waterloo.edu (Terry Van Belle) Newsgroups: comp.graphics Subject: Re: fast 3D algorithms Keywords: no trig functions Message-ID: <9666@watcgl.waterloo.edu> Date: 12 May 89 14:41:18 GMT References: Reply-To: tbvanbelle@watcgl.waterloo.edu (Terry Van Belle) Organization: U. of Waterloo, Ontario Lines: 17 In article sofmac@topaz.rutgers.edu (Sofus) writes: > >I m trying to make a fast procedure in graphics to simulate 3D. >My algorithms consists of sin & cos, but they are too slow. If >anybody knows of any fast 3D algorithms, I would be really happy >if they would mail me them. I'm looking especially for algorithms >that don't use any kind of trig functions like sin, cos, tan, etc. >Any help in this area would be deeply appreciated. The first thing you should check is whether your sin's & cos' can be calculated just once & stored in variables. That's the way the 3-d algorithms in _Microcomputer_Graphics_for_the_[Apple | IBMPC]_ work. They are written in (sorry) BASIC. I can't remember the author. If you must calculate sin's & cos' on the fly, try a lookup table. Terry