Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is anyway to upgrade “extrude_strands” from Mjcg to move along curve path?

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
thanapoom
581 Views, 9 Replies

Is anyway to upgrade “extrude_strands” from Mjcg to move along curve path?

Hi  I would like to find the way how to using extrude_strands from mjcg to be able to travel along curve .  I saw strands_deformer can make object scale and stretch a long curve path.

i would like that idea to combine with extrude_strands. So i can make tube that start from nothing animate move along curve path also.

any idea , how ? And what node need to be use to get this effect?

9 REPLIES 9
Message 2 of 10
mjcg91
in reply to: thanapoom

You can already do this with strands_wrap_deformer, all you have to do is use a cylinder as the deformed mesh, and animate the offset value to move it along the strand's length.

curve_wrap2.gif

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 3 of 10
thanapoom
in reply to: mjcg91

Thx for reply mjcg91.

 yeah , i saw your node strand_wrap_deformer but  I want to do something differently.

 

My goal to use on lightning that strike from sky to ground.

i already use your extrude_strands with setup width of lightning and animate thickness which work good for me. But i want to add more travel from  A to B along  curve.

 

basically i want to create lightning curve and your extrude_stands to control thickness of lightning. I also using your Fcurve to taper shape of lightning. I can control , shape, thickness, density of curve ( from resample strand) and timing at this moment. I just need to add travel a long the path.

 

from what i understand about strand_wrap_deform.  If I bring new tube object, i will lost to control tapper start and end point ( scale fcurve in extrude strand) and also horizontal density of mesh ( resample strand)also.

 

any thought to achieve this method?

Message 4 of 10
mjcg91
in reply to: thanapoom

I see. think you should animate your lightning using strands and only use extrude_strands to convert the result to a mesh. Or you could modify strands_wrap_deformer to also sample the strands's point_size and use the sampled value to scale the deformed geometry. There will a new version released soon that has improvements in these compounds, which should become usable for what you are doing, if you can wait a bit.

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 5 of 10
thanapoom
in reply to: mjcg91

@mjcg91. thank you so much , i can not wait for your new update new compound for strands.

By the way , for your expertise for strands, how can we change length of strands?

right now , i know how to deform strands using noise or fractal turbulence.  But how to change length of stands still can not figure it out yet. 

if in maya, i just scale it, or move some cv. But in bifrost , it is still black box for me.

 

Message 6 of 10
mjcg91
in reply to: thanapoom

By changing the scale I assume you want to cut the strand along its length. There are many ways to do it but the most simple one would be to use a per-strand loop, slice the point_ratio and change the range from 0 => 1 to 0 to something, then use the new ratios with get_from_interpolated array, which would interpolate on the point positions. Finally, set the result in the point_position. 

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 7 of 10
thanapoom
in reply to: mjcg91

@mjcg91 thanks for your tip , I tried follow your guideline, but i got struck to some point. I attach screen capture and simple file.  basically , i want to change length original curve from Maya in Bifrost. Can you help me , which one that i did wrong or what step i did miss. Thank you very much

Message 8 of 10
mjcg91
in reply to: thanapoom

Here. Change the ranges from 0=>1 to 0=>X. Though it's not based on the actual length but the ratios. You can addapt this so make it work with the true length.
change_strand_length.jpg

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
Message 9 of 10
thanapoom
in reply to: mjcg91

@mjcg91  thank you so much for helping. it work perfect like i want it.

Message 10 of 10
marcury
in reply to: thanapoom

talking about this same wrap strands topic , how could randomize offset , twists, and all its attributes? 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums