Jump to content
Stalkerx777

Path Deform HDK Plugin

Recommended Posts

Thanks guys. I'm trying to implement multithreading now. It should be even faster if i can make it :)

Share this post


Link to post
Share on other sites

I managed to make this work on multiple cores. The code is a little bit ugly, but it's ok for now. For heavy geometry, especially when vector attribute reorientation required, it's about 5 times faster on my 6 core machine. I have updated code as well as binary files: https://bitbucket.org/alexxbb/hdk_pathdeformer

I need to take a break, because I have a dreams with c++ code  :D

Share this post


Link to post
Share on other sites

Thank you Alexey !

your tools look realy good ! but for now it s not working for me.

 

I put dso into /doc/houdini13/dso (windows 7 , H13.0.447), but i dont find your node in sop context ?

 

The compilied windows dso is for wich houdini version ?

 

have fun Papi

Share this post


Link to post
Share on other sites

Thank you Alexey !

your tools look realy good ! but for now it s not working for me.

 

I put dso into /doc/houdini13/dso (windows 7 , H13.0.447), but i dont find your node in sop context ?

 

The compilied windows dso is for wich houdini version ?

 

have fun Papi

Hi Thomas. I was compiled in windows_x64 with houdini13.0.498 and compiler VC9.

 

Make sure you put it in right place. I remember i had a situation, when houdini13.0 folder was in 2 places simultaneously. $HOME/My Documents/houdini13.0 and $HOME/houdini13.0. First place is the right place on windows.

Let me know if anything, i'll double check it.

Share this post


Link to post
Share on other sites

ok thank, think is about vc9 .. I'm on vc11.

 

I will test later on vc9 install

Edited by papicrunch

Share this post


Link to post
Share on other sites
Guest mantragora

ok thank, think is about vc9 .. I'm on vc11.

 

I will test later on vc9 install

 

Do you want to test something?

 

In previous versions of MS compiler you could download Windows SDK which contained 64-bit C++ compiler for free. With newest Windows SDK they removed C++ compiler from the pack. But according to this link VS 2012 Express (the free one) installation contains 64-bit c++ compiler by default. I can't test this on my system since I have full VS2012 and other things installed, so I can't be sure will it work because of my installation or only Express edition. But if you could install VS2012 Express, set MSCVDir variable and test if hcustom compiles it would be great.

Share this post


Link to post
Share on other sites
Guest mantragora

Thanks for the code Alexey.

 

I'm in the process of ripping it apart to merge it with my library of custom operators. When I finish I will try to write couple word about my workflow for developing plugins and some design guides I'm following when writing code that simplify development. Maybe you will find some of the tips there valuable enough to start using it in your development. It helps keep the code much more manageable.

Edited by mantragora

Share this post


Link to post
Share on other sites

.....When I finish I will try to write couple word about my workflow for developing plugins and some design guides I'm following when writing code that simplify development. Maybe you will find some of the tips there valuable enough to start using it in your development. It helps keep the code much more manageable.

 

Sure. It would be great :)

Share this post


Link to post
Share on other sites

Awesome work, I actually needed something just like this :)

 

 

Do you want to test something?

 

In previous versions of MS compiler you could download Windows SDK which contained 64-bit C++ compiler for free. With newest Windows SDK they removed C++ compiler from the pack. But according to this link VS 2012 Express (the free one) installation contains 64-bit c++ compiler by default. I can't test this on my system since I have full VS2012 and other things installed, so I can't be sure will it work because of my installation or only Express edition. But if you could install VS2012 Express, set MSCVDir variable and test if hcustom compiles it would be great.

 

 

VS 2012 express works with hcustom but its not particularly nice about it.   First you gotta move a copy of the cl.exe from the x86_amd64 folder to the amd64 folder then every time you you launch Houdini's command prompt you gotta run the vcvarsx86_amd64 bat file from inside the command prompt. 

Share this post


Link to post
Share on other sites
Guest mantragora

VS 2012 express works with hcustom but its not particularly nice about it.   First you gotta move a copy of the cl.exe from the x86_amd64 folder to the amd64 folder then every time you you launch Houdini's command prompt you gotta run the vcvarsx86_amd64 bat file from inside the command prompt. 

 

As long as it gives people possibility to compile for free I think they will be OK with small inconvenience. Thanks for info.

Share this post


Link to post
Share on other sites
Guest mantragora
VisualStudioPath\11.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat

Share this post


Link to post
Share on other sites

Thanks Alexey!

Please, excuse my complete ignorance (doing my first steps with Apprentice),  but where I should place these files for Houdini-Mac?  :blush:

 

I'm searching for some “plugin” directory, or similar, inside my Houdini folder without success…

 

In fact, it intrigues me were really is installed the main application and related files?, since the files I have inside /Applications/Houdini 13.0.582 are so lightweight…

 

THANKS!  :)

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

×