Frenchdog’s Weblog

How to resample curves in Softimage

April 26, 2009 · 3 Comments

Hi,

Its been a long time since my last development post ! I was a “little” bit busy on the last Perrier commercial at la maison. It was a very interesting project and I hope to give you a web link soon !

In this cloudy parisian weekend, I was cleaning … some files on my laptop when I realised that I could send some of my plugins to the web instead of just let them sleep on the hard drive. 

 Here is the first one, a resample operator. As far as I know, you can’t resample curves in Softimage. I like the “resample” SOP in Houdini as you can choose the  number of points or a fixed segment length to resample a curve, so I add the same feature in this Softimage custom operator. It is a win32 dll, but if you want sources for other platforms, you can send me an email !

PS: no picture or video for this plugin, I’m too lazy !

Edit : I just found an old ICE wire dynamic scene to illustrate this plugin ! It is an unfinished project to find an alternative to Houdini wire solver. But as it is greatly improved in Houdini10 , I’m not sure I will finished it…  At least it is a good example for the resampleOp. A point cloud was used to deform a curve by setting curve points position from particles position.

Here is the video : http://www.vol2nuit.fr/guillaume/blog/resample_xsi_curve_op/resample_xsi_curve_op

Categories: xsi

3 responses so far ↓

  • ahmidou // May 24, 2009 at 10:42 am | Reply

    Salut Guillaume
    Merci pour cet operateur, je n’ai jamais vraiment compris pourquoi les generateurs n’avaient pas tous leur equivalent en modifieur comme pour les booleens….
    Sinon j’avais une question pour toi, ton “wire solver” reagit vraiment bien il semble ne pas stretcher et reviens rapidements en position
    quel methode utilise tu?

  • frenchdog // May 24, 2009 at 10:51 am | Reply

    Salut ahmidou,

    J’utilise la methode “Verlet integration”. C’est la façon la plus simple que je connaisse pour avoir un system avec des retards qui ne stretch jamais. J’ai vraiment compris le principe apres avoir examiné les springs de Helge Mathee sur XSIblog !

  • ny // October 18, 2009 at 10:35 am | Reply

    Could you send me the sources and the project file to compile it for x64?
    Thanks.

Leave a Comment