Пример #1
0
void slopeShaderNode::postConstructor( )
//
//	Description:
//		postConstructor
//
{
	setMPSafe(true);
}
Пример #2
0
// the postConstructor() function is called immediately after the objects
// constructor. It is not safe to call MPxNode member functions from the
// constructor, instead they should be called here.
//
void asMicrofacet_brdf::postConstructor( )
{
    // setMPSafe indicates that this shader can be used for multiprocessor
    // rendering. For a shading node to be MP safe, it cannot access any
    // shared global data and should only use attributes in the datablock
    // to get input data and store output data.
    //
    setMPSafe( true );
}
Пример #3
0
void PtexColorNode::postConstructor( )
{
	m_ptex_cache = 0;
	m_ptex_texture = 0;
	m_ptex_filter = 0;

	MRenderCallback::addCallback( this, 255 );

	setMPSafe(true);
}
void liqCoShaderNode::postConstructor( )
{
	setMPSafe(true);
	// init swatch
	if ( swatchInit != true )
	{
		MObject obj = MPxNode::thisMObject();
		renderSwatch = new liqNodeSwatch( obj, obj, 128 );
		swatchInit = true;
	}
	MGlobal::executeCommandOnIdle( "liquidCheckGlobals()", false );
}
Пример #5
0
// the postConstructor() function is called immediately after the objects
// constructor. It is not safe to call MPxNode member functions from the
// constructor, instead they should be called here.
//
void inSpecular::postConstructor( )
{
	MStatus stat;
    // setMPSafe indicates that this shader can be used for multiprocessor
    // rendering. For a shading node to be MP safe, it cannot access any
    // shared global data and should only use attributes in the datablock
    // to get input data and store output data.
    //
    setMPSafe( true );

	MDGModifier modifier;

	MPlug sourcePlug = MPlug(this->thisMObject(), emission);
	MPlug destPlug = MPlug(this->thisMObject(), aIncandescence);
	if( !destPlug.isConnected() )
		stat = modifier.connect(sourcePlug, destPlug);

	stat = modifier.doIt();
}
Пример #6
0
//
// DESCRIPTION:
void OSLNode::postConstructor( )
{
    setMPSafe(true);
}
Пример #7
0
//
// DESCRIPTION:
///////////////////////////////////////////////////////
void PhongNode::postConstructor( )
{
	setMPSafe(true);
}
Пример #8
0
void
OpenSubdivPtexShader::postConstructor()
{
    setMPSafe(false);
}
Пример #9
0
//
// DESCRIPTION:
void fresnel::postConstructor( )
{
    setMPSafe(true);
}
Пример #10
0
void mtmEnvLight::postConstructor( )
{
	setMPSafe(true);
	MFnDependencyNode nodefn(thisMObject());
	nodefn.setName("mtm_envlightShape#");
}
Пример #11
0
void myComp::postConstructor( )
{
	setMPSafe(true);
}
Пример #12
0
//
// DESCRIPTION:
void wrinkled::postConstructor( )
{
    setMPSafe(true);
}
Пример #13
0
void noise3::postConstructor( )
{
	setMPSafe(true);
}
Пример #14
0
void CoronaWire::postConstructor( )
{
	MStatus stat;
	setMPSafe( true );
	this->setExistWithoutInConnections(true);
}
Пример #15
0
void mtap_StandinLocator::postConstructor( )
{
	setMPSafe(true);
	MFnDependencyNode nodefn(thisMObject());
	nodefn.setName("mtap_standinShape#");	
}
Пример #16
0
void hwPhongShader::postConstructor( )
{
	TRACE_API_CALLS("postConstructor");
	setMPSafe(false);
}
Пример #17
0
//
// DESCRIPTION:
void marble::postConstructor( )
{
    setMPSafe(true);
}
Пример #18
0
void hwUnlitShader::postConstructor( )
{
	setMPSafe(false);
}
Пример #19
0
//
// DESCRIPTION:
void blender_marble::postConstructor( )
{
    setMPSafe(true);
}
Пример #20
0
//
// DESCRIPTION:
void brick::postConstructor( )
{
    setMPSafe(true);
}
Пример #21
0
void hwColorPerVertexShader::postConstructor( )
{
	setMPSafe(false);
}
Пример #22
0
//
// DESCRIPTION:
///////////////////////////////////////////////////////
void Cell3D::postConstructor( )
{
	setMPSafe(true);
}
Пример #23
0
//
// DESCRIPTION:
///////////////////////////////////////////////////////
void Gamma::postConstructor( )
{
	setMPSafe(true);
}
Пример #24
0
//
// DESCRIPTION:
void uv::postConstructor( )
{
    setMPSafe(true);
}
Пример #25
0
void clearcoat::postConstructor( )
{
	setMPSafe(true);
}
Пример #26
0
void DispNode::postConstructor( )
{
	setMPSafe(true);
}
Пример #27
0
void depthShader::postConstructor( )
{
	setMPSafe(true);
}
Пример #28
0
void anisotropicShaderNode::postConstructor( )
{
	setMPSafe(true);
}
Пример #29
0
void CheckerNode::postConstructor( )
{
	setMPSafe(true);
}
Пример #30
0
// Methods
void OnbShader::postConstructor()
{
	setMPSafe(true);
}