<?xml version="1.0"?>
<rss version="2.0"><channel><title>HDK : Houdini Development Kit Latest Topics</title><link>https://forums.odforce.net/forum/23-hdk-houdini-development-kit/</link><description>HDK : Houdini Development Kit Latest Topics</description><language>en</language><item><title>How to put my asset in the right section in tab menu?</title><link>https://forums.odforce.net/topic/59396-how-to-put-my-asset-in-the-right-section-in-tab-menu/</link><description><![CDATA[<p>
	Hey, everybody.  I've created my own assembly. I put the dll in the dso folder. Houdini sees it. But when I use it, the tab menu shows it in the Custom section<br />
	How can I make it to be in the section I need?<br />
	Let's say Tab -&gt; My Assets -&gt; test asset.<br />
	Can you tell me what I need to do, is there any information on this issue?
</p>
]]></description><guid isPermaLink="false">59396</guid><pubDate>Wed, 16 Apr 2025 15:50:56 +0000</pubDate></item><item><title>How to properly implement data persistence when copying or cloning a node?</title><link>https://forums.odforce.net/topic/58881-how-to-properly-implement-data-persistence-when-copying-or-cloning-a-node/</link><description><![CDATA[<p>
	Hey, everybody. Wrote a sop node functionality that loads geometry data from an external file. I have encountered several problems:<br />
	1. All data is lost when the focus is lost from the node - this moment was solved by caching the data and then restoring it.<br />
	2. Copying a node via ctrl-C/ctrl-V or via drag + alt - I haven't solved this problem yet.<br />
	Could you tell me how to realize this correctly? Unfortunately, I am still new to HDK and couldn't figure it out or find an example in the documentation.<br />
	I would be glad to have any help from the community!<br />
	Thank you all in advance!
</p>
]]></description><guid isPermaLink="false">58881</guid><pubDate>Tue, 18 Mar 2025 19:35:44 +0000</pubDate></item><item><title>tbb::task deprecation problems with Hcustom</title><link>https://forums.odforce.net/topic/54013-tbbtask-deprecation-problems-with-hcustom/</link><description><![CDATA[<p>
	Hi there,
</p>

<p>
	I just tried to use Hcustom to compile one of the very simple samples from the HDK docs, and I am getting an error regarding a missing "task" within "tbb" as you can see in the screenshot below, I think side fx moved from TBB to oneTBB, anyone having this issue who can give me a hand on how to resolve it? noob HDK user here.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://forums.odforce.net/uploads/monthly_2024_05/Screenshot2024-05-27at12_01_35.png.d8e933d74eceed6a7ec7f90d17bbd242.png" data-fileid="70713" data-fileext="png" rel=""><img alt="Screenshot 2024-05-27 at 12.01.35.png" class="ipsImage ipsImage_thumbnailed" data-fileid="70713" data-ratio="62.5" width="1000" src="https://forums.odforce.net/uploads/monthly_2024_05/Screenshot2024-05-27at12_01_35.thumb.png.013f3eec1d441bc9c8cadd024a3477cc.png" /></a>
</p>
]]></description><guid isPermaLink="false">54013</guid><pubDate>Mon, 27 May 2024 11:06:32 +0000</pubDate></item><item><title>Visual Studio 2022 and HDK</title><link>https://forums.odforce.net/topic/53257-visual-studio-2022-and-hdk/</link><description><![CDATA[<p>
	As you know Houdini HDK works with Visual Studio 2019, But I have 2022.
</p>

<p>
	If you want to use CMake Project with 2019 config you have to install a specific toolchain of 2019 ( VC 142 and Windows SDK 10.0.18362 ).
</p>

<p>
	OK, I Installed them but I got this error in Cmake GUI, it says: can't find the instance of Visual Studio 2019.
</p>

<p>
	What should I do to fix that?
