You may also enjoy
C++ Review Notes
    
      
      
      
    
    
      
        
      
    
    
      
      
      
      
        40 minute read
      
    
  
1. std::optional
BSDF (Bidirectional Scattering Distribution Function)
    
      
      
      
    
    
      
        
      
    
    
      
      
      
      
        5 minute read
      
    
  
1. What is BSDF? The BSDF (bidirectional scattering distribution function) is a superset and the generalization of the BRDF and BTDF. BSDF (Image source: ...
Sampling
    
      
      
      
    
    
      
        
      
    
    
      
      
      
      
        5 minute read
      
    
  
1. Sampling Theory Sampling: takes discrete sample values from functions defined over continuous domains and then uses those samples to reconstruct new func...
Binary Lifting
    
      
      
      
    
    
      
        
      
    
    
      
      
      
      
        4 minute read
      
    
  
Binary Lifting is a fabulous technique which can take $O(logn)$ time to find the lowest common ancestor (LCA) of two nodes in a tree, or to find the k-th anc...