rygo6 Posted October 25, 2017 Share Posted October 25, 2017 (edited) I am trying to accomplish something similar to this tutorial: https://www.youtube.com/watch?v=ejWtQnZJHdk I have a grid which I am extruding with polyextrude, but I want the extrusion of the grid to be controlled by a curve. So then I can draw a curve over the top of the grid and the extrusion will not get past where the curve is. This is so that I can essentially 'carve' a line through the extruded cubes. I have this partially working, which I did so by copy stamping a sphere along the curve and then using the transfer attributes node. I attached an image of the scene I have to better explain. The problem with this though is that the resulting value of the attribute is arbitrary it seems. It does not represent the actual distance of the surface from the curve. So the extrusions do not end up touching the curve perfectly. How do I make an attribute that represents the exact distance between a given point on the surface and the nearest point on the curve? Edited October 25, 2017 by rygo6 Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 25, 2017 Share Posted October 25, 2017 I'm not answering the question directly..but here's just another way to tackle the problem.. vu_cropcircles.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 25, 2017 Share Posted October 25, 2017 still not answering your question....but a much neater version here... vu_cropcircles2.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 26, 2017 Share Posted October 26, 2017 (edited) ok....here...using @dist...(this is from ray, do not confuse with dist from polyextrude) The 'dist' from poly extrude is a multiplier to the @dist from ray. You can change the ray method to Min Distance to get an interesting different look. somewhat related to this thread: ) vu_cropcircles3.hipnc Edited October 26, 2017 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
rygo6 Posted October 30, 2017 Author Share Posted October 30, 2017 Thank you very much that was all extremely useful. 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.