Software Development Kit (SDK)¶
The software development kit allows creating new node types to expand the possibilities of Ocean, and ship them as plugins. They are developed in C++ using a specific API, available on demand.
Currently, the following node types can be developped with the SDK:
Example¶
For instance, it is possible to implement a parametric filter shader in Ocean:
void TestFilterShader::getValues(float * dest,
const Ocean::Sdk::ShaderContextInterface * sc) const
{
unsigned int n = sc->numWavelengths();
for(unsigned int i=0;i<n;i++)
{
float wl = (float)sc->getWavelength(i)/4294967296.f;
float d = sc->worldPos().toVec3<float>().dotProduct(k)*wl;
float s = std::sin(d);
dest[i] = s*s;
}
}
Getting the SDK¶
Please contact us for getting the SDK : info@eclat-digital.com