gwcSoftware
Oct. 22, 2015 11:30:48
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?
damian
Oct. 27, 2015 13:52:48
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.
gwcSoftware
Oct. 27, 2015 14:34:17
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
damian
Oct. 28, 2015 19:30:36
Yup, replied.