Razor Code
Rambling about code since quite recently

Topics

User Functions





    Don't have an account yet? Sign up as a New User
    Lost your password?

Events

There are no upcoming events

Older Stories

Sunday 14-Sep

  • ACM ICPC 2008 (0)

  • Monday 11-Aug

  • NZ Programming Comp (0)

  • Sunday 27-Jul

  • Blast from the past (0)

  • Monday 21-Jul

  • Timetable generator again (0)

  • Tuesday 08-Jul

  • Hosting (2)

  • Saturday 05-Apr

  • Sparse Volume (0)

  • Friday 28-Mar

  • Carmack (0)

  • Tuesday 04-Mar

  • Back to Uni (0)
  • Dell Kill Switch Direct (0)

  • Monday 18-Feb

  • Lappy (0)

  •  Tetrahedral normal calculation    
     Author: 
     Dated:  Wednesday, December 05 2007 @ 12:37 AM NZDT
     Viewed:  817 times  
    Programming

    Turned out deriving a formula for calculating normals from each of my tetrahedral interpolation formulae was easy. The calculation is a quite a bit simpler than for trilinear interpolation. So here's a screenshot, showing how the world is now entirely made up of flat surfaces. It's not that much faster, so either I need to work on it a bit or it wasn't really worth it. But I should at least look at the milliseconds (not framerate) before I decide.




    Trackback

    Trackback URL for this entry: http://razorcode.net/trackback.php/TetraNormals

    No trackback comments for this entry.
    Tetrahedral normal calculation | 0 comments | Create New Account
    The following comments are owned by whomever posted them. This site is not responsible for what they say.