home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2257 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1011 b 

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