Curves → Strands → Array

Curves → Strands → Array

max_schoenherr
Advocate Advocate
3,109 Views
12 Replies
Message 1 of 13

Curves → Strands → Array

max_schoenherr
Advocate
Advocate

hello,

 

i'm not new to programming, and i've created a few tutorials about the bifrost extension/graph. however, your docs need examples. see this statement:

 

Maya Curves can be dragged and dropped into the Bifrost graph the same way as meshes. They become strands in the graph. They may be resampled as part of the import process, either by length or by number of segments. One strands object is composed of multiple curves, so multiple curves may be dragged in to produce one strands object — you can convert this to an array of strands objects by changing the port type.

 

sounds great, is great. but – converting the strands to an array of strands objects → this needs an example.

 

best,

 

----maximilian

Accepted solutions (1)
3,110 Views
12 Replies
Replies (12)
Message 2 of 13

morten.bojsen-hansen
Autodesk
Autodesk

Hi Max!

 

When you select multiple Maya curves in the outliner and middle-mouse drag them into Bifrost, they will show up in Bifrost as a single strand object (i.e. one Amino::Object). You could get around this by dragging in each strand separately, however that might be a bit tedious. To access each Maya curve as a separate strand object in Maya, you can single change the type input port in Bifrost from Amino::Object to array<Amino::Object> by right-clicking on the port and changing the type.

 

P.S. Love your tutorials! I have been watching them for a few years already. 🙂

Message 3 of 13

max_schoenherr
Advocate
Advocate

hi morten, i'll try this out on the weekend. the next tutorial will be about aiCamera. something completely different. but i'm experimenting with lights and BIF....

Message 4 of 13

mihirsbcc
Collaborator
Collaborator

Wondering what you are going to come up with those curves, any new tutorials  using those Curves/strands.

Message 5 of 13

max_schoenherr
Advocate
Advocate

hi again, morten. i know that importing curves one after the rather creates several strand objects. however, i don't understand what you're getting to. check this unlisted video i did: https://youtu.be/PaabuBaQWwU

 

the point is how to continue from the imported curves. in my very basic tutorial i showed the arnold rendering workflow by changing the size and shape of the curve. the ARRAY option sounds delicious, but, we need a helping hand here 😉

 

----max

Message 6 of 13

darioOrtisi
Collaborator
Collaborator

You should create your value. The value is not in your list. I had the same problem. (i'm not shure but the list is something like an history of the last used port types, but maybe i'm wrong, so you cannot see it).

Look at my image. When you right click on your strands port, select set port type and add "array" strands_array.PNG

Message 7 of 13

mihirsbcc
Collaborator
Collaborator
Thanks a lot. I am going to play with it tonight.
0 Likes
Message 8 of 13

morten.bojsen-hansen
Autodesk
Autodesk
Accepted solution

Yes, @darioOrtisi is right about the right-click menu being a history. You need to click 'Set Port Type' and select 'Array' like he said.

Message 9 of 13

max_schoenherr
Advocate
Advocate

since all has been settled, i'll delete my unlisted 1 minute video now. it's obsolete. thanks, folks. and please: more tutorials for insiders!

Message 10 of 13

darioOrtisi
Collaborator
Collaborator

Yes. More tutorials from the insiders would be a great help.

Message 11 of 13

mihirsbcc
Collaborator
Collaborator
Thanks Max,

That post did help me understand the new feature of getting curves into BF
graphs.

0 Likes
Message 12 of 13

darioOrtisi
Collaborator
Collaborator

Hi. I've notice something wrong. I need to use a maya curve to trying to recreate the same curve but with more control as array.

So i have my strand in the graph and connect to get from array, by changin the input port to array amino object. But it doesn't work.

Is it normal or it's a bug?

Thanks

0 Likes
Message 13 of 13

darioOrtisi
Collaborator
Collaborator

stupid me. It' is on the old bifrost. Now is a strands correct. Sorry.

0 Likes