116 float maritimeness = 0.0f );
141 using RtMaterial::RtMaterial;
Ambient homogeneous atmospheric material attenuating the light and producing stochastic returns in th...
RtAmbientMaterial setReturnGammaDistributionShapeParameter(float k)
Assign new shape parameter of the atmospheric return gamma distribution.
RtAmbientMaterial configureAsSnowfall(float rate, float wavelength)
Configure the material parameters as light snowfall with the specified precipitation rate.
float getReturnGammaDistributionScaleParameter() const
RtAmbientMaterial configureAsRainfall(float rate, float tropicalness=0.0f)
Configure the material parameters as rainfall with the specified precipitation rate.
RtAmbientMaterial setRefractiveIndex(float refractiveIndex)
Assign new refractive index to the material.
float getReturnProbabilityScaling() const
float getAttenuationCoefficient() const
RtAmbientMaterial setAttenuationCoefficient(float alpha)
Assign new attenuation coefficient to the material.
static RtAmbientMaterial create()
void restore(agxStream::InputArchive &in)
float getReturnGammaDistributionShapeParameter() const
RtAmbientMaterial setReturnGammaDistributionScaleParameter(float theta)
Assign new scale parameter of the atmospheric return gamma distribution.
RtAmbientMaterial configureAsFog(float visibility, float wavelength, float maritimeness=0.0f)
Configure the material parameters as foggy weather with the specified visibility.
RtAmbientMaterial configureAsAir(float visibility)
Configure the material parameters as clear weather air with the specified visibility.
RtAmbientMaterial setReturnProbabilityScaling(float A)
Assign new scaling of the atmospheric return probability.
float getRefractiveIndex() const
RtAmbientMaterial(RtMaterialInstance instance)
void store(agxStream::OutputArchive &out) const
Base type for all surface, and transmission, materials used in raytracing.
Class for writing serialized data in binary format to a stream.
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
Material instance in the raytrace environment, containing handle and type.