Guna Posted April 27, 2018 Share Posted April 27, 2018 Hi all, I am trying to create a school of fish that has to be in a definite shape. So i created an object and filled with points. The points don't change as the object move. The object also deforms. Now, I am stuck while setting up the orientation for the points as the object turns and bends. Don't know how to set it right. Can anyone help me on this? Thanks in advance!Please find the attached hip file. Fish-Swarm-v01.hip Initial-volume.abc Quote Link to comment Share on other sites More sharing options...
StepbyStepVFX Posted April 27, 2018 Share Posted April 27, 2018 Have you tried the "Trail SOP", setup on calculate velocity ? If the ID of your points don't change over time, that will give you speed, that you can normalize if needed and use to orien tyour points and instance your objects (up vector won't change I guess). To be sure your points will keep the same ID over time if your object deform, maybe try the "pointdeform SOP" : you create a first frame with your points scattered from your object, and then use your object as a lattice reference together with its deforming version to drive all your scattered points, and then you can use the trail sop... Hope that helps Quote Link to comment Share on other sites More sharing options...
Guna Posted April 28, 2018 Author Share Posted April 28, 2018 Thanks for the reply.i haven't tried trail sop yet.your idea sounds good. will give it a try. Thank you Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted April 28, 2018 Share Posted April 28, 2018 Maybe something like that? Fish-Swarm-v01_fix_normals.hipnc Quote Link to comment Share on other sites More sharing options...
Guna Posted April 28, 2018 Author Share Posted April 28, 2018 Thank you Victor. It worked! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.