Advertisement
whillothewhisp

Houdini If success

May 26th, 2025
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. HAPI_CookOptions cookOptions;
  2. cookOptions.maxVerticesPerPrimitive = 3;
  3.  
  4. HAPI_Result result = HAPI_Initialize(NULL, &cookOptions, false, -1, "", NULL, NULL, NULL, NULL);
  5. int val;
  6. HAPI_GetEnvInt(HAPI_ENVINT_VERSION_HOUDINI_ENGINE_API, &val);
  7.  
  8. if (result == HAPI_Result::HAPI_RESULT_SUCCESS)
  9. {
  10. //Houdini Code
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement