Wednesday, May 4, 2011

Day 40

Today I continued working on the points problem by working from the scene provided by odforce.

Below is the scene. It works the same way as my old file.


But I still can't get the secondary fracture to work.


Luckily Mr Ron dropped by in the afternoon and helped me fixed the problem.

Firstly he tried creating particle ID for the different particles, but it didn't work. The numbers kept changing. The changing point numbers is going to affect the voronoi fracture.



Mr Ron then thought of doing it for each piece of the falling pieces. He did a foreach node.

Inside the foreach node, a simple scatter node and a voronoi fracture node is used. A foreach is further created as the output to create points on each fracture piece.





















Inside the foreach node:




















First, a point was added in the center of the geometry piece. Then the point is grouped in a new group. Then a delete node is used to group the points and the geometry separately. Then a point is again created. Then a copy sop is used to copy the geometry to the point.

By doing that, a point is further created for each secondary fracture piece. Then a point node is used to move the different points of the pre-fractured geometry piece apart. Hence, the secondary fracture pieces will break up apart due to the moving points over time. But during the copy sop, a problem was encountered.

The copied geometry to the points position is far off compared to the original geometry. Below is the problem:




















As I wanted to visualize how it looks, I added a merge tool and this is how it looks,




















And the simulation:

 

As shown above, the secondary fractured pieces seems like they are "spawning" out of no where. I couldn't find what is the problem though. Hopefully, I could solve it soon and proceed on to rebuild the file in the commercial version of Houdini.

I also consulted Mr Ron on the jumping point numbers I encountered a few days ago, Mr Ron helped me fix it by bring the voronoi fracture node and the scatter node above the point node that controls the opening of the crack line. That solved the problem already. Below is how it looks,

No comments:

Post a Comment