CodeMasterMike

CodeMasterMike

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

setup HDK with Visual Studio 2008年10月7日3:12

Isnt Houdini 9 all about scripting from within Houdini, so you dont need to work outside? I dont know even if they still have the HDK for Houdini 9.

(I have only worked with the HDK and Houdini 8, so I have no idea if what I am writing below is still valid in Houdini 9.)

1. I dont know about Houdini 9.xx, but here is a little helper for Houdini 8.
Maybe it is some help for you:
http://odforce.net/wiki/index.php/Setup_visual_Studio [odforce.net]

2. That is my understanding too.

3. There is lots of examples for working with SOPs and so in the toolkit folder in the Houdini installation path.

4. You have to include them as a “#include” in your file too, to make that work. So if you wanna use GU_Detail (for example) then you need to write
#include <GU/GU_Detail.h> as normal programming standard.

5. Iin Houdini 8, there is a folder, that was created when installing Houdini, where you can put your compiled DLL files. And that folder should be in your documents and settings. There is a Houdini folder, and a subfolder called dso, where you can put your DLL files.

6. See the toolkit folder, and try them. Clear out all functions and try. That is what I did.

Get Windows Handler (hWnd) from HDK 2008年10月2日2:45

I have been asking around, and people doesnt seem quite sure of why the handle is needed, but say that its always good to give the handle anyway.
I could ask the support, but I thought trying with the handle first would save time.

So, lets say I need that windows (hWnd) handler. Is it possible for me to get it through the HDK (Im sitting on Houdini 8.2)?

Another interesting quirk I have also noticed, with this issue, is that this “issue” only happens when I add my SOP after I have added some other SOP. So, if I start Houdini, add my SOP, then it works fine…

Get Windows Handler (hWnd) from HDK 2008年9月30日2:21

Ok, thanks! I will see if I can find out what the handler is really needed in that function.

As far as I know (looking in the documentation), this function creates a pointer to a context object, which is the main part of the SDK I am using. This object creates/destroys objects, access other stuff and load/saves files and so on. So I would assume its used for something more than just Messageboxes. But I will dig deeper to make sure.