how to use the C++ API in HDK to access the scene data?

   1833   0   0
User Avatar
Member
5 posts
Joined: 12月 2012
Offline
Hi all,
I'm new to HDK, but I still want to do some adventures and intergate a renderer into Houdini, so need you help.

I guess I need to access the scene data, e.g. the geometry data, camera data, light data, shader data, material data, and send the data to my renderer.

I read this page SOHO: Scripted Output of Houdini Objects in http://www.sidefx.com/docs/hdk12.0/, [sidefx.com] and $HFS/houdini/help/hom/_index.html. I guess that Houdini prefers python to C++ to access scene data.
But, my renderer is written with C and C++, and the python API of my renderer is not provieded yet.

My question is, is it possible to use the C++ API in HDK to access the scene data?

If the answer is yes, how to do it? Is there any open source project or example which demostrates that how to use C++ API to access Houdini scene data?

In contrast with python API(SOHO? HOM?), what's the advantage and disadvantage of using C++ API in HDK to access scene data?

Thank you.
  • Quick Links