Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Bifrost Feather Generator Tool

Bifrost Feather Generator Tool

sachin.shrestha
Enthusiast Enthusiast
7,717 Views
28 Replies
Message 1 of 29

Bifrost Feather Generator Tool

sachin.shrestha
Enthusiast
Enthusiast

Hi folks,

 

Somebody asked me in my webinar last week if it was possible to generate feathers in bifrost. Here is an example of that. I am also attaching my example file for people to study and build on top of. You could add another layer of barbule strands to the barbs and generate even more detail. The setup is a couple of hours work so I'm sure it can be improved a lot more.

 

 

Scene File Details:

Maya 2020.4

Bifrost 2.2.0.1

MJCG and Rebel Pack Required

Scanned for Maya malware and none found.

 

Have fun!

 

Cheers,

Sachin

7,718 Views
28 Replies
Replies (28)
Message 2 of 29

darioOrtisi
Collaborator
Collaborator

Great job

Message 3 of 29

mihirsbcc
Collaborator
Collaborator

Nice work Sachin

Message 4 of 29

sachin.shrestha
Enthusiast
Enthusiast

And now with barbules growing on barbs.

 

 

Updated maya scene file attached. It might be messy noodles but hopefully it shows you how to create something like this.

 

Naya 2020.4

Bifrost 2.2.0.1

Required compatible MJCG and Rebel Pack compounds.

# Autodesk.MayaScanner : Scan completed: no issues found

 

Cheers,

Sachin

 

Message 5 of 29

mihirsbcc
Collaborator
Collaborator

Hi Sachin, Which version MJCG ? I have 1_3_2 . I am getting error (disconnected nodes) when I open your scene.

I have rebel pack 0.4.

Thank you.

0 Likes
Message 6 of 29

sachin.shrestha
Enthusiast
Enthusiast

Rebel Pack 0.4.0 and MJCG 1.3.2 should work. Some other users have been able to open the file without any issues after they installed those packs. So, maybe something else? Can you post a screenshot of the error? And also, when you start Maya and it loads bifrost, it outputs a log on the script editor with some info about loading bifrost and its compounds. Can you also share those messages?

 

Thanks,

Sachin

Message 7 of 29

mihirsbcc
Collaborator
Collaborator
Thanks Sachin. I do have both rebel pack 04 and MJCG 1.3.2. I will take
some screenshots and post them.
0 Likes
Message 8 of 29

mihirsbcc
Collaborator
Collaborator

Fixed my compound folder and it is working now.

0 Likes
Message 9 of 29

mihirsbcc
Collaborator
Collaborator

I fixed my problem. It is working now.

Message 10 of 29

mihirsbcc
Collaborator
Collaborator

You mentioned about your webinar. Can I join your webinar?

0 Likes
Message 11 of 29

sepu6
Advisor
Advisor
Message 12 of 29

mihirsbcc
Collaborator
Collaborator

Awesome webinar Sachin. I am glad that you gave a demo of your terrine carving.  Can I email you some times? I am in US. Started my 3D instructor carrier20 years back at Prasad Video Digital in Chennai.

0 Likes
Message 13 of 29

mihirsbcc
Collaborator
Collaborator

Awesome webinar Sachin. I am glad that you gave a demo of your terrine carving. Can I email you some times? I am in US. Started my 3D instructor carrier20 years back at Prasad Video Digital in Chennai.

Message 14 of 29

Anonymous
Not applicable

When I render it on Arnold, There are no barbs. I can see the barbs in view port. But I can't see it in final render view. 
How can it be fixed.

0 Likes
Message 15 of 29

sachin.shrestha
Enthusiast
Enthusiast

I had reported this to Arnold folks and they confirmed it was a bug. Not sure if it got fixed in the latest release as I haven't tested this yet but you could try with the latest arnold and bifrost versions.

0 Likes
Message 16 of 29

mihirsbcc
Collaborator
Collaborator

Renders only the main strands, not the micro fibers. Latest Arnold.

0 Likes
Message 17 of 29

sachin.shrestha
Enthusiast
Enthusiast

In that case, most likely it's not fixed yet.

0 Likes
Message 18 of 29

valhallen
Enthusiast
Enthusiast

Awesome work! 

0 Likes
Message 19 of 29

jonah.friedman
Community Manager
Community Manager

It looks like those barbs are not rendering because there are a few NANs in there. 

 

The easiest way to test for a NaN in programming is by checking if it's equal to itself. Every comparison with a NaN in floating point numbers is false, so a NaN is not equal to itself. (Note - do not use "not equal", since every comparison with a NaN is false.

 

I've attached a compound that finds NaNs in point positions and sets them to {0,0,0} as an example. 

Jonah Friedman
Bifrost Product Manager
Message 20 of 29

sachin.shrestha
Enthusiast
Enthusiast

Yes, the arnold logs did report NaNs but I think the part that trips me up is that bifrost is able to compile the graph whereas the arnold procedural fails (rightly so in case of NaNs). Would be good to have consistent behavior across both to detect issues while building the graph.

0 Likes