Symbolic Posted February 10, 2007 Share Posted February 10, 2007 Hi, I am still trying to build this flocking system. I have figured out a way to read the speed of the particles and use that to drive the speed of the *.bgeo seq playback. I will post something about that on the other post that reads: "Reading The Velocity Of The Particles." (http://forums.odforce.net/index.php?showtopic=5011) Now I have the next problem. The orientation of the copied geometry gets twisted. Some of the clones turn upside down when they change direction. I am not able lock their orientation. Here is the hip file: on_the_wall_24post.hip Here is a sample movie: twisted_cows.mov The red dot (cone) represents the top side of the clone. Notice how it gets lost on some of the clones. Some of the clones just gets up-side down at some position. How can I lock the clones to a UP vector... and make them orient along the direction of the actual particle. Thanks. Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 10, 2007 Share Posted February 10, 2007 Hi, Please read the following odwiki page for some information that might help you: http://odforce.net/wiki/index.php/MantraInstancing Cheers! steven Quote Link to comment Share on other sites More sharing options...
Symbolic Posted February 10, 2007 Author Share Posted February 10, 2007 Hey! Thanks. I have seen this page before. It was too complicated for me then. I will try going through it again... But before that... I would like to ask: I am using the COPY sop... I am not using INSTANCE... do you think it is the same case. Because I have some POINT sops... I have some VECTOR UP sops... but it does not seem to work. Is instancing and copying the same process in terms of orientation? I know they are not the same in terms of memory and rendering. Thanks. Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 10, 2007 Share Posted February 10, 2007 Hi, From the wikipage: Instancing and the CopySOP both use the same algorithm to align geometry to particles/points/templates. Cheers! steven Quote Link to comment Share on other sites More sharing options...
Symbolic Posted February 11, 2007 Author Share Posted February 11, 2007 ...I have been reading and trying for the entire Sunday... And no result... I just can not make the object to keep their proper orientation... I have tried everything... Point SOPs to fix N and V for the geometry used as the particle source... Vector UP POPs in the POP network... but no result! Can anybody help me about this... And the odWiki about instancing, it is ok... most of it too complicated for me... but I already tried creating these Normals and Velocities... and the UP vectors... But it does not work!!! Quote Link to comment Share on other sites More sharing options...
graham Posted February 11, 2007 Share Posted February 11, 2007 Check this out. No more flipping and such. I think it's like what you were wanting. Took out the point sop before the pop network, added an upvector pop set to Z axis and a velocity pop with 0 on Z to keep them from going into or off the wall. Also, removed Z rotation of 90 from the transform and I ended up moving the scale and 180 y rotation from the transform sop to the copy sop because I felt like it. Also works correctly when instancing the cone geo to the points. on_the_wall.hip Quote Link to comment Share on other sites More sharing options...
Symbolic Posted February 12, 2007 Author Share Posted February 12, 2007 (edited) !!! Thanks! You saved my life!!! But what I was doing wrong?! After making this post... I have struggled to fix it for two days! I have tried everything... Puting POINT sops after the geometry that was a source for the POP generator... just to fix the Normals and build an inherited velocity in the correct direction... I also tried POINT sops after the POP NET... trying to set UP VECTORS etc... I even tried the ROTATE POP... also tried everything (UP VECT., VELOCITY etc) in the POP net. I even went through the whole POP chapter of the "Magic Of Houdini" book... I do not know?! Something was not right... Now I can sleep this night... Thanks! Edited February 12, 2007 by Symbolic 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.