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)

  •  Fixed Sphere Subtraction    
     Author: 
     Dated:  Friday, January 02 2009 @ 11:08 PM NZDT
     Viewed:  148 times  
    ProgrammingSo I came back to my voxel renderer, played around with it a bit and had a hunch. I changed a 1 to a 2 and tada, sphere subtraction fixed! I haven't bothered to figure out exactly why, and maybe I never will. It currently doesn't keep the radii optimal or free any nodes that are no longer needed, so the more spheres you subtract the slower and more memory hungry it gets. But it looks right, and for minimal thinking and 0 effort, that's not bad!



    Trackback

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

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