Fröhling

Niels Fröhling about [X]HTML, JS and technical tidbits

  • Home
  • About
July 14th, 2008

Blinn’s division by 0xFF revisited

Ethatron in Algorithms

While I was implementing several blending functions like the ‘over’-operator, I again was confronted with divisions by constants at range-boundaries. Like 0xFF for ‘normalizing’ unsigned char multiplications, and the equivalent 0xFFFF and 0xFFFFFFFF for unsigned short and unsigned long respectively. Most of us are familiar with Blinn’s approximation, which alone gave him a star in [...]

Weiterlesen...

Kein Kommentar

Tags

  • Algorithms Assembler bash C++ Homemade Javascript MMX Optimization Rants TYPO3

Categories

    • Applications
      • TYPO3
    • TidBits
      • Algorithms
      • Approximations
      • Equivalence
      • Fixes
      • Javascript
      • Optimizations
      • Scripts
    • Uncategorized

Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Recent Posts

    • jQuery’s animate is short-thought
    • movntq alignment
    • OP-equivalent series (pavgd)
    • OP-equivalent series (psubq)
    • OP-equivalent series (paddq)

 

  • September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  

Archives

    • August 2010
    • April 2010
    • February 2010
    • January 2010
    • July 2009
    • February 2009
    • December 2008
    • November 2008
    • August 2008
    • July 2008
    • May 2008
© 2010 Wired by Fröhling
Design von Dezzain Studio
Übersetzt von Htwo
Nature Pictures | Bamboo Blinds