as you see, i am using a seciton of a road (image under)
i use a loop,with a copy& bend node , copy 'section road' to curve point,then bend 'section road' with current point Normal and next point Normal,(bend node under,N is current Normal,N2 is next Normal,capture length is the road section's length)
then i got this (ignore the first one,got a false normal)
the problem is each section cant connect well,the end point for each section is not at target curve point.like this:
i am a beginer for houdini, i dont know other way to do bend the mesh.may be the bend way is not the way.
has any other way figure it out ?
how using a section of road make a curve road
863 11 1- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
- Aizatulin
- Member
- 477 posts
- Joined: July 2005
- Offline
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
Aizatulin
You can also use the pathdeformer (if not already done). Just copy your segments along a straight line (z-axis) and resample your curve (like you have probably done already).
emmm,i found a problem,the pathdeformer is not smooth enough(check the gif),is there a way to make pathdeformer smooth.
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
horsunAizatulin
You can also use the pathdeformer (if not already done). Just copy your segments along a straight line (z-axis) and resample your curve (like you have probably done already).
emmm,i found a problem,the pathdeformer is not smooth enough(check the gif),is there a way to make pathdeformer smooth.
- Aizatulin
- Member
- 477 posts
- Joined: July 2005
- Offline
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
Aizatulinyou are right,i low down the resample length,it's turning to smooth,i didnt get why the resample length can effect the smooth,but it actually fixed the smooth.i upload the file if you interested.
The smoothness of the pathdeformer depends on the attributes of the curve. So probably you resample your curve (with subdivisions on) or with more points. Hard to say, maybe you can share your file.
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
horsunAizatulinyou are right,i low down the resample length,it's turning to smooth,i didnt get why the resample length can effect the smooth,but it actually fixed the smooth.i upload the file if you interested.
The smoothness of the pathdeformer depends on the attributes of the curve. So probably you resample your curve (with subdivisions on) or with more points. Hard to say, maybe you can share your file.
- Aizatulin
- Member
- 477 posts
- Joined: July 2005
- Offline
Sure
In the example file the length in "resample1" is 24 (so probably you have already turned it down to something like 1 or less). If you look at your curve, it has now a higher point density and the points are not on a straight line and all points have quite smooth corners, which means, that the angle between tangents of neighbour points are small. This will affect the pathdeformer, because it is using tangents to transform the geometry to the path (very short explanation for sure).
In the example file the length in "resample1" is 24 (so probably you have already turned it down to something like 1 or less). If you look at your curve, it has now a higher point density and the points are not on a straight line and all points have quite smooth corners, which means, that the angle between tangents of neighbour points are small. This will affect the pathdeformer, because it is using tangents to transform the geometry to the path (very short explanation for sure).
Edited by Aizatulin - Feb. 2, 2024 02:57:49
- horsun
- Member
- 9 posts
- Joined: Jan. 2024
- Offline
Aizatulinyes,that makes sense,any way thanks a lot.
Sure
In the example file the length in "resample1" is 24 (so probably you have already turned it down to something like 1 or less). If you look at your curve, it has now a higher point density and the points are not on a straight line and all points have quite smooth corners, which means, that the angle between tangents of neighbour points are small. This will affect the pathdeformer, because it is using tangents to transform the geometry to the path (very short explanation for sure).
-
- Quick Links