Hi everyone,
I've been enjoying playing around in Bifrost. I managed to make a kind of droopy wire compound which connects between two sets of scattered points and makes an exponential curve between them. At the moment it does scatter points on objects, but maybe it would be better to take user point positions for the two sets. The curve is based off a simple parabola and resample strand and it'd be great to add some more variation to maybe the trough size and but I'm not sure how to go about that. See example video and I also attached a maya scene. It does require the rebel pack.
Solved! Go to Solution.
Solved by ihooper. Go to Solution.
Very cool!
Thanks Maxime!
I've found all your material very helpful! I've managed to progress the tool a little better. I've added a sequential option to connect the wires sequentially with the from to positions. Added some curvature bias to the droop shape, also some bias to the min max drooping, using your bias compounds. Then I've also added a simple swinging animation option to be a bit like simple wind. I've also tried to keep correct orientation so objects can be attached and swing rotated accordingly.
I was wondering about putting the compound on the Autodesk page if maybe its useful. I just had a thought about how some tools will start to require many uses of other peoples compounds within one. Would there be a way to bake in referenced compounds for sharing or is it better practice to write your own version of the compounds you are trying to use? Or am I thinking about it too much haha.
This looks really cool. I encourage you to share your work. Some tips for sharing:
Im still quite new to bifrost. Is there a way to specify which points to use for the dropping strands?
thanks. but its going over my head lol. I have no clue how to use get_from_array.
Currently my setup is using get_component_tag > delete_mesh_points> get_point_position>droopy_strands.
I have no idea how to invert the points specified from the component_tag.
Get from array just chooses an index from an array like
[0, 5, 7, 9] - this array's indexes are below
0, 1, 2, 3
we want to get index 1
and that will give us 5 from the array
but we can also use an array of indexes like [0, 2, 3]
this will give use a new array of [0, 7, 9]
Here is an example using the get component.
Get point position will get all the positions of the geo in an array (a float3 array) according the vertex indexes
we can get the indexes from the component tag and remove them from the full positions (reversing the selection)
we can then get the original selection from the positions as well and use it in the to as an example
Hope that kinda makes sense? I rushed it a little.
thank you for the explaination. I finally have something working now
next up will be trying to give each strands a different color
Not sure why but im unable to get the colored results using the droopy_strands output.
This is probably because the strands do not have an index so add an update point strand index node and you can use that node to generate the random color
Thanks Sepu thats right apologies my compound doesnt assign an index to the strands but you can assign it yourself.
I found that the update_point_strand_index is not a native node but you can find it in create_strands_from_counts
You can kill the get strands structure and connect directly the index from the update point strand index node btw.
Any Idea why assign_dianostic_material works, but Set geo "color" doesn't work?
edit: devs should really make update_point_strand_index a native node or compound accessible from Tab menu
It will when you render. Depending which engine you use. But just load the attribute with the user data nodes or if you are using Arnold inside BF use the set geo reference material.
So not being visible in viewport is intentional? Im not trying to render it currently, just need visual feedback. because I see several tutorials using set geo property(color) and shows up in viewport.
Maya change to have the standard to be the default (can't remember what version) and that is why is not working.
Anyhow what is the issue to have the assign diagnostic mat or assign a material if you want to see color?
theres no issue, just trying to see if I did something wrong. thanks for the explanation and taking the time to help
Can't find what you're looking for? Ask the community or share your knowledge.