CinnamonMetal Posted January 20, 2019 Share Posted January 20, 2019 I know I'm doing something wrong, as I can't get this for loop to work on the material; it's not perfect, that is where I want to know what I did wrong ? LoopTexture.hipnc Quote Link to comment Share on other sites More sharing options...
davpe Posted January 20, 2019 Share Posted January 20, 2019 (edited) what do you expect to get? like this the loop doesn't make much sense. first, your "length" needs to be some non-zero constant integer value. secondly, "ïndex_in" typically gets no input as it acts as an iteration counter. then you generally want to add (or multiply, divide, whatever...) iterations results (var1 in your case) before exiting the loop to get any meaningful result. then you have to introduce some "change" at each iteration, which, currently, you haven't. you are just adding a constant number to your multiplier which will be the same at each iteration. loops are a bit tricky to grasp at first but when you do it's actually quite simple. Edited January 20, 2019 by davpe Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted January 21, 2019 Author Share Posted January 21, 2019 I can write them in code, this node always throws me off. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted January 25, 2019 Author Share Posted January 25, 2019 @davpe Why would the loop apply to each primitive rather then the whole mesh, if I'm applying UV coordinates, using the UV coordinates vop ? 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.