Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rolldice

  • Rank

Personal Information

  • Name
  • Location
    Seoul, Korea

Recent Profile Visitors

601 profile views
  1. Hi, I'm suffering from using CUDA acceleration when making Houdini custom node. Could you tell me how to use CUDA and HDK both? I'm using Houdini 15.0 and CentOS 7. I'll appreciate if you give some tips for it.
  2. Hi, everybody I'm trying to use CUDA libararies when compiling my custom SOP node. But, I can't because it's really hard to compile it. I succeeded to make a library that includes some CUDA functions. And I tried to attach that library when compiling my custom Houdini SOP node. The compile command is like below : hcustom -l simpleMultiCopy.lib TestSopNode.cpp And I got a error message like below : Making 'TestSopNode.o' and 'C:/Users/user/Documents/houdini14.0/dso\TestSopNode.dll' from 'TestSopNode.cpp' TestSopNode.cpp C:/PROGRA~1/SIDEEF~1/HOUDIN~1.258/toolkit/include\boost/format/alt_sstream_impl.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss Creating library TestSopNode.lib and object TestSopNode.exp TestSopNode.o : error LNK2019: unresolved external symbol "void __cdecl simpleMultiCopy(void)" (?simpleMultiCopy@@YAXXZ) referenced in function "protected: virtual enum UT_ErrorSeverity __cdecl TestSopNode::cookMySop(class OP_Context&)" (?cookMySop@TestSopNode@@MEAA?AW4UT_ErrorSeverity@@AEAVOP_Context@@@Z) C:/Users/user/Documents/houdini14.0/dso/TestSopNode.dll : fatal error LNK1120: 1 unresolved externals And below is the facts : 1. When I tested to compile normal console application with above CUDA library, no error happened 2. It's not a link error. when I compiled the same thing with wrong library name, I saw a different error : LINK : fatal error LNK1181: cannot open input file 'simpleMulC.lib' 3. simpleMultiCopy.lib has the function 'void simpleMultiCopy(void)' And my compile environment is like below : 1. OS : Windows 7 2. Visual Studio Version : Microsuft Visual Studio Express 2012 3. Houdini version : 14.0.258 How can I compile my SOP node with CUDA library? I'll really appreciate when you give some tips to me. Thanks.
  3. Getting keyboard Input in HDK

    It works!! Thanks a lot, Ratman. I've seen UT_Interrupt.h before, but i didn't realize it works because I missed something at that time. At least, you can know when ESC key is pushed. To know it, you should get interrupt from Houdini at first. UT_Interrupt *boss; boss = UTgetInterrupt(); And, you may let Houdini know your operation is starting by below : boss->opStart("your operation name", 0, 0, &interruptId) Then, you can know when ESC key is pushed by below : boss->opInterrupt() It returns true when ESC key is pushed. And you should let Houdini know when your process is ended : boss->opEnd(interruptId); That's all I know. It's enough to solve my problem, so I don't try to get more for this topic. It might be wrong, so please update when you find something wrong in this text. Thanks again, Ratman
  4. Hi all, I've been struggling with getting keyboard input during cooking custom node, especially SOP node. It's needed because my custom node is a little bit expensive to cook, and I sometimes want to stop cooking right now when it takes a big time to finish. Simply, I've started with c++ library like 'getch()' or something else. But, I realize that it's useless. It seems that Houdini hooks all mouse & keyboard event, so I can't catch any events in my codes. I'm trying to know how to get some input events from Houdini, but I can't. I'll be really happy when you teach me how to deal with it. Thanks for reading and have a nice day.