Day 24 - Avalanche Previsualization
Avalanche PrevisualizationToday I tried out this tutorial, https://www.sidefx.com/index.php?option=com_content&task=view&id=1221&Itemid=262So basically, I'm supposed to create this collision between this slope and boulders. Firstly, I created out the slope by creating out a grid and making it to rotate on x-axis by 58 degrees, increase the rows 15 by 15 and scale 4 by 1 by 3. After that, I dived into the "slope" node and create a mountain node. I increased the height to 1.3Next, I'll go and create the "boulders". I'll first create another grid, scale it 3.3 by 1 by 0.5 and change the rows by columns to 2 by 2. I'll then change translate y-axis to 13 and z-axis to -1.5.Lastly, I'll go and create another box as my "source_boulders"
I'll start and make the "slope" object to be a "Rigid bodies > Terrain Object" then I'll make the "boulders" a RBD point object. Then I'll select the box as my instance. For this, when I'm selecting the RBD point object, I'll have to click on the RBD point object instead of the RBD packed object.
After that, I'll go back to "source_boulders" and create a color and null node. After that, I'll go back to the "slope" node to create an object merge for my boulders. Then I'll go and create out an "attribtransfer" node to combine my "attribcreate" and "object_merge". So after that, I'll add a group under "attribtransfer" and named it snow and at the filter expression, I'll add in this filter expression "$CB < 0.8"
Next, I'll create a popnet, dive inside to create a source and interact pop. So as to create the particle simulation to appear when my boxes started to fall down. I've also went to the "source_boulder" node to create a tube and switch so that I can toggle in between boxes and tubes to create more variables. So this is my final work.
However, I still couldn't make the particles to appear after my boxes dropped off. The particles will appear before my boxes drop off. I tried to fix it but I haven't get to solve it. But other than that, other things that is in this animation works well.This is the directory for this project:\\MUSHROOMSWISS\test\peishan\avalanche_previsualization
No comments:
Post a Comment