HDK renderer

   3217   2   1
User Avatar
Member
255 posts
Joined: 8月 2009
Offline
Hi,
I want to build to Houdini renderer(of my friend) through HDK.
I found this page: http://www.sidefx.com/docs/hdk12.0/hdk_opbasics_rops.html [sidefx.com] and check two(only) examples, but still I dont know, how I can create render window and set data(pixels) to some render matrix. Because both examples have only file output

I found few projects, where VRay and Arnold were build to houdini, but I cannot find any source code. And also will be great to use IPR rendering too!
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
User Avatar
Member
4271 posts
Joined: 7月 2005
Offline
For sending scene data to the renderer have a look at all the SOHO stuff.

http://www.sidefx.com/docs/hdk12.0/hdk_soho_examples.html [sidefx.com]
$HT/samples/SOHO


For sending data from your renderer to MPlay
$HH/public/tomdisplay
if(coffees<2,round(float),float)
User Avatar
Member
5 posts
Joined: 12月 2012
Offline
Hi guys, I have the similar problem.
I'm going to intergate my renderer into Houdini. 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