SeExpr
Namespaces | Functions
Noise.cpp File Reference
#include <iostream>
#include <smmintrin.h>
#include "ExprBuiltins.h"
#include "NoiseTables.h"
#include "Noise.h"

Go to the source code of this file.

Namespaces

 SeExpr2
 

Functions

double SeExpr2::floorSSE (double val)
 
double SeExpr2::roundSSE (double val)
 
double SeExpr2::s_curve (double t)
 This is the Quintic interpolant from Perlin's Improved Noise Paper. More...
 
template<int d>
unsigned char SeExpr2::hashReduceChar (int index[d])
 Does a hash reduce to a character. More...
 
template<int d>
uint32_t SeExpr2::hashReduce (uint32_t index[d])
 Does a hash reduce to an integer. More...
 
template<int d, class T , bool periodic>
SeExpr2::noiseHelper (const T *X, const int *period=0)
 Noise with d_in dimensional domain, 1 dimensional abcissa. More...
 
template<int d_in, int d_out, class T >
void SeExpr2::CellNoise (const T *in, T *out)
 Computes cellular noise (non-interpolated piecewise constant cell random values) More...
 
template<int d_in, int d_out, class T >
void SeExpr2::Noise (const T *in, T *out)
 Noise with d_in dimensional domain, d_out dimensional abcissa. More...
 
template<int d_in, int d_out, class T >
void SeExpr2::PNoise (const T *in, const int *period, T *out)
 Periodic Noise with d_in dimensional domain, d_out dimensional abcissa. More...
 
template<int d_in, int d_out, bool turbulence, class T >
void SeExpr2::FBM (const T *in, T *out, int octaves, T lacunarity, T gain)
 Fractional Brownian Motion. If turbulence is true then turbulence computed. More...
 
template void SeExpr2::CellNoise< 3, 1, double > (const double *, double *)
 
template void SeExpr2::CellNoise< 3, 3, double > (const double *, double *)
 
template void SeExpr2::Noise< 1, 1, double > (const double *, double *)
 
template void SeExpr2::Noise< 2, 1, double > (const double *, double *)
 
template void SeExpr2::Noise< 3, 1, double > (const double *, double *)
 
template void SeExpr2::PNoise< 3, 1, double > (const double *, const int *, double *)
 
template void SeExpr2::Noise< 4, 1, double > (const double *, double *)
 
template void SeExpr2::Noise< 3, 3, double > (const double *, double *)
 
template void SeExpr2::Noise< 4, 3, double > (const double *, double *)
 
template void SeExpr2::FBM< 3, 1, false, double > (const double *, double *, int, double, double)
 
template void SeExpr2::FBM< 3, 1, true, double > (const double *, double *, int, double, double)
 
template void SeExpr2::FBM< 3, 3, false, double > (const double *, double *, int, double, double)
 
template void SeExpr2::FBM< 3, 3, true, double > (const double *, double *, int, double, double)
 
template void SeExpr2::FBM< 4, 1, false, double > (const double *, double *, int, double, double)
 
template void SeExpr2::FBM< 4, 3, false, double > (const double *, double *, int, double, double)