Blender V2.61 - r43446
Classes | Variables

bsdf_microfacet.cpp File Reference

#include <OpenImageIO/fmath.h>
#include <OSL/genclosure.h>
#include "osl_closures.h"
#include "util_math.h"

Go to the source code of this file.

Classes

class  MicrofacetGGXClosure< Refractive >
class  MicrofacetBeckmannClosure< Refractive >

Variables

ClosureParam bsdf_microfacet_ggx_params []
ClosureParam bsdf_microfacet_ggx_refraction_params []
ClosureParam bsdf_microfacet_beckmann_params []
ClosureParam bsdf_microfacet_beckmann_refraction_params []

Variable Documentation

Initial value:
 {
    CLOSURE_VECTOR_PARAM(MicrofacetBeckmannClosure<0>, m_N),
    CLOSURE_FLOAT_PARAM (MicrofacetBeckmannClosure<0>, m_ab),
    CLOSURE_STRING_KEYPARAM("label"),
    CLOSURE_FINISH_PARAM(MicrofacetBeckmannClosure<0>) }

Definition at line 514 of file bsdf_microfacet.cpp.

Initial value:
 {
    CLOSURE_VECTOR_PARAM(MicrofacetBeckmannClosure<1>, m_N),
    CLOSURE_FLOAT_PARAM (MicrofacetBeckmannClosure<1>, m_ab),
    CLOSURE_FLOAT_PARAM (MicrofacetBeckmannClosure<1>, m_eta),
    CLOSURE_STRING_KEYPARAM("label"),
    CLOSURE_FINISH_PARAM(MicrofacetBeckmannClosure<1>) }

Definition at line 520 of file bsdf_microfacet.cpp.

Initial value:
 {
    CLOSURE_VECTOR_PARAM(MicrofacetGGXClosure<0>, m_N),
    CLOSURE_FLOAT_PARAM (MicrofacetGGXClosure<0>, m_ag),
    CLOSURE_STRING_KEYPARAM("label"),
    CLOSURE_FINISH_PARAM(MicrofacetGGXClosure<0>) }

Definition at line 501 of file bsdf_microfacet.cpp.

Initial value:
 {
    CLOSURE_VECTOR_PARAM(MicrofacetGGXClosure<1>, m_N),
    CLOSURE_FLOAT_PARAM (MicrofacetGGXClosure<1>, m_ag),
    CLOSURE_FLOAT_PARAM (MicrofacetGGXClosure<1>, m_eta),
    CLOSURE_STRING_KEYPARAM("label"),
    CLOSURE_FINISH_PARAM(MicrofacetGGXClosure<1>) }

Definition at line 507 of file bsdf_microfacet.cpp.