home *** CD-ROM | disk | FTP | other *** search
- Path: nntp-trd.UNINETT.no!usenet
- From: ARNLEIF MYDLAND <arn_mydl@gih.no>
- Newsgroups: comp.sys.amiga.programmer
- Subject: NormalVectors-How to compare angles?
- Date: Mon, 29 Jan 1996 13:46:08 +0100
- Organization: UNINETT news service
- Message-ID: <310CC190.78DF@gih.no>
- NNTP-Posting-Host: spirea.hig.no
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4 (X11; I; HP-UX A.09.05 9000/715)
-
- I'm trying to do gouroud shading in assem, and I need a fast way of comparing the vectors,
- so I can calculate the colors. Is there a faster way of doing this then using normalvectors and
- comparing
- them to the vector from the lightsource (angles between vectors are a shitty job to do (roots
- and sines)
- especially in asm).
- I can fake it if all the surfaces are the same size, but thats not what I want to do...
-
- I need some serious help here.......
- PLEASE PLEASE PLEASE PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-
- email me or ship it here...
-
- e-mail:haa_jako@hig.no
-