Netvudu Posted February 20, 2012 Share Posted February 20, 2012 (edited) Hi there. I know I can project a point over a deformed grid (for instance) using a Ray SOP, but it does so using the minimum distance, and what I want is to project on one axis (let´s say Y). I was able to get something similar to what I wanted with a creep SOP, but I´m pretty this must be quite simple to do in VOPs. I was thinking something along the lines of : -Input two geometries into a VOP SOP - Use X and Z coordinates from geometry 1 (the point) - Use Y coordinates from geometry 2 (the grid) But I don´t seem to be able to do this. A little push from anyone? Edited February 20, 2012 by Netvudu Quote Link to comment Share on other sites More sharing options...
eetu Posted February 20, 2012 Share Posted February 20, 2012 Ray SOP projects along the direction of supplied N of the points. So, if you use (0, -1, 0) as your N, it projects them straight down. (Unless you've changed the method from project rays to minimum distance) Quote Link to comment Share on other sites More sharing options...
eetu Posted February 20, 2012 Share Posted February 20, 2012 Just in case you're having a brainfart: od_netvudu_ray.hip Quote Link to comment Share on other sites More sharing options...
Netvudu Posted February 20, 2012 Author Share Posted February 20, 2012 (edited) Hi eetu. You are right (us usual ). Also, thanks for the file, though I tried it first on my own example and I could clearly see it worked. I would be interested though, in my original question. I mean, I like finding "VOP ways" because it helps me to learn VOPs. Edited February 20, 2012 by Netvudu Quote Link to comment Share on other sites More sharing options...
anim Posted February 20, 2012 Share Posted February 20, 2012 ... I would be interested though, in my original question. I mean, I like finding "VOP ways" because it helps me to learn VOPs. here is the VOP way vop_ray_intersect.hip 1 Quote Link to comment Share on other sites More sharing options...
Netvudu Posted February 20, 2012 Author Share Posted February 20, 2012 Now, that´s what I´m talking about. Thank you! Quote Link to comment Share on other sites More sharing options...
Octo Posted February 19, 2014 Share Posted February 19, 2014 Sorry to dig this up, but is there a good way to make the ray sop project to both 1 and -1 in an axis? Quote Link to comment Share on other sites More sharing options...
magneto Posted February 19, 2014 Share Posted February 19, 2014 You mean either 1 or -1? You could use the Intersect VOP and see if it hits a face, and if not, then reverse the direction. Quote Link to comment Share on other sites More sharing options...
Octo Posted February 23, 2014 Share Posted February 23, 2014 No, i mean 1 and -1. For example, if i place one grid on top of another, and put a mountain sop on one of them and want to ray the other grid to it. The mountain sop translates points in 1 and -1 by default. The ray sop only translates points in 1 and -1 if you use minimum distance, which sometimes isn't what's needed. When not using minimum distance I have to choose either 1, or -1, which only translates about half the points. Or I could to use 2 ray sops, one set to 1, one set to -1. A vop works I suppose but it seems like such a simple thing to add to the ray sop, since the feature is already in there. Quote Link to comment Share on other sites More sharing options...
Skybar Posted February 23, 2014 Share Posted February 23, 2014 Just use two Ray SOPs? 1 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.