create mesh from strands? not extrude along strands
-
- Posts: 175
- Joined: 17 Apr 2014, 10:39
- Skype: nguyenvuducthuy
create mesh from strands? not extrude along strands
hi there,
i don't know i set this title correct or not so bare with me
i want to ask a question: how can i create a mesh from the strands (this case is a grid mesh) ... like this image below, i know we already have one compound "extrude along strands" but my question i difference.
thank for your attention
i don't know i set this title correct or not so bare with me
i want to ask a question: how can i create a mesh from the strands (this case is a grid mesh) ... like this image below, i know we already have one compound "extrude along strands" but my question i difference.
thank for your attention
Re: create mesh from strands? not extrude along strands
There's a Build Topo node that you can use, you give it a list of point positions, and a list of indices from that list of what points it should create the polygons (separated by -1's)
When you execute it, you get the mesh.
So for the positions you would do this:
Get empty polymesh->Create ICE tree
Get Strand Positions->Build Array from Set->Create Topo->Set Topology->ICETree
For the list of indices the goes into the Create Topo it gets more complicated
If your strands have n points you'll have to generate this array:
0, 1, n+1, n, -1, (<<--- this is the bottom right polgon in your image, ended with the -1)
1, 2, n+2, n+1, -1,
...
...
...
n-2,n-1, n+n-1, n+n-2, -1, (<--- end of polyong strip between first two strands)
n, n+1, 2n+1, 2n, -1, (<----- first polygon of second strip)
n+1, n+2, 2n+2, 2n+1, -1,
...
...
...
...
Not sure yet how to create this in ICE, maybe some modulo calculations combined with some of the array nodes
Maybe there's a simpler solution, too
When you execute it, you get the mesh.
So for the positions you would do this:
Get empty polymesh->Create ICE tree
Get Strand Positions->Build Array from Set->Create Topo->Set Topology->ICETree
For the list of indices the goes into the Create Topo it gets more complicated
If your strands have n points you'll have to generate this array:
0, 1, n+1, n, -1, (<<--- this is the bottom right polgon in your image, ended with the -1)
1, 2, n+2, n+1, -1,
...
...
...
n-2,n-1, n+n-1, n+n-2, -1, (<--- end of polyong strip between first two strands)
n, n+1, 2n+1, 2n, -1, (<----- first polygon of second strip)
n+1, n+2, 2n+2, 2n+1, -1,
...
...
...
...
Not sure yet how to create this in ICE, maybe some modulo calculations combined with some of the array nodes
Maybe there's a simpler solution, too
softimage resources section updated Jan 5th 2024
-
- Posts: 175
- Joined: 17 Apr 2014, 10:39
- Skype: nguyenvuducthuy
Re: create mesh from strands? not extrude along strands
hi,rray wrote:There's a Build Topo node that you can use, you give it a list of point positions, and a list of indices from that list of what points it should create the polygons (separated by -1's)
When you execute it, you get the mesh.
So for the positions you would do this:
Get empty polymesh->Create ICE tree
Get Strand Positions->Build Array from Set->Create Topo->Set Topology->ICETree
For the list of indices the goes into the Create Topo it gets more complicated
If your strands have n points you'll have to generate this array:
0, 1, n+1, n, -1, (<<--- this is the bottom right polgon in your image, ended with the -1)
1, 2, n+2, n+1, -1,
...
...
...
n-2,n-1, n+n-1, n+n-2, -1, (<--- end of polyong strip between first two strands)
n, n+1, 2n+1, 2n, -1, (<----- first polygon of second strip)
n+1, n+2, 2n+2, 2n+1, -1,
...
...
...
...
Not sure yet how to create this in ICE, maybe some modulo calculations combined with some of the array nodes
Maybe there's a simpler solution, too
i'm not sure i understand well but i will give a try
Thanks rray!
Re: create mesh from strands? not extrude along strands
Couldn't resist a try ... her's how the index array could be constructed:
softimage resources section updated Jan 5th 2024
Re: create mesh from strands? not extrude along strands
My give some ideas.
Re: create mesh from strands? not extrude along strands
Couldn't resist too ! (the fact you need to keep moving on and xsi is dead)
That's how you do it in Houdini... one single node ;-)
Cheers
That's how you do it in Houdini... one single node ;-)
Cheers
-
- Posts: 175
- Joined: 17 Apr 2014, 10:39
- Skype: nguyenvuducthuy
Re: create mesh from strands? not extrude along strands
hi,
it's interesting, i think it's possible to achieve a some effect like this one (a movie below, i think thing he create it in Houdini)
it's interesting, i think it's possible to achieve a some effect like this one (a movie below, i think thing he create it in Houdini)
Re: create mesh from strands? not extrude along strands
Indeed everything possible with curves should have been (natively) possible with strands.
Yet this might be of help,
You should then be able to loft the (live) curves.
Yet this might be of help,
You should then be able to loft the (live) curves.
-
- Posts: 175
- Joined: 17 Apr 2014, 10:39
- Skype: nguyenvuducthuy
Re: create mesh from strands? not extrude along strands
hi rray,rray wrote:Couldn't resist a try ... her's how the index array could be constructed:
i used your way, here is a result very nice i think , but still have a little problem (you can see it in a movie below) i think i need to delete the last strip mesh at that time i create a first strip ..
thank you very much!
Re: create mesh from strands? not extrude along strands
Hi anhungxadieu
I'm not sure what is happening, it's difficult to say from the video, can you send the scene here/or instant message?
I'm not sure what is happening, it's difficult to say from the video, can you send the scene here/or instant message?
softimage resources section updated Jan 5th 2024
Re: create mesh from strands? not extrude along strands
Do you really need the strands? If you're just wanting to create a polygon trail behind an object or curve, could try this (link to scene file on vimeo page):
Re: create mesh from strands? not extrude along strands
I don't think that is what been asking since it requires strands.
-
- Posts: 175
- Joined: 17 Apr 2014, 10:39
- Skype: nguyenvuducthuy
Re: create mesh from strands? not extrude along strands
@rray __ sure! this is my scene softimage 2015 sp2, please take a look, thank you!rray wrote:Hi anhungxadieu
I'm not sure what is happening, it's difficult to say from the video, can you send the scene here/or instant message?
@mattmos __ yes i already checked this before but it's quite difficult for me to understand what going on ...
--> i want to create the trail effect like Yujaeho's movie, it think he create it in Houdini but i want to try it with Softimage
- Attachments
-
- strand r&d.rar
- (222.52 KiB) Downloaded 183 times
Re: create mesh from strands? not extrude along strands
There's sort of cloth simulation in this movie too. Probably maximum, what Houdini cloth can do (now I couldn't resist...).anhungxadieu wrote:
--> i want to create the trail effect like Yujaeho's movie, it think he create it in Houdini but i want to try it with Softimage
Now seriously, cloth sim gives idea for another trick, to use just a plain grid primitive and stick to strands. Where strands are generated as particle trails, with appropriate factory nodes, using fixed strand count. Particles should be generated from curve, attached to moving object, to get an nicely ordered distribution of first row. Modulo formula should be something like point ID of mesh, divided by count of second row, to feed into ID to location. Later, select in array of strand positions (had something similar in some compound, for attaching strand extrusions back to point cloud with strands).
Grid comes later as an target for Syflex Mimic constrain - which could be animated to zero weight in pre roll phase. That is, thing should have a pre roll of at least the same number of frames, as strand trail have segments.
Re: create mesh from strands? not extrude along strands
I'll have a look at the scene. my suspicion is that the point order gets messed
If the number of points stays constant, Mathaeus idea with simply moving a poly grid's points around is better. Then you'd be able to use motionblur too.
Here's a nice related video (ofc made in Softimage)
If the number of points stays constant, Mathaeus idea with simply moving a poly grid's points around is better. Then you'd be able to use motionblur too.
Here's a nice related video (ofc made in Softimage)
softimage resources section updated Jan 5th 2024
Re: create mesh from strands? not extrude along strands
@anhungxadieu issues were:
* The points (IDs) were in order, but the "build array from set" node doesn't use this order anymore after points have been deleted. So "build array from set" has to be used on the IDs, and then that as the key to sort the other array (plus some messy tricks in this case because the strandpositions are arrays themselves)
* there was a multiply node missing in the screenshot I posted
* "thuy strand create loft" needs the pointcloud's nbPoints attribute plugged in the nb strand input
* The points (IDs) were in order, but the "build array from set" node doesn't use this order anymore after points have been deleted. So "build array from set" has to be used on the IDs, and then that as the key to sort the other array (plus some messy tricks in this case because the strandpositions are arrays themselves)
* there was a multiply node missing in the screenshot I posted
* "thuy strand create loft" needs the pointcloud's nbPoints attribute plugged in the nb strand input
- Attachments
-
- create mesh from strand_fixes_rray.zip
- (349.08 KiB) Downloaded 184 times
softimage resources section updated Jan 5th 2024
Who is online
Users browsing this forum: No registered users and 34 guests