abstract struct BxDF

Direct Known Subclasses

Defined in:

bxdf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def cos_phi(w : Vector) #

[View source]
def cos_theta(w : Vector) #

[View source]
abstract def f(wo : Vector, wi : Vector) : Color #

[View source]
def matches_flags?(other : BxDF::Type) #

[View source]
abstract def pdf(wo : Vector, wi : Vector) : Color #

[View source]
abstract def sample_f(wo : Vector, u1 : Float64 = rand, u2 : Float64 = rand) : Tuple(Color, Vector, Float64) #

used for BxDFs where the usage of f(wo, wi) is not practicable, e.g. for perfectly specular surfaces


[View source]
def sin_phi(w : Vector) #

[View source]
def sin_theta(w : Vector) #

[View source]
def sin_theta_2(w : Vector) #

[View source]
def type : Type #

[View source]