Jump to content
Sign in to follow this  

about Surface Tension Models for SPH-Based Fluid

Recommended Posts


   Did anyone know how to use those .cpp .h file? in vs always warring somehow...and i also want to put those scriot into houdini mayabe need translate to vex  did anyone done this before?



Share this post

Link to post
Share on other sites
You must remember while creating custom plugin that your C++ source file must have a .C extension.

Source file location doesn't matter. You can compile it from anywhere but make sure you have full permission to that location. When you compile .C file, it gets saved in ~/houdiniXX.Y/dso folder with a .so extension.

If you have single source file then "hcustom" can be used to compile otherwise "Makefiles". 



If .h file is written in VEX(similiar to C/C++) then there are two ways to read it:

- #include "test.h" if it's in your $HIP directory

- #include <test.h> if it's on $HOUDINI_PATH


You can also set HOUDINI_VEX_PATH in your .env file.   

  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this