</p>
]]></description><guid isPermaLink="false">53257</guid><pubDate>Sat, 16 Mar 2024 14:52:36 +0000</pubDate></item><item><title>When compiling houdini HDK with CMake, it was Unable to open the include file&#xFF1F;</title><link>https://forums.odforce.net/topic/52228-when-compiling-houdini-hdk-with-cmake-it-was-unable-to-open-the-include-file%EF%BC%9F/</link><description><![CDATA[<p>
	<span style="background-color:#444654;color:#d1d5db;font-size:16px;">I tried to recompile the source code of the ROP_FBX node in Houdini, but I encountered an issue with missing FBX source files. I'm wondering if anyone knows what the problem might be.</span>
</p>

<p><a href="https://forums.odforce.net/uploads/monthly_2023_07/1726166087__168922111054.png.b9d6c8870ef2ff76bfbd0466247da884.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="69358" src="https://forums.odforce.net/uploads/monthly_2023_07/530211022__168922111054.thumb.png.ca770f60293c8d44092a1fc7104120f8.png" data-ratio="63.8" width="1000" class="ipsImage ipsImage_thumbnailed" alt="企业微信截图_168922111054.png"></a></p>
<p><a href="https://forums.odforce.net/uploads/monthly_2023_07/1858412113__16892211441604.png.fecf4156c7688f9fe713ca35c856b604.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="69359" src="https://forums.odforce.net/uploads/monthly_2023_07/1421393256__16892211441604.thumb.png.cd9e6ec2bfeb89fd7ad5b49e0a5736ab.png" data-ratio="27.6" width="1000" class="ipsImage ipsImage_thumbnailed" alt="企业微信截图_16892211441604.png"></a></p>
<p><a href="https://forums.odforce.net/uploads/monthly_2023_07/1941323361__16892211934182.png.556e96b57b8d5448bcb95ffa6f13a9f4.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="69360" src="https://forums.odforce.net/uploads/monthly_2023_07/742945924__16892211934182.thumb.png.8e5fcf2d85d024adce5688288bd128ea.png" data-ratio="110.29" width="680" class="ipsImage ipsImage_thumbnailed" alt="企业微信截图_16892211934182.png"></a></p>]]></description><guid isPermaLink="false">52228</guid><pubDate>Thu, 13 Jul 2023 04:07:09 +0000</pubDate></item><item><title>Is it possible to create a UI like a python panel with hdk?</title><link>https://forums.odforce.net/topic/51585-is-it-possible-to-create-a-ui-like-a-python-panel-with-hdk/</link><description><![CDATA[<p>
	How can I make a UI with hdk...?
</p>
]]></description><guid isPermaLink="false">51585</guid><pubDate>Fri, 20 Jan 2023 07:55:43 +0000</pubDate></item><item><title>HDK Nearest point</title><link>https://forums.odforce.net/topic/39789-hdk-nearest-point/</link><description><![CDATA[
<p>
	Hello, I started learning hdk. <br />
	I need to find a nearest point, what the best way to do this? I have an example code in attachments. But it doesn't work as expected.<br />
	Thanks<br />
	 
</p>

<p><a class="ipsAttachLink" href="//forums.odforce.net/applications/core/interface/file/attachment.php?id=42819">sandDunes.cpp</a></p>
<p><a class="ipsAttachLink" href="//forums.odforce.net/applications/core/interface/file/attachment.php?id=42820">sandDunes.h</a></p>]]></description><guid isPermaLink="false">39789</guid><pubDate>Wed, 22 Aug 2018 06:49:01 +0000</pubDate></item><item><title>Custom Qt widgets</title><link>https://forums.odforce.net/topic/26512-custom-qt-widgets/</link><description><![CDATA[
<p>
	Hi guys,
</p>

<p>
	Is it possible to use custom Qt widgets for node parameters instead of the predefined look you get from parameter templates?
</p>

<p>
	Also is there a way to use Qt widget for a pop up directly without using ui scripts?<br /><br />
	Cheers, Mila.
