~nature~ Posted March 3, 2012 Share Posted March 3, 2012 Hey, guys, Nice day I am a newbie in the world HDK but I still want to have some adventures here, so need your light and help. Basically, what I want is to iterate via big amount of point clouds and do some geometry operation for each point in houdini in really fast way (Maybe realtime). 1.My assumption is I could replace the contents and functions of any geometry node, in this case "Foreach" SOP by HDK codes and performs much much faster, am I right? 2.If not so, Is it possible to feed the point clouds via HDK to another API like CUDA to perform parallel computation of "resample" and "delete" alike geometry operation for each point in the points cloud ? I need your invaluable advice about these HDK stuff. Thanks, kind regards. Quote Link to comment Share on other sites More sharing options...
symek Posted March 3, 2012 Share Posted March 3, 2012 (edited) 1.My assumption is I could replace the contents and functions of any geometry node, in this case "Foreach" SOP by HDK codes and performs much much faster, am I right? You can't replace what current ForeachSOP is doing, but you can create your own one, and more specifically you can iterate over groups, points or primitives in C++ and do whatever has to be done. It will be much, much faster than ForeachSOP. Perhaps it won't be even needed to use multi-threading anymore - which is not a trivial task on Houdini's geometry btw). Nice thing about HDK is that many concepts you know from Houdini GUI is accessible there, so you can easily create and use point clouds, most geometric operations are public methods of gdp object, things like computing normals, merging gdps is a matter of single call. So with a little experience, HDK behaves pretty much like Houdini itself. 2.If not so, Is it possible to feed the point clouds via HDK to another API like CUDA to perform parallel computation of "resample" and "delete" alike geometry operation for each point in the points cloud ? Yes, it's possible to use Cuda, but note that coping heavy data out of Houdini to GPU and back can ruin Cuda's advantage. If you can be little more specific people could give you better hints Edited March 3, 2012 by SYmek Quote Link to comment Share on other sites More sharing options...
~nature~ Posted March 3, 2012 Author Share Posted March 3, 2012 Yep, it would be a big problem concerning data transfer, thanks szymon for your help, I will study hdk stuff, should be very interesting. Best regards. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.