Mandrake0 Posted May 2, 2016 Share Posted May 2, 2016 i'm new to the hdk api and a begginer in c++ my question is just whats the advantages of the SOP_Node::gdp for accessing the point data in compaire to the HOM API are there any speed differences? or is it just that the HOM is the api for the python interface? thank you for your time..... Quote Link to comment Share on other sites More sharing options...
symek Posted May 2, 2016 Share Posted May 2, 2016 IMHO the fastest possible access (also due to cache access pattern thanks to pages) is via GEO_Detail (exposed in gdp). 1 Quote Link to comment Share on other sites More sharing options...
Mandrake0 Posted May 2, 2016 Author Share Posted May 2, 2016 thank you for the info i just now found a page with speed compairs of each api : http://www.sidefx.com/docs/hdk15.0/_h_d_k__s_o_p__h_o_m__c_p_p__v_e_x.html Quote Link to comment Share on other sites More sharing options...
symek Posted May 2, 2016 Share Posted May 2, 2016 O yes, great page, specially that there are so many ways of coding for SOPs! Also considerations based on maintainability are important. But just for a sake of argument, WaveCPP is very basic code. Once you make something non trivial, specially like creating heavy geometry and you multi-thread your code (which is very simple in HDK in most of the cases), C++ outperforms distinctly. 1 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.