</p>
]]></description><guid isPermaLink="false">26512</guid><pubDate>Sat, 02 Jul 2016 12:39:50 +0000</pubDate></item><item><title>How to check for attribute by name and owner?</title><link>https://forums.odforce.net/topic/52374-how-to-check-for-attribute-by-name-and-owner/</link><description><![CDATA[<p>
	Since the GEO_Detail::get*Attribute functions all seem to be deprecated, how can i check to see if an attribute exists from name and owner alone? Im reading in external data and want to be able to check if an attribute has already been created based on its name and attribute owner not a GA_Attribute. The only way i see now is to use the AttributeDict iterator. Thank you.
</p>
]]></description><guid isPermaLink="false">52374</guid><pubDate>Sun, 10 Sep 2023 00:05:53 +0000</pubDate></item><item><title>Examples of the UT_JSON* classes?</title><link>https://forums.odforce.net/topic/52221-examples-of-the-ut_json-classes/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I am trying to create a IOTranslator for a file based in json format but have been at a loss to understand how to use the UT_JSON* classes to read this data. Since theres a bit that i don't understand i was hoping someone knew of some examples using them rather than me asking a very long, beginner question.
</p>
]]></description><guid isPermaLink="false">52221</guid><pubDate>Tue, 11 Jul 2023 02:51:45 +0000</pubDate></item><item><title>HDK: Dynamically update-able dropdown menu PARM ?</title><link>https://forums.odforce.net/topic/49586-hdk-dynamically-update-able-dropdown-menu-parm/</link><description><![CDATA[<p>
	I would like to add a parameter which I will can fill in with information from geometry files I load ?
</p>

<p>
	What kind of PARM should I design it with  that will allow me to dynamically add items and also register some call back so that I know what options the user have chosen ?
</p>

<p>
	 
</p>

<p><a href="https://forums.odforce.net/uploads/monthly_2021_09/HDK_DropdownMenu_Parm.png.cc68eedffda3dbd8598d2fb235d61b03.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="63542" src="https://forums.odforce.net/uploads/monthly_2021_09/HDK_DropdownMenu_Parm.png.cc68eedffda3dbd8598d2fb235d61b03.png" class="ipsImage ipsImage_thumbnailed" alt="HDK_DropdownMenu_Parm.png"></a></p>]]></description><guid isPermaLink="false">49586</guid><pubDate>Sun, 26 Sep 2021 04:24:26 +0000</pubDate></item><item><title>HDK: File chooser - only certain extensions ?</title><link>https://forums.odforce.net/topic/49583-hdk-file-chooser-only-certain-extensions/</link><description><![CDATA[<p>
	I would like my file chooser in my C++ SOP plugin to only show up certain file extensions.
</p>

<p>
	What is the recommended way ?
</p>

<p>
	 
</p>

<p><a href="https://forums.odforce.net/uploads/monthly_2021_09/Odforce_filedialog_matching_files.png.1858877be978e9b637dbf70829e49635.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="63535" src="https://forums.odforce.net/uploads/monthly_2021_09/Odforce_filedialog_matching_files.thumb.png.6f41e16fc3934fa19ff8e77f024b5ee2.png" class="ipsImage ipsImage_thumbnailed" alt="Odforce_filedialog_matching_files.png"></a></p>]]></description><guid isPermaLink="false">49583</guid><pubDate>Sat, 25 Sep 2021 18:30:15 +0000</pubDate></item><item><title>fastConsolidatePoints() deprecated since H17.5</title><link>https://forums.odforce.net/topic/42000-fastconsolidatepoints-deprecated-since-h175/</link><description><![CDATA[
<p>
	It seems that all point consolidation methods pre H17.5 are deprecated and we should switch to using GU_Snap instead. Problem is, there is no GU_Snap in H17.5 or at least I couldn't find it.<br />
	It's not a separate file in <strong>$HFS/toolkit/include/GU</strong> directory and it's not embedded inside any header file in whole <strong>$HFS/toolkit/include</strong> directory.
