merge object using level set

   15255   12   2
User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
hi everyone:

this is from the spiderman3. using level set to merge object smoothly. I tried several times in houdini.But it not works.

could some nice people give a example to show how can I acheive this effect just using simple geometries?

Attachments:
snapshot20080704151338.bmp.jpg (22.3 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
two

Attachments:
snapshot20080704151416.jpg (28.3 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
three

Attachments:
5.jpg (39.5 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
four

Attachments:
5a.jpg (28.3 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
five

Attachments:
5b.jpg (43.7 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
six

Attachments:
5c.jpg (41.4 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
seven

Attachments:
5d.jpg (36.7 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
So,let me make it more clear.

Is it possible to quaue query the per vexel sdf attribute , do some math, and modify the attribute.
User Avatar
Member
50 posts
Joined: Feb. 2009
Offline
syzmatrix
Is it possible to quaue query the per vexel sdf attribute , do some math, and modify the attribute.

This can be done with the Volume Vop SOP. Try converting both objects to SDFs using the IsoOffset SOP then piping them into a Merge and the Merge into Volume VOP SOP. An important thingto note though, is that on Spiderman the SDFs they used had positive values inside the surface and negative values outside, while Houdini's SDFs are reversed.
User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
hi danBode


thanks very much for your reply. This is really nice of you to provide such a valuable suggestion.

I am working on it. There is still some problem I can not fix.
could you give a very simple hip file that I may understand it better.?

thank you very much again.
User Avatar
Member
50 posts
Joined: Feb. 2009
Offline
Here's a test I made for myself a while ago while trying to do the same thing. For smoothing the intersecting areas, I tried using the math from Spiderman, in a volume mix SOP but when I couldn't seem to get that working, I did my own math in a volume VOP SOP. Hope it helps.

Dan

Attachments:
dmb_sdfTest3.hipnc (542.1 KB)

User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
Hi danBode


Thanks very much for your great contribution, you are really a nice person with excellent understanding of houdini. It is my pleasure to meet you here!

cheers 8)

sun
User Avatar
Member
56 posts
Joined: April 2008
Offline
But how to control erosion of the level sets?Thanks.
  • Quick Links