What happened to HAPI_CPP.h in Houdini Indie 15?

   3908   3   0
User Avatar
Member
21 posts
Joined: Feb. 2011
Offline
I was trying to convert my HE project to use the HE 2.0 but I did not find HAPI_CPP.h which was available with HE 1.9.

Has this been totally removed or will the classes be updated for HE 2.0?
User Avatar
Member
402 posts
Joined: March 2013
Offline
This was removed. It was only an example of how to use HAPI but it wasn't maintained.

It is difficult for us to provide a generic C++ wrapper around HAPI and maintain it ourselves because often times the user needs to convert basic data types to their own specific C++ classes. For example, if we always convert our strings to std::string then hosts using a custom String class would need to rewrite those wrappers anyway.

In any case, HAPI_CPP.h coverted a very small part of the API. You could somewhat easily take the HAPI_CPP.h from Houdini 14 and updated to work with HAPI 2.0 within your project.
User Avatar
Member
21 posts
Joined: Feb. 2011
Offline
Thanks for the reply damian.

I have updated HAPI_CPP.h for my purposes for testing but I am having another issue creating the session. See my other post regarding that issue.

Thanks,

Gil
User Avatar
Member
402 posts
Joined: March 2013
Offline
Yup, replied.
  • Quick Links