</p>

<p>
	Is it not included yet in builds?
</p>

<p>
	Any help?
</p>
]]></description><guid isPermaLink="false">42000</guid><pubDate>Wed, 03 Apr 2019 21:00:21 +0000</pubDate></item><item><title>GU_Intersect wrong normal</title><link>https://forums.odforce.net/topic/51235-gu_intersect-wrong-normal/</link><description><![CDATA[<p>
	Hello,<br />
	<br />
	I am computing intersections using `GU_intersect` class. It has an interface that implies that it should be computing interpolated normal. I've got my scene setup with both point and vertex normals set. However, no matter which part of the geometry the ray hits, I always get primitive normal (which isn't even set). I am accessing the normal using `GU_RayInfo::mNml`.<br />
	<br />
	I've even tried evaluating normals of the primitive using UVs, but the results are the same regardless UV values.`rayInfo.myPrim-&gt;evaluateNormalVector(normalOut,u,v)`<br />
	<br />
	How can I get interpolated normal without having to compute it manually?
</p>
]]></description><guid isPermaLink="false">51235</guid><pubDate>Thu, 08 Sep 2022 10:28:08 +0000</pubDate></item><item><title>why SDK C++ in the first place?</title><link>https://forums.odforce.net/topic/50546-why-sdk-c-in-the-first-place/</link><description><![CDATA[<p>
	hey guys, this is a silly question for some of you I know <img alt=":)" data-emoticon="" height="20" src="https://forums.odforce.net/uploads/emoticons/default_smile.png" srcset="https://forums.odforce.net/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /> I am a C++ programmer in the first place and I use Houdini as an Artist, however, it's been like 6 years now and I can do almost every thing in either vex and python (my job is to create FX using existing solvers). Can you give me some use-cases where someone needs to write C++ code? The only use-case in mind is integrating with third party applications (e.g. data translators), are there any other use-cases?
</p>

<p>
	 
</p>

<p>
	Thx
</p>
]]></description><guid isPermaLink="false">50546</guid><pubDate>Fri, 04 Mar 2022 16:05:14 +0000</pubDate></item><item><title>City Engine Palladio</title><link>https://forums.odforce.net/topic/50888-city-engine-palladio/</link><description><![CDATA[<p>
	Hi, Is there anyone who installed Palladio Plug-in successfully?  I am trying to install it for couple of days but I couldn't make it. It is so hard to install. I am stuck at cmake part. Is there any easy way to install this plug-in?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="66785" src="https://forums.odforce.net/uploads/monthly_2022_05/image.png.e32c82459f54d43a8dcc7bd24339ad07.png" alt="image.png.e32c82459f54d43a8dcc7bd24339ad07.png" />
</p>
]]></description><guid isPermaLink="false">50888</guid><pubDate>Sat, 28 May 2022 14:05:28 +0000</pubDate></item><item><title>Building Houdini Plugin using DLang FFI</title><link>https://forums.odforce.net/topic/49578-building-houdini-plugin-using-dlang-ffi/</link><description><![CDATA[<p>
	Hi everyone! <br />
	<br />
	I was curious if anyone had any experience interacting with the HDK using DLang (or any other language) and FFI?<br />
	There is an article about including C++ libraries in D here: <a href="https://dlang.org/articles/dll-linux.html" rel="external nofollow">https://dlang.org/articles/dll-linux.html</a> and it got me wondering if this was something that could be done with Houdini, and I was curious if anyone else had already tried and what their experience was?
