Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

About Yannci

  • Rank
  • Birthday 08/08/1991

Personal Information

  • Name
  • Location
    Stuttgart, Germany

Recent Profile Visitors

372 profile views
  1. If you're using Qt it would be native c++ application (I assume we are talking about the Framework and not the wrapper library). You could then launch it as standalone Qt Application from your menu. A guess from my side would be, if your own library is kind of simple, to use the ctypes python module which allows you to directly load a dynamic library into the RAM and use it in your python code. I haven't tested it in anyway and it could be a hassle getting this to work. Another option is to use e.g boost python which let's your write simple c++ code to wrap your library functions in python code.
  2. Your welcome! Glad that I could help you.
  3. I found the solution a few hours ago: The force and torque vectors seem to be uninitialized when passed to the getForceSubclass() method. Populating them with values is absolutely neccessary after creating the force on the object. Hopefully someone can profit from my mistake in the future.
  4. Hello everybody, I'm currently working on a two-way rigid body coupling with SPH simulations in Houdini. Everything is working out fine. Execept from one of the key points. The two way coupling. The SPH Solver is running in Houdini, it reacts to Houdinis rigid bodys, get's its correct data etc. To apply the corresponding velocitys and torque to the rigid body I subclassed SIM_Force and implemented the virtual getForceSubclass method. This method has a UT_Vector for force and torque as parameter. If I add to this vectors arbitray values (even with 0, 0, 0) my rigid body is freaking out. If I put a gravity force node in the simulation and set it's values to 0 for all components it looks better until some point where my rbd seems to disappear. Using the torque vector this happens often on the first simulation frame. I think that I did all as in the SIM_ForceOrbit example in the HDK: I derived my class from SIM_Force I overrode getForceSubclass, getForceOnCircleSubclass, getForceOnSphereSubclass (the last two just call getForceSubclass) I overrode the getOptimalForceSamplingSubclass which returns SIM_FORCE_SAMPLEPOINT because the rbd is only represented with it's pivot point. The data get's places in the SIM_Container (Forces) as every other Forces, too, so that it can be discovered by the bullet solver. I builded it as Force AutoDOP Node and also as a simple Force Data that is created with the SIM_DATA_CREATE Macro on the Object. None is working. printing the content of the position and mass, passed in to the getForceSubclass method, on the console shows reasonably values Any suggestions? Is there a better way to achieve what I try to do, I think the RBD_State or other Data is not the way to go. Best regards and a big thanks to everyone helping me out. Yannic
  5. You call SOP_Circle::cookMySop in your SOP_myCircle::cookMySop method. It's a virtual method, so you just have to override it. So remove your call to the baseclass cookMySop and I think you should be done and get your attribute.