Hello, the mighty community! I just want to share my wires implementation in a small building generator I finally finished. More about the project here: https://yakymoto.com/building-gen-v1 [yakymoto.com]
Found 7 posts.
Search results Show results as topic list.
Houdini Learning Materials » Connect points, looking (aiming) to each other. VEX.
- yakymoto
- 7 posts
- Offline
Houdini Learning Materials » Connect points, looking (aiming) to each other. VEX.
- yakymoto
- 7 posts
- Offline
Hooray, the problem has been solved! Many thanks to repliers.
Konstantin Magnus, appreciate your setup, straight-forward. But it's a little bit too simple for my needs.
Aizatulin, holy moly, that's some serious VEX magic happening. A robust production-ready tool with tons of knobs. Exactly what I need!
Konstantin Magnus, appreciate your setup, straight-forward. But it's a little bit too simple for my needs.
Aizatulin, holy moly, that's some serious VEX magic happening. A robust production-ready tool with tons of knobs. Exactly what I need!
Houdini Learning Materials » Connect points, looking (aiming) to each other. VEX.
- yakymoto
- 7 posts
- Offline
Hello, the mighty community! After an intensive search on the SideFX forum, Odforce forum, and YouTube I didn't find any good results.
1) Here is my simple procedural building, and I need to create horizontal hanging wires over it.
2) I have scattered points on the convex edges with normals pointing outward.
3) Then I need to connect those points without intersection with the building and taking into account their direction: only points, looking (aiming) to each other, should be connected with the line.
4) My idea is to use “dot product” and compare point normals between each other, then connect points, which “dot product” is closer to a certain threshold. My preferable way is to work with the VEX code.
5) Operations with point clouds (“pcopen”, “pgfind”, etc.) are might be helpful. Next tutorials might be helpful too:
Naive Path Finding
https://youtu.be/PXbBhsJyEdk [youtu.be]
Understanding the DOT product!
https://youtu.be/6dJ_e94wI0U [youtu.be]
DIY Scatter Tool Solving Problems in Houdini
https://youtu.be/oeN5KgvWHfs [youtu.be]
Attaching .hip file to this topic.
Looking forward, and thank you for any help!
1) Here is my simple procedural building, and I need to create horizontal hanging wires over it.
2) I have scattered points on the convex edges with normals pointing outward.
3) Then I need to connect those points without intersection with the building and taking into account their direction: only points, looking (aiming) to each other, should be connected with the line.
4) My idea is to use “dot product” and compare point normals between each other, then connect points, which “dot product” is closer to a certain threshold. My preferable way is to work with the VEX code.
5) Operations with point clouds (“pcopen”, “pgfind”, etc.) are might be helpful. Next tutorials might be helpful too:
Naive Path Finding
https://youtu.be/PXbBhsJyEdk [youtu.be]
Understanding the DOT product!
https://youtu.be/6dJ_e94wI0U [youtu.be]
DIY Scatter Tool Solving Problems in Houdini
https://youtu.be/oeN5KgvWHfs [youtu.be]
Attaching .hip file to this topic.
Looking forward, and thank you for any help!
Technical Discussion » Motion blur is not working. Solver SOP.
- yakymoto
- 7 posts
- Offline
Technical Discussion » Motion blur is not working. Solver SOP.
- yakymoto
- 7 posts
- Offline
Thanks a lot Benjamin Lemoine!
Brief overview and multiplying velocity attribute 100 times already gives me a decent motion blur in Redshift, which is awesome!
I will deeply investigate your Rest SOP usage to understand what I was missing.
Cheers!
Brief overview and multiplying velocity attribute 100 times already gives me a decent motion blur in Redshift, which is awesome!
I will deeply investigate your Rest SOP usage to understand what I was missing.
Cheers!
Technical Discussion » Motion blur is not working. Solver SOP.
- yakymoto
- 7 posts
- Offline
Thank you @jsmack for your explanation!
1) Got it - Solver SOP concept is operating on previous frame geometry. And initial geometry has no velocity attribute.
Adding random/custom velocity attribute before Solver SOP or calculating velocity with Trail SOP after the Solver SOP unfortunately doesn't give me a correct result (attaching latest HIP file).
Any idea, how can I get this proper velocity attribute?
2) To make constantly growing lines smooth I'm using Resample SOP, which generates more points each frame. So consistent topology for deformation blur is not possible to achieve or I am wrong?
1) Got it - Solver SOP concept is operating on previous frame geometry. And initial geometry has no velocity attribute.
Adding random/custom velocity attribute before Solver SOP or calculating velocity with Trail SOP after the Solver SOP unfortunately doesn't give me a correct result (attaching latest HIP file).
Any idea, how can I get this proper velocity attribute?
2) To make constantly growing lines smooth I'm using Resample SOP, which generates more points each frame. So consistent topology for deformation blur is not possible to achieve or I am wrong?
Technical Discussion » Motion blur is not working. Solver SOP.
- yakymoto
- 7 posts
- Offline
Hello mighty community!
Problem: After continuous search on the forums and digging into Houdini documentation, I'm still not able to get any motion blur in my renders. Tried Redshift and Mantra.
Assumption: I guess that problem is that Solver SOP doesn't generate velocity attribute. Correct me if I'm wrong about that.
Even when I put “Point Velocities” to Instantaneous Point Velocities on Dop Import SOP inside my Solver SOP. Unfortunately velocity attribute in Geometry Spreadsheet is showing zeros.
Attaching organized HIP file with Redshift and Mantra ROPs to this post.
Thank you in advance for any help!
Problem: After continuous search on the forums and digging into Houdini documentation, I'm still not able to get any motion blur in my renders. Tried Redshift and Mantra.
Assumption: I guess that problem is that Solver SOP doesn't generate velocity attribute. Correct me if I'm wrong about that.
Even when I put “Point Velocities” to Instantaneous Point Velocities on Dop Import SOP inside my Solver SOP. Unfortunately velocity attribute in Geometry Spreadsheet is showing zeros.
Attaching organized HIP file with Redshift and Mantra ROPs to this post.
Thank you in advance for any help!
Edited by yakymoto - 2020年3月6日 02:22:00
-
- Quick Links