Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

faxingberlin

Members
  • Content count

    33
  • Joined

  • Last visited

Community Reputation

0 Neutral

About faxingberlin

  • Rank
    Peon
  • Birthday 12/03/1990

Contact Methods

  • Website URL
    http://dreamliker.com

Personal Information

  • Name
    Hyunjun
  • Location
    Seoul, Korea
  • Interests
    houdini, HDK, Shader, VEX, AI, tensorflow, System Programming

Recent Profile Visitors

1,404 profile views
  1. Thanks! That's really helpful
  2. I am making some fractal which is needed Complex Numbers. I use Python Module's Complex Method. => complex(1, 2) = 1+2j But I want to know using Complex Numbers via VEX Language. According to SideFX's Houdini Documents, vector2 : Two floating point values. You might use this to represent texture coordinates (though usually Houdini uses vectors) or complex numbers. But I cannot know how to express the complex numbers in VEX.
  3. I really appreciate of your answer, Illusionist. Thanks! I will try right now.
  4. Are there any reference of OpenGL Context for houdini? like vex context(P, Cd, ....)
  5. Hi, there. I have some HDAs that use an external python module. I'd like to package the module into the HDAs so that external files are not necessary to use them. Currently I am embedding the python module using the “Custom Script” event handler, and I want to read file from “Extra Files” Tab. I want to write & read files from HDA's Extra Files Tab. Because I don't want to write & read files from External Directory. If I changed computer, I should move not only HDA asset but related External Files. I want to embed all files related to HDA. The Extra File is just txt file or json file. I already ask same question to sidefx forum. But, I receive some useful tips. I try HDADefinition Module but I cannot find to write in HDA. I spend about two weeks.. otl OTL Is there any way to write in the HDA's Extra Files? Link I asked same question
  6. Thank you ! Thanks you! Nowadays, I study in compatible environment and I successfully implement Dijsktra Function on my own VEX function!
  7. I am a beginner who studied HDK. I use VC14(visual studio 15), Houdini 15.5. I study many examples in SOP folder and etc... There are two questions. First, GA_PointGroup * mygroup; GEO_Point * ppt; GR_FOR_ALL_GPOINTS_NC(gdp, GEO_Point, pt) { mygroup->add(ppt->getNum()); } This Code should be fixed by reference HDK Documents(Geometry Porting Cookbook) http://www.sidefx.com/docs/hdk/_h_d_k__g_a__porting.html#HDK_GA_PortingCookbook_Simple_Name_Translation /* *Adding To A Group * *GB Code *group->add(prim->getNum()) *==> *GA Code *group->add(*prim); *group->addIndex(prim->getNum()); */ GA_PointGroup * mygroup; GEO_Point * ppt; GR_FOR_ALL_GPOINTS_NC(gdp, GEO_Point, pt) { mygroup->add(*ppt); mygroup->addInex(ppt->getNum()); } I changed like this. But mygroup->add(*ppt); still error... Is There any way? Second, I have one more question about GEO_PointList For the Documents, GB_ElementList GB had arrays of pointers to objects. As these objects no longer exist, code using element arrays should likely be re-written to be more efficient. The GA version of element lists return by value (not by reference). // GB Code GEO_PointList &pnts = gdp->points(); ==> // GA Code GEO_PointList pnts = gdp->points(); But there is no GEO_PointList.. I check it existed 13.0 not 15.0 I traverse 13.0 HDK Documents related GEO_PointList.. It's so difficult to find out the replacements. I search for Major Changes and HDK Forums, Documents. I cannot find. I want use points() function.. OTL
  8. Okay That works perfectly. Thank you!
  9. Thank for answering kindly. Yes, I change output directory like this. In Visual Studio 2015, Property Pages - Linker - General - Output File : C:\Program Files\Side Effects Software\Houdini 15.5.480\houdini\vex\myprint.dll But, Windows 10 needs Administor authorization to access or modify in C drive especially, Program Files. So, I solve this program by window mount using mklink.
  10. VEX_example.C cannot print Vectors. So, I modified function. it works! it's fun. Thank you for answering again. Could I ask one more question? This is VEXdso file in $HFS/houdini/vex. #ifndef __HFS_VEXdso__ #define __HFS_VEXdso__ // // VEXdso // // This file contains the definitions for VEX plug-in functions. // // There is currently one dynamic loaded VEX instructions. // // Please see $HH/vex/dso/VEX_VexOp.html for more details. // // // Since Windows dynamic objects have a different file extension than // most unix platforms, we define a macro which makes the correct // filename. We also simplify the path construction a little. // #if defined(WIN32) #define DSO_FILE(filename) filename.dll #elif defined(MBSD) #define DSO_FILE(filename) filename.dylib #else #define DSO_FILE(filename) filename.so #endif // Define VEX plug-ins here DSO_FILE(vex/VEX_OpRender) DSO_FILE(FLU_Filament) DSO_FILE(vex/myprint) // This Line is I added. // Make sure to undefine the macro before doing any further includes #undef DSO_FILE // // When copying this file to other locations in the HOUDINI_PATH, // please uncomment the following line (or change it) so that any // other VEXdso files get processed. Also, you'll have to change the // #ifndef/#define at the top of this file. // // #include "$HFS/houdini/vex/VEXdso" #endif I add the line : DSO_FILE(vex/myprint) myfunc.dll is in $HFS/houdini/dso/vex. But, In my Setting : When I compile VEX_example.C using Visual Studio 2015, The myfunc.dll file is generated in $HOME/houdini15.5/dso So I have to move again again whenever I recompile. How Could I modify VEXdso when houdini starts up scanning $HOME/houdini15.5/dso. I try to modify like DSO_FILE($HOME/houdini15.5/dso/myprint) or DSO_FILE(/c/Documents/.../.../houdini15.5/dso/myprint), it doesn't work. This is vector print out example.
  11. I successfully compiled VEX_example.C (code is at below the link) http://www.sidefx.com/docs/hdk15.5/_v_e_x___example_8_c.html I understand this produces Build-In VEX function like lerp(), geoself(), addpoint().... How could I use produced function in VEX? I refer to see http://www.sidefx.com/docs/hdk15.5/_v_e_x___example_8vfl_source.html. Make VEX operator and try to use function, but I can't.. Is there any example?
  12. Thank you for answering. I use Cop and finally I use instance I solve! Thank you!
  13. Thank you. But it's the using pre-maked map.pic. I mean the object applied shop's shader(.vfl code) and extract the Color Value From that.