</p>
]]></description><guid isPermaLink="false">49578</guid><pubDate>Fri, 24 Sep 2021 14:46:13 +0000</pubDate></item><item><title>How do I link a .so library that I want to use in my HDK plugin?</title><link>https://forums.odforce.net/topic/49516-how-do-i-link-a-so-library-that-i-want-to-use-in-my-hdk-plugin/</link><description><![CDATA[<p>
	Hi everyone!<br />
	<br />
	I recently started working with the HDK and have been trying to set my project up to use an external library, but I don't have a lot of experience with dependency management in C++. It seemed to me like setting something up with a cmake file was the way to go, but I'm having a hard time figuring out the best way to set something up to work with the Houdini environment. <br />
	<br />
	Is this something that is even possible, or am I going about this the wrong way?<br />
	<br />
	Thanks! 
</p>
]]></description><guid isPermaLink="false">49516</guid><pubDate>Mon, 13 Sep 2021 20:47:06 +0000</pubDate></item><item><title>Is there any way to get a GA_Offset of a point from an attribute on a point?</title><link>https://forums.odforce.net/topic/49460-is-there-any-way-to-get-a-ga_offset-of-a-point-from-an-attribute-on-a-point/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	 I have an ID attribute on a point and what i want to do is to use that ID attribute to get it's GA_Offset. Unfortunately I can't find any answers on the official documentation. There are methods of getting an offset based on GA_Index and vice versa, but nothing about how to use an attribute to identify a point offset/index. Unless im missing something...
</p>

<p>
	Appreciate any help!  
</p>
]]></description><guid isPermaLink="false">49460</guid><pubDate>Wed, 01 Sep 2021 06:59:50 +0000</pubDate></item><item><title>Noob Syntax question</title><link>https://forums.odforce.net/topic/49041-noob-syntax-question/</link><description><![CDATA[<p>
	Hi there,
</p>

<p>
	I am learning C++ and just starting going through the HDK.
</p>

<p>
	I saw this line and I can't understand what (OP_Network *) inside parenthesis is doing, I think I understand pointers and dereferencing enough, but that syntax I never saw before.
</p>

<p>
	 
</p>

<p>
	Hope you don't mind the simple question.
</p>

<p>
	Thanks.<br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">parent = (OP_Network *)OPgetDirector()-&gt;findNode("/obj");</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">49041</guid><pubDate>Fri, 18 Jun 2021 10:55:26 +0000</pubDate></item><item><title>Issue with SpareParms and callback functions</title><link>https://forums.odforce.net/topic/48864-issue-with-spareparms-and-callback-functions/</link><description><![CDATA[<p>
	<span lang="en-us" xml:lang="en-us">Greetings!</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">I have recently started using the hdk to build a custom plug-in (which consist of a SOP Node that modify a heightfield) and I have encountered a deadend (actually more than one, but this forum provided me a lot of help ^^)</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">In a few words, I am creating a SpareParm by getting the OP_Director (OPgetDirector()) and adding a PRM_Template with method addNodeSpareParm(). My issue is that if I provide a callback function, it is not called back (no result and in debug mode, any breakpoints in the callback function are never reached). I have no issue with parameters normally given when creating the node (I mean when using the newSopOperator() function, a button parameter call back its function correctly).</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">To fully explain my process: I am creating a node with a path parameter (PRM_File) where I can provide a custom file. This custom file is read and depending on its content, I need to add parameters to the node. From my researches, SpareParms were the only approach suitable. Maybe I am wrong and I will be grateful if you can point me in the direction of a better method.</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">For instance, this file could give me the parameter ‘width’ with a range and the node would create an integer parameter that would make possible to change the width of the input heightfield.</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">But the SpareParms that are created do not seem to call the cookMySop() function when modified and adding a callback function that would use the forceRecook() function is not called (as explain above). </span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">Does this issue ring any bell?</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">Thanks in advance</span>
</p>

<p>
	<span lang="en-us" xml:lang="en-us">Luc</span>
</p>
]]></description><guid isPermaLink="false">48864</guid><pubDate>Fri, 21 May 2021 15:09:50 +0000</pubDate></item><item><title>Houdini Engine as a javascript library?</title><link>https://forums.odforce.net/topic/48869-houdini-engine-as-a-javascript-library/</link><description><![CDATA[<p>
	So I had that dream one day...
