Guiding shortest paths - Houdini Tutorial

How to guide shortest paths through a mesh with noise and distance to surface.
PATREON: / konstantinmagnus
0:00 Introduction
0:47 Mesh Preparation
1:41 Fill with Tetrahedra
2:56 Starts and Endings
4:56 Shortest paths
5:46 Smoothing paths
7:26 Inserting a hole
8:55 Noisy paths
10:46 Distance to surface
13:01 Adding thickness
15:43 Meshing
17:45 Discussion
Houdini File: procegen.konstantinmagnus.de/...
Curve-based UV Unrapping Shader: forums.odforce.net/topic/4321...
Curve-based UV Unrapping (VEX wrangle): forums.odforce.net/topic/4321...

Пікірлер: 55

  • @alainhanni4874
    @alainhanni4874 Жыл бұрын

    This is fantastic! Thank you so much for such a detailed tutorial Konstantin!

  • @jyunpeili6454
    @jyunpeili64542 жыл бұрын

    OMG your channel is like, magic. I can understand every step and I can flow.Thank you!

  • @JohnLarryGroff
    @JohnLarryGroff2 жыл бұрын

    awesome! Thank you for making such a brilliant and succinct tutorial.

  • @lawron2407
    @lawron24072 жыл бұрын

    Excellent tut , thank you for sharing the knowledge.

  • @raulestrada6866
    @raulestrada6866 Жыл бұрын

    Amazing. Thank you so much for this video. Really made a lot of things click for me.

  • @patrickl9930
    @patrickl99302 жыл бұрын

    Fantastic tut. I've been knee-deep in Find Shortest Path stuff for the last week and this was a fresh new approach that has taught me a lot!

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Thank you, there is still probably a lot more to discover with this node.

  • @huyskn
    @huyskn Жыл бұрын

    This is amazing, thank you for the tutorial!

  • @stinosan
    @stinosan Жыл бұрын

    Outstanding tutorial, Thank you sir!

  • @madmodder
    @madmodder2 жыл бұрын

    Man, I learned so much from this video. Awesome stuff.

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Thank you Chris! You might also enjoy the more boring looking stuff on my channel then.

  • @Lunzium
    @Lunzium2 жыл бұрын

    Brilliant tutorial mate

  • @sewkim80
    @sewkim802 жыл бұрын

    super good tutorial! Thanks for this!

  • @motiondude
    @motiondude2 жыл бұрын

    Awesome tutorial, thanks for sharing!!

  • @OrganicaShadows
    @OrganicaShadows Жыл бұрын

    Golden information!! Thanks!

  • @zotake
    @zotake Жыл бұрын

    Awesome! Thanks for sharing it.

  • @ondudengrund
    @ondudengrund Жыл бұрын

    Wow, great tutorial and amazing look it gives! : )

  • @Gooldoon
    @Gooldoon2 жыл бұрын

    thank you for the amazing tutorial, if you put resample before fuse and polypath you will have the original curveu and you don't need to bypass polypath.

  • @eggZ663
    @eggZ6632 жыл бұрын

    Not what I was looking for, but watched the whole thing anyway cos it was so cool XD

  • @wewantmoreparty
    @wewantmoreparty2 жыл бұрын

    Kick ass tutorial. Thanks :)

  • @marcolondero
    @marcolondero Жыл бұрын

    Impressive, thank you

  • @alenlenia
    @alenlenia2 жыл бұрын

    awesome, subscribed!

  • @AntonChervov
    @AntonChervov2 жыл бұрын

    Thank you for the lesson! It was cool)

  • @rikardo2041
    @rikardo20412 жыл бұрын

    Good job!

  • @graphic-nations
    @graphic-nations2 жыл бұрын

    Amazing

  • @aboldmule
    @aboldmule2 жыл бұрын

    Thanks

  • @hanbanglao8995
    @hanbanglao8995 Жыл бұрын

    very nice

  • @correctopinion4708
    @correctopinion47088 ай бұрын

    labs polyreduce node is great if you just want to do just that instead of the remesh node!

  • @Damagesan123
    @Damagesan1232 жыл бұрын

    Спасибо!

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    не́ за что!

  • @SereneBobcat
    @SereneBobcat2 жыл бұрын

    This was amazing, thank you very much for this. One question I would ask about Shortest Path is how can you animate the individual branch structures to move like branches or tentacles?

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Hi Miles, you could look into Vellum hair simulations or KineFX for that.

  • @flonkplonk1649
    @flonkplonk16493 ай бұрын

    it´s easy to animate with the carve node

  • @samuelshasa
    @samuelshasa Жыл бұрын

    why do I get a dotted line when I try to connect the 'Line' to the 'Distance from geometry' node?

  • @nadil6556
    @nadil65564 ай бұрын

    Interesting script! Beginner here, how can I show it growing? As I click on the play button down below on houdini it seems static. What should I do ?

  • @tweetbleat487
    @tweetbleat4872 жыл бұрын

    Having an issue with groupexpression node. Using houdini 19. Getting an error when entering: rand(@elemnum), chi('rand')) Error Invalid source /obj/testgeometry_templatehead1/groupexpression1/attribvop1 Error: Error in VOP 'snippet1'. Warning: Errors or warnings encountered during VEX compile: /obj/testgeometry_templatehead1/groupexpression1/attribvop1/snippet1: Syntax error, unexpected ',', expecting ';'. (2,44). Error: Vex error: Unable to load shader 'op:/obj/testgeometry_templatehead1/groupexpression1/attribvop1'. Thanks for any help.

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Mind the bracketing: rand(@elemnum, chi('seed')) < 0.3

  • @philippaps44
    @philippaps442 жыл бұрын

    Is this node using all threads? It's a bit slow for more complex problems. This should run on the gpu ideally. Do you think that is possible?

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Hi Philip, it seems possible in OpenCL. In many cases I'd rather optimize the mesh or network in advance, though.

  • @IbycusCrane
    @IbycusCrane2 жыл бұрын

    Thanks for the tutorial! I have an issue though. When I use the Group Expression and enter v@P.y

  • @KonstantinMagnus

    @KonstantinMagnus

    2 жыл бұрын

    Hi Ashly, make sure to type the number one instead of the letter "I". It's 1e-2 You can also just enter: 0.01

  • @IbycusCrane

    @IbycusCrane

    2 жыл бұрын

    @@KonstantinMagnus Thanks you!

  • @IbycusCrane

    @IbycusCrane

    2 жыл бұрын

    @@KonstantinMagnus soooo, that seems to do the trick but I have two other weird issues, haha. First, when I add the tet embed node I can no longer see the wireframe of my mesh and second, when I add the find shortest path node I can not see the names of the group expression in the drop down. Any ideas why? Thanks!

  • @kkeerr
    @kkeerr Жыл бұрын

    Hey Konstantin! great video! I have a question regarding meshing - I want to have the animation grow from the start to the end points, and ideally I would like to do this with a carve node after the fused lines, but this is where I run into a problem. I want to avoid using the VDB meshing setup you showed in the video because I want the paths to move and don't want to deal with a constantly changing prim count, so I am left with either the sweep node or polywire (maybe there is another node?). The problem is when I use the carve with a polypath and sweep node for example, the animation does not start at the root group, but rather, the start of the line. If I disable the polypath, the setup optically looks correct, but the sweep node stacks a ton of geometry on top of each other, and I want to avoid this as well. Esentially, how can I have an animated mesh that grows along the lines? Sorry for the long comment, I hope I am making sense :) Thanks again for the great video!

  • @KonstantinMagnus

    @KonstantinMagnus

    Жыл бұрын

    Hi Kyle, I would probably create the entire mesh, add a surface distance attribute starting from the root and reveal the mesh along the distance. That way you have consistent primitive numbers and a consistent topology.

  • @kkeerr

    @kkeerr

    Жыл бұрын

    @@KonstantinMagnus gotcha, how would I get the surface distance attribute to actually effect the scale of the mesh? Is there a SOP node? Or am I just tweaking P values in a wrangle? Thank you for the help on this by the way, I really appreciate it :)

  • @KonstantinMagnus

    @KonstantinMagnus

    Жыл бұрын

    @@kkeerr I don't think there is a SOP node for that. This probably needs a custom procedure.

  • @kkeerr

    @kkeerr

    Жыл бұрын

    @@KonstantinMagnus gotcha, thank you for the help!

  • @ironscavenger
    @ironscavenger Жыл бұрын

    Okay this took me a while, but: Are you a fan of the band Gojira by any chance? :D

  • @KonstantinMagnus

    @KonstantinMagnus

    Жыл бұрын

    Hi! No this is coincidence, in Houdini I just have very little models to choose from.

  • @ironscavenger

    @ironscavenger

    Жыл бұрын

    @@KonstantinMagnus alright :D Because it strongly resembles an album cover (L'enfant sauvage).

  • @KonstantinMagnus

    @KonstantinMagnus

    Жыл бұрын

    @@ironscavenger Yes, I figured that by searching images. Btw. I love your mechanic videos!

  • @ironscavenger

    @ironscavenger

    Жыл бұрын

    @@KonstantinMagnus thank you! :)

  • @honzarous3931
    @honzarous39312 жыл бұрын

    awesome tutorial !! Thank you so much!

  • @SuperDahalo
    @SuperDahalo2 жыл бұрын

    Great tutorial, thank you!