Jump to content

Custom VEX operator


Recommended Posts

hi all..

I've run hcustom on VEX_Ops.C on ubuntu karmic koala 64-bit and it compiles properly (i did add an include for UT_DSOVersion.h and changed the scope of getpid() to VEX_ALL_CONTEXT). I tried creating a new VEX geometry operator type and entering code with a call to getpid() but vcc cannot find a definition for it. The newVEXOp() function in VEX_Ops.C is not getting called.

Is there something i'm missing? Maybe i'm not testing it correctly :( .

thanks

Link to comment
Share on other sites

Just as a check i compiled the SOP_Star example and it works fine. LD_DEBUG shows that the both sop and vex shared libraries are loaded by Houdini but a breakpoint set in newVEXOp() never triggers, though a breakpoint in newSopOperator() is hit. The LD_DEBUG logs (i've attached the entries which mention the sop and vex shared libraries) show that Houdini is checking for newVopOperator, newSopOperator, and a number of similar symbols, but never checks for newVEXOp. Has anyone been able to get the VEX_Ops example working on Ubuntu Koala 64-bit? Is there any additional information which might help to resolve this?

thanks!

sop.txt

vex.txt

Link to comment
Share on other sites

Thanks.. that fixed it! The LD_DEBUG log now shows that Houdini is hooking newVEXOp. I had seen the section on index files earlier, but blitted over it because the word "obsoleted" is in bold in the first sentence :rolleyes:.

Digging into it a bit further, there is $HFS/houdini/vex/dso/VEX_VexOp.html, which is quite detailed. This content doesn't seem to be indexed by google.

It would be nice if the VEX_Ops sample included a VEXdso file or a readme.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...