</p>
]]></description><guid isPermaLink="false">48869</guid><pubDate>Sat, 22 May 2021 16:06:11 +0000</pubDate></item><item><title>HDK - Custom File Chooser</title><link>https://forums.odforce.net/topic/48790-hdk-custom-file-chooser/</link><description><![CDATA[<p>
	We are moving to URL based filepath's using a custom Asset Resolver in Solaris. 
</p>

<p>
	I would like to implement a <em>custom </em>file chooser across the entire Houdini session that could return a URL type from a selection.
</p>

<ul>
	<li>
		I can see you can toggle between OS and Houdini in your prefs.
	</li>
	<li>
		I can see some File System classes like FS_InfoHelper can work with the value in the parm.
	</li>
</ul>

<p>
	 
</p>

<p>
	Would I need to to extend the <em>File </em>parm template type? Is this even possible? Is there something in HOM that could do this?
</p>

<p>
	Any thoughts appreciated.
</p>

<p>
	 
</p>

<p>
	Cheers,
</p>

<p>
	Aaron.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">48790</guid><pubDate>Thu, 06 May 2021 16:51:53 +0000</pubDate></item><item><title>New Operator - Default Colour and Shape</title><link>https://forums.odforce.net/topic/48701-new-operator-default-colour-and-shape/</link><description><![CDATA[<p>
	I am trying to set the default colour and shape of a new operator.
</p>

<p>
	 
</p>

<p>
	I have tried overriding this virtual function in OP_Operator for the color;
</p>

<pre class="ipsCode prettyprint lang-c prettyprinted">
<span class="kwd">virtual</span><span class="pln"> UT_Color getDefaultColor</span><span class="pun">()</span><span class="pln"> </span><span class="kwd">const</span><span class="pun">;</span></pre>

<p>
	 And this in OP_Operator for the shape;
</p>

<pre class="ipsCode prettyprint lang-c prettyprinted">
<span class="kwd">virtual</span><span class="pln"> </span><span class="kwd">const</span><span class="pln"> UT_StringHolder </span><span class="pun">&amp;</span><span class="pln">getDefaultShape</span><span class="pun">()</span><span class="pln"> </span><span class="kwd">const</span><span class="pun">;</span></pre>

<p>
	For the return I tried some of the shapes as listed when you print them out using HOM, "bone", "light" etc
</p>

<p>
	<a href="https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html#nodeShapes" rel="external nofollow">https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html#nodeShapes</a>
</p>

<p>
	 
</p>

<p>
	I am creating a sop driver, so would like to mimic the defaults as seen on these kinds of nodes.
</p>

<p>
	Any ideas on setting these?
</p>
]]></description><guid isPermaLink="false">48701</guid><pubDate>Sat, 24 Apr 2021 18:16:30 +0000</pubDate></item><item><title>Unified high performance framework for OpenCL</title><link>https://forums.odforce.net/topic/48601-unified-high-performance-framework-for-opencl/</link><description><![CDATA[<p>
	Hi everybody!
</p>

<p>
	Check out my video about RnD of framework for robust OpenCL development.
</p>

<p>
	In this video I describe my old developement: framework for development GPU algorithms like cloth/wire/grains/particle/fluid dynamics.<br />
	It is implemented as Python code snipped with set of extension functions for control some OpenCL specific tasks.<br />
	It gives opportunity to develop complex algorithms without compilation, without HDK/C++, without even closing Houdini sessions.
</p>

<div class="ipsEmbeddedVideo">
	<div>
		<iframe allowfullscreen="true" frameborder="0" height="345" src="https://player.vimeo.com/video/535761164?app_id=122963" title="Unified high performance OpenCL framework" width="640"></iframe>
	</div>
</div>

<p>
	 
</p>
]]></description><guid isPermaLink="false">48601</guid><pubDate>Mon, 12 Apr 2021 18:21:07 +0000</pubDate></item></channel></rss>
