#include <blender_voronoi.h>
Public Member Functions | |
| ~BlenderVoronoiTexture3D () | |
| BlenderVoronoiTexture3D (boost::shared_ptr< Texture< T > > c1, boost::shared_ptr< Texture< T > > c2, short colType, short distMetric, float mExp, float ns_outscale, float noiseSize, float nabla, float w1, float w2, float w3, float w4, float bright, float contrast, TextureMapping3D *map) | |
| T | Evaluate (const DifferentialGeometry &dg) const |
Static Public Member Functions | |
| static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
| static Texture< Spectrum > * | CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
| TextureMapping3D * | mapping |
| boost::shared_ptr< Texture< T > > | tex1 |
| boost::shared_ptr< Texture< T > > | tex2 |
| blender::Tex | tex |
Definition at line 32 of file blender_voronoi.h.
| lux::BlenderVoronoiTexture3D< T >::~BlenderVoronoiTexture3D | ( | ) | [inline] |
Definition at line 36 of file blender_voronoi.h.
References lux::BlenderVoronoiTexture3D< T >::mapping.
| lux::BlenderVoronoiTexture3D< T >::BlenderVoronoiTexture3D | ( | boost::shared_ptr< Texture< T > > | c1, | |
| boost::shared_ptr< Texture< T > > | c2, | |||
| short | colType, | |||
| short | distMetric, | |||
| float | mExp, | |||
| float | ns_outscale, | |||
| float | noiseSize, | |||
| float | nabla, | |||
| float | w1, | |||
| float | w2, | |||
| float | w3, | |||
| float | w4, | |||
| float | bright, | |||
| float | contrast, | |||
| TextureMapping3D * | map | |||
| ) | [inline] |
Definition at line 40 of file blender_voronoi.h.
References blender::Tex::bfac, blender::Tex::bright, blender::Tex::contrast, blender::Tex::gfac, blender::Tex::nabla, blender::Tex::noisesize, blender::Tex::ns_outscale, blender::Tex::rfac, lux::BlenderVoronoiTexture3D< T >::tex, lux::BlenderVoronoiTexture3D< T >::tex1, lux::BlenderVoronoiTexture3D< T >::tex2, TEX_VORONOI, blender::Tex::type, blender::Tex::vn_coltype, blender::Tex::vn_distm, blender::Tex::vn_mexp, blender::Tex::vn_w1, blender::Tex::vn_w2, blender::Tex::vn_w3, and blender::Tex::vn_w4.
| Texture< float > * lux::BlenderVoronoiTexture3D< T >::CreateFloatTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [inline, static] |
Definition at line 107 of file blender_voronoi.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), lux::TextureParams::FindInt(), lux::TextureParams::FindString(), lux::TextureParams::GetFloatTexture(), LUX_BADTOKEN, LUX_ERROR, luxError, lux::BlenderVoronoiTexture3D< T >::tex1, lux::BlenderVoronoiTexture3D< T >::tex2, TEX_CHEBYCHEV, TEX_DISTANCE, TEX_DISTANCE_SQUARED, TEX_MANHATTAN, TEX_MINKOVSKY, TEX_MINKOVSKY_FOUR, and TEX_MINKOVSKY_HALF.
| Texture< Spectrum > * lux::BlenderVoronoiTexture3D< T >::CreateSpectrumTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [inline, static] |
Definition at line 160 of file blender_voronoi.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), lux::TextureParams::FindInt(), lux::TextureParams::FindString(), lux::TextureParams::GetSpectrumTexture(), LUX_BADTOKEN, LUX_ERROR, luxError, lux::BlenderVoronoiTexture3D< T >::tex1, lux::BlenderVoronoiTexture3D< T >::tex2, TEX_CHEBYCHEV, TEX_DISTANCE, TEX_DISTANCE_SQUARED, TEX_MANHATTAN, TEX_MINKOVSKY, TEX_MINKOVSKY_FOUR, and TEX_MINKOVSKY_HALF.
| T lux::BlenderVoronoiTexture3D< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 80 of file blender_voronoi.h.
References lux::TextureMapping3D::Map(), lux::BlenderVoronoiTexture3D< T >::mapping, blender::multitex(), blender::TexResult::tb, lux::BlenderVoronoiTexture3D< T >::tex, lux::BlenderVoronoiTexture3D< T >::tex1, lux::BlenderVoronoiTexture3D< T >::tex2, TEX_INT, TEX_RGB, blender::TexResult::tg, blender::TexResult::tin, blender::TexResult::tr, and lux::Point::x.
TextureMapping3D* lux::BlenderVoronoiTexture3D< T >::mapping [private] |
Definition at line 102 of file blender_voronoi.h.
Referenced by lux::BlenderVoronoiTexture3D< T >::Evaluate(), and lux::BlenderVoronoiTexture3D< T >::~BlenderVoronoiTexture3D().
blender::Tex lux::BlenderVoronoiTexture3D< T >::tex [private] |
Definition at line 104 of file blender_voronoi.h.
Referenced by lux::BlenderVoronoiTexture3D< T >::BlenderVoronoiTexture3D(), and lux::BlenderVoronoiTexture3D< T >::Evaluate().
boost::shared_ptr<Texture<T> > lux::BlenderVoronoiTexture3D< T >::tex1 [private] |
boost::shared_ptr<Texture<T> > lux::BlenderVoronoiTexture3D< T >::tex2 [private] |
1.6.1