Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Miscellaneous

Miscellaneous scene graph elements, for example, textures, light profiles, BSDF measurements, or decals. More...

Classes

class  mi::neuraylib::Bsdf_buffer
 Example implementation of the abstract interface mi::neuraylib::IBsdf_buffer. More...
 
class  mi::neuraylib::Bsdf_isotropic_data
 Example implementation of the abstract interface mi::neuraylib::IBsdf_isotropic_data. More...
 
class  mi::neuraylib::IBsdf_isotropic_data
 Abstract interface for isotropic BSDF data. More...
 
class  mi::neuraylib::IBsdf_buffer
 Abstract interface for a buffer of BSDF values. More...
 
class  mi::neuraylib::IBsdf_measurement
 A scene element that stores measured BSDF data. More...
 
class  mi::neuraylib::IImage
 This interface represents a pixel image file. More...
 
class  mi::neuraylib::ILightprofile
 This interface represents light profiles. More...
 
class  mi::neuraylib::ITexture
 Textures add image processing options to images. More...
 
class  mi::neuraylib::ITile
 Abstract interface for a tile. More...
 

Enumerations

enum  mi::neuraylib::Bsdf_type {
  mi::neuraylib::BSDF_SCALAR = 0,
  mi::neuraylib::BSDF_RGB = 1
}
 The BSDF type. More...
 
enum  mi::neuraylib::Lightprofile_flags {
  mi::neuraylib::LIGHTPROFILE_CLOCKWISE = 1,
  mi::neuraylib::LIGHTPROFILE_COUNTER_CLOCKWISE = 2,
  mi::neuraylib::LIGHTPROFILE_ROTATE_TYPE_B = 4,
  mi::neuraylib::LIGHTPROFILE_ROTATE_TYPE_C_90_270 = 8
}
 Ordering of horizontal angles in a light profile. More...
 
enum  mi::neuraylib::Lightprofile_degree {
  mi::neuraylib::LIGHTPROFILE_HERMITE_BASE_1 = 1,
  mi::neuraylib::LIGHTPROFILE_HERMITE_BASE_3 = 3
}
 Degree of hermite interpolation. More...
 
enum  mi::neuraylib::Texture_compression {
  mi::neuraylib::TEXTURE_NO_COMPRESSION = 0,
  mi::neuraylib::TEXTURE_MEDIUM_COMPRESSION = 1,
  mi::neuraylib::TEXTURE_HIGH_COMPRESSION = 2
}
 Texture compression method. More...
 
enum  mi::neuraylib::Filter_type {
  mi::neuraylib::FILTER_BOX = 0,
  mi::neuraylib::FILTER_TRIANGLE = 1,
  mi::neuraylib::FILTER_GAUSS = 2,
  mi::neuraylib::FILTER_CMITCHELL = 3,
  mi::neuraylib::FILTER_CLANCZOS = 4,
  mi::neuraylib::FILTER_FAST = 5
}
 Supported filter types. More...
 

Detailed Description

Miscellaneous scene graph elements, for example, textures, light profiles, BSDF measurements, or decals.

Enumeration Type Documentation

The BSDF type.

Enumerator
BSDF_SCALAR 

One scalar per grid value.

BSDF_RGB 

Three scalars (RGB) per grid value.

Supported filter types.

The filter type (or filter kernel) specifies how multiple samples are to be combined into a single pixel value.

Enumerator
FILTER_BOX 

box filter

FILTER_TRIANGLE 

triangle filter

FILTER_GAUSS 

Gaussian filter.

FILTER_CMITCHELL 

clipped Mitchell filter

FILTER_CLANCZOS 

clipped Lanczos filter

FILTER_FAST 

a fast filter, could be GPU anti-aliasing, or any

Degree of hermite interpolation.

Currently only linear (hermite 1) and cubic (hermite 3) degree are supported (see also [DH05]).

See Also
mi::neuraylib::ILightprofile::reset_file(), mi::neuraylib::ILightprofile::get_degree()
Enumerator
LIGHTPROFILE_HERMITE_BASE_1 

Degree 1 = linear interpolation.

LIGHTPROFILE_HERMITE_BASE_3 

Degree 3 = cubic interpolation.

Ordering of horizontal angles in a light profile.

The flags can be used to override the horizontal sample order in an IES file [IES02]. There are two IES file types in common use, type B and type C. The IES standard defines that samples are stored in counter-clockwise order. Type C files conform to this standard, but about 30% of the type B files deviate from the standard and store samples in clockwise order, without giving any indication in the IES file that could be used to switch the order. (Sometimes there is an informal comment.) Type A IES files are not supported.

See Also
mi::neuraylib::ILightprofile::reset_file(), mi::neuraylib::ILightprofile::get_flags()
Enumerator
LIGHTPROFILE_CLOCKWISE 

Clockwise order, contrary to the IES standard for these (incorrect) type B files.

LIGHTPROFILE_COUNTER_CLOCKWISE 

Counter-clockwise, standard-conforming order (default).

LIGHTPROFILE_ROTATE_TYPE_B 

For 3dsmax.

LIGHTPROFILE_ROTATE_TYPE_C_90_270 

For 3dsmax.

Texture compression method.

Enumerator
TEXTURE_NO_COMPRESSION 

no compression

TEXTURE_MEDIUM_COMPRESSION 

medium compression ratio

TEXTURE_HIGH_COMPRESSION 

high compression ratio