liuping207

liuping207

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Arnold Shader HAPI_Initialize() Problem Dec. 20, 2018, 2:02 a.m.

node_initialize
{
	HAPI_CookOptions cookOptions = HAPI_CookOptions_Create();
	HAPI_Session session;
	HAPI_CreateInProcessSession(&session);

	ENSURE_SUCCESS(HAPI_Initialize(&session,
		&cookOptions,
		true,
		-1,
		nullptr,
		nullptr,
		nullptr,
		nullptr,
		nullptr));


}
node_update
{
	
}
......


Then find a problem that debuger located this function:HAPI_Initialize()


and in maya log have this error message:
Houdini Engine could not load

but in standalone program,that have not find this problem.

Can someone help me
thanks.

HDK-getPos3() problem March 14, 2015, 10:42 p.m.

lockInputs(context);
duplicateSource(0,context);
GU_Detail *input_geo_1 = (GU_Detail *)inputGeo(1);

std::cout<<input_geo_1->getGEOPoint(0)->getPos3()<<std::endl;


this getPos3() function always get wrong position.
please help me
thanks
:x

HDK Get OpenVDB Data Is None Feb. 13, 2015, 3:35 a.m.

GU_Detail *sdf_volmue_gdp = (GU_Detail*)inputGeo(1);
GU_PrimVDB *tmp_sdf_volGU_PrimVDB*)(sdf_volume_gdp->getGEOPrimitive(0));
int x,y,z;
tmp_sdf_vol->getRes(x,y,z); //Get 0 0 0 Res…

How Can I get The correct GU_PrimVDB … Thanks