myke3d Posted February 12, 2016 Share Posted February 12, 2016 Hi, I'd like to have some dynamic objects, or particles and then project the uv's at a certain frame, it can be the last frame and then I want them to be locked to the geometry to from this frame and the first. I tried with rest node but I could not achieve what I want. Can you help me? I sent a file with a example with some spheres. uvs_lastframe.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted February 12, 2016 Share Posted February 12, 2016 (edited) You can just drop down a python node after the UV Project and then have the Python node bypass the UV Project node until you reach your end frame. n = hou.node('/obj/grid_object1/uvproject1') if `$F` == 100: n.bypass(0) else: n.bypass(1) Note: The default operation of the UV Quickshade is to view UVs. If there are no UVs, in this case when the projection is bypassed the UV Quickshade will create UVs. Just a warning, if you want absolutely no UVs make sure to bypass or remove the quickshade as well. Edited February 12, 2016 by Atom Quote Link to comment Share on other sites More sharing options...
myke3d Posted February 12, 2016 Author Share Posted February 12, 2016 I'm not sure I understood. Well I want to have UV's all the time... but I want them to be based on the last position. the idea is to create an effect like this from benjamin button opening tittle. So I need the uv's but them to be fixed in the uv space. Quote Link to comment Share on other sites More sharing options...
fathom Posted February 12, 2016 Share Posted February 12, 2016 run your sim to disk and read it back in. add a timeshift and set it to your last frame of sim and make your uvs on this chain now plug that into input 2 on a point wrangle, with input 1 being your read-in sim use this code: v@uv = point(1,"uv",i@ptnum); 1 Quote Link to comment Share on other sites More sharing options...
Skybar Posted February 12, 2016 Share Posted February 12, 2016 Timeshift SOP to last frame, AttribCopy SOP the uvs to your live geo. Quote Link to comment Share on other sites More sharing options...
myke3d Posted February 12, 2016 Author Share Posted February 12, 2016 Thanks a lot guys... I researched a little bit. I found I was doing something wrong before. I was doing uvs on vertex and should do on point. I then did 3 methods and I will share now the file if you want to see... I think the Fathom method is the best with p wrangler... uvs_lastframe.hiplc.hipnc 2 Quote Link to comment Share on other sites More sharing options...
avt5000 Posted March 3, 2016 Share Posted March 3, 2016 run your sim to disk and read it back in. add a timeshift and set it to your last frame of sim and make your uvs on this chain now plug that into input 2 on a point wrangle, with input 1 being your read-in sim use this code: v@uv = point(1,"uv",i@ptnum); hi i want to try this but with fluids. some advice.? Quote Link to comment Share on other sites More sharing options...
fathom Posted March 3, 2016 Share Posted March 3, 2016 if you're talking about a fuild mesh, it's not quite so easy since the topology is likely to be changing every frame. this method relies on constant topology and just changing point positions. 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.