Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ncrlnk!ncratl!brown From: brown@ncratl.Atlanta.NCR.COM (Kyle Brown) Newsgroups: comp.graphics Subject: RE:3-D Rotation Algorithm Keywords: fractals, 3-D graphics Message-ID: <1014@ncratl.Atlanta.NCR.COM> Date: 12 Oct 89 12:46:25 GMT Organization: NCR Corporation, E&M Atlanta Lines: 12 Another trick that you may try (I've done this myself often for animation) is to pre-calculate the values of sine and consine for some set of thetas and do a table lookup when you do your rotation. This may or may not work, depending on what you're doing. While I have everyone's attention - Does anyone have C code or an algorithm to generate a fractal image called a Koch snowflake? I've been trying to hack one out myself but my geometry is not up to it. ------------------------------------------------------------------- "Earth - Mostly Harmless." The Hitchikers Guide to the Galaxy brown@ncratl.atlanta.ncr.com