How to loop feed Ray SOP in animation?

   1433   3   1
User Avatar
Member
3 posts
Joined: Jan. 2015
Offline
Hi.

I need to loop feed the result of Ray SOP in an animation:

- the collision primitive is animated
- points of input geometry should be re-projected every frame on the updated collision primitive

I tried to do this using CHOP's Feedback node (attached), but failed to set it up correctly. Does anyone know how to make that work or use any other way how to do it?

Attachments:
ray_feed.hipnc (89.9 KB)

User Avatar
Member
3 posts
Joined: Jan. 2015
Offline
OK, I went with just attributes for now. Interpolating Prim Num and Prim UVW attribute from the Ray node. Would like to know how to loop the ray though.

Attachments:
attribute interpolate.hipnc (106.6 KB)

User Avatar
Member
8525 posts
Joined: July 2007
Offline
you can use Solver SOP if you want to modify geometry result from previous frame

or For Loob With Feedback loop in SOPs if you want to just loop a few times within the same frame
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
3 posts
Joined: Jan. 2015
Offline
tamte
you can use Solver SOP if you want to modify geometry result from previous frame

or For Loob With Feedback loop in SOPs if you want to just loop a few times within the same frame

Yes, that's probably the best tool for the job. Thanks.
  • Quick Links