Simon demonstrates a collection of techniques on how to create geometry using simple VEX code and deforming objects with generated data.
Пікірлер: 44
@vonak65832 жыл бұрын
Thank you for sharing ! For those who have issues with doing the first one, don't forget to put normals on point AND activate your point into the "add" node !
@MrMythorst5 жыл бұрын
Hey Simon, thanks for the great Asset and Tutorial. But where can i find your asset ? thanks a lot :)
@user-wq3ki6zs6q4 жыл бұрын
thanks for this tutorial, but i cannot make it for last two cases. how can i make that curves avoid each other..
@ilyaeuteneier5 жыл бұрын
// project first point vector minpos = minpos(1, @P); @P = minpos; vector currentpos = @P; // set up initial variables vector dir = chv("axis"); int newprim = addprim(0, "polyline"); for( int i=0; i < chi("number_of_pounts"); i++ ) { // check N of closest point to the currently processed point on surface int closept = nearpoint(1, currentpos); vector closeN = point(1, "N" ,closept); // calculate new point position vector newpos = normalize(cross(closeN, dir + curlnoise(currentpos + i * 0.01) * ch("noise"))) * ch("stepsize"); // reproject new point position onto surface vector projectpos = minpos(1, currentpos + newpos); // draw new point with layer offset int newpt = addpoint(0, projectpos + closeN * ch("offset") * 0.00001 * i); addvertex(0, newprim, newpt); // set the new point to be the currentpos for next iteraction currentpos = projectpos; }
@Cazaq2 жыл бұрын
Thank youi!
@anaisdetailleur4265Ай бұрын
thanks
@renderdude59975 жыл бұрын
cool
@nothingspeaks5 жыл бұрын
whats after curl noise? its cut off
@julyperez83432 жыл бұрын
True love
@user-kw9cu4 жыл бұрын
vector minpos = minpos(1, @P); @P = minpos; vector currentpos = @P; vector dir = chv("axis"); int newprim = addprim(0, "polyline"); for( int i=0; i < chi("number_of_points"); i++) { int closept = nearpoint(1, currentpos); vector closeN = point(1, "N", closept); vector newpos = normalize(cross(closeN, dir + curlnoise(currentpos + i * 0.01) * ch("noise"))) * ch("stepsize"); vector projectpos = minpos(1, currentpos + newpos); int newpt = addpoint(0, projectpos + closeN * ch("offset") * 0.00001 * i); addvertex(0, newprim, newpt); currentpos = projectpos; } !!! Before feeding geometry to the wrangler add Normal node and set "Add normals to: Points"
@samsimyonraj9001 Жыл бұрын
its working for me thanks bro
@ThomasKlyhnChristensen5 жыл бұрын
I dont understand why but I cannot get this to work, I have copied it exactly (at least I think so) i am getting no errors and the first point is drawn on the surface of my geometry, but nothing else happens, no matter the number of points, stepsize etc, none of it changes anything. I can see more point being added in the spreadsheet but they are all in the same spot. any ideas? was this code posted somewhere by now?
@felipe_ai5 жыл бұрын
You target geo needs point normals, you can add a normal node and set it to points
@sergeyrybkin13315 жыл бұрын
after geometry create attribwrangle @N=@N;
@whomair5 жыл бұрын
@@sergeyrybkin1331 tried adding the normal node and attribute wrangle both. checked the code, no visible errors. nothing shows. what am i not doing?
@SansP3ur5 жыл бұрын
I"m not trying to be dodgy or smug, but you may want to consider taking your question to forums.odforce.net/ then link your thread back here.
@user-hl5zx1qh7s4 жыл бұрын
@@felipe_ai Can i get help from you? how did you made it to work? Can you send me a screen shot on discord or something
@yanasitta4 жыл бұрын
Thanks. I got curve wrap to work but its seems to only want to distribute towards the bottom of the object and not to far up unless I mess with the transform translation settings.
@user-hl5zx1qh7s4 жыл бұрын
Can i get help from you? how did you made it to work? Can you send me a screen shot on discord or something
@keanodaley5123 жыл бұрын
@@user-hl5zx1qh7s hey mate do you have a email? i need help with this.
@lahiru39083 жыл бұрын
Thank you
@Ali-pi6mn3 жыл бұрын
hey can you tell me how to added geometry to the line for the first one??
@keanodaley5123 жыл бұрын
@@Ali-pi6mn did you get it to work?
@Ali-pi6mn3 жыл бұрын
@@keanodaley512 yes I used poly wire
@keanodaley5123 жыл бұрын
@@Ali-pi6mn do you have Instagram or something? I think I need to help bud.
@Zorn1015 жыл бұрын
Where can I find the Noodle doodle sop?
@Ali-pi6mn3 жыл бұрын
hey can you tell me how to added geometry to the line for the first one??
@sams_3d_stuff5 жыл бұрын
It's working for me,thanks. In a weird way though :/
@user-hl5zx1qh7s4 жыл бұрын
Can i get help from you? how did you made it to work? Can you send me a screen shot on discord or something
@julyperez83432 жыл бұрын
God
@thing3d5 жыл бұрын
same issue for me.
@xl0005 жыл бұрын
after geometry create attribwrangle @N=@N;
@Bletch5056 ай бұрын
grüsse aus der schweiz
@Staglaitor10 ай бұрын
Some experts say that visual programming is the future (nodes) because visually you can understand (cover) a more complex algorithm. Question to the author of the video: Can I use visual scripting in houdini without VEX and other obsolete programming methods at all or is houdini still dependent on old technologies and visual sciping is not yet fully developed and has limitations?
@fastlearner29210 ай бұрын
Don't know what experts you are talking about, nooone of programming is "obsolete". Pretty insulting for you to say that. It is much much better for small scripts and such which isn't too complex and in that case it's much more easily understandable. In large and complex stuff it's not the most optimal way, lots of fundamental problems with it. I suppose you can mix both (which is what many people do) to have the best of both worlds. For your question, you can use VOPS which is just vex except with nodes. I think VOPS is pretty much fine for what it is, but again, none of that "you can visually understand a more complex algorithm" stuff, that only applies for people who aren't don't know code I suppose.
@Staglaitor10 ай бұрын
@@fastlearner292 If a prorammer see a name of function in alphabetical form - then they can't understand what is inside but if you represent the funbction-sence in the form of icon-node then you will understand more. Function-icon give more sense thah function-name. The visuals are more informative. Icon-designer can represent the whole paragraph of text just in one icon.
@mono242 ай бұрын
this is so vague and non-descriptive that you may as well just put a music track on top and let the timeline fly! If you really want to teach people the code/tool you've written, you should take them step by step through the process and explain what you are doing instead of skipping 99% of the explanation, which makes this video essentially useless and kind of honestly like a flex on others saying. "LOOK AT WHAT I DID". And that is very much 99% of what this industry has become.