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: 

bif_particles to create_instances issue

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
xianwu_liu
723 Views, 12 Replies

bif_particles to create_instances issue

xianwu_liu
Contributor
Contributor

Hi, I am try to use Aero bif cache to create instance with different object.
So I use read_bif_particles and create_instances nodes in bifrost graph to make it.

But for some reason the particle id didn't been read or someting, instance randomize_scale and rotation keep changing in every frame.
only

Any idea about this?

0 Likes

bif_particles to create_instances issue

Hi, I am try to use Aero bif cache to create instance with different object.
So I use read_bif_particles and create_instances nodes in bifrost graph to make it.

But for some reason the particle id didn't been read or someting, instance randomize_scale and rotation keep changing in every frame.
only

Any idea about this?

12 REPLIES 12
Message 2 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor

Can you post a scene, maybe just like 5 frames or so? 
Anyhow if you have an ID that is consistent make sure you connected in the `instance ID override` 

Can you post a scene, maybe just like 5 frames or so? 
Anyhow if you have an ID that is consistent make sure you connected in the `instance ID override` 

Message 3 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

Thanks for reply, here is the playblast

0 Likes

Thanks for reply, here is the playblast

Message 4 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor

This does not help me to help you though I see that you pts are jumping. Did you try what I said above? If that does not work, post a scene not a playblast. 

This does not help me to help you though I see that you pts are jumping. Did you try what I said above? If that does not work, post a scene not a playblast. 

Message 5 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

Sorry about that, I misunderstood.

Here is the attached file.
By the way, I couldn't find the instance ID override attribute to connect, so I didn't try it.

Thanks for the help.

0 Likes

Sorry about that, I misunderstood.

Here is the attached file.
By the way, I couldn't find the instance ID override attribute to connect, so I didn't try it.

Thanks for the help.

Message 6 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor
Accepted solution

So as I mentioned, you need to get the point id from the pts and connect that to the instance id override. Here is a fixed file for you. 

 

maya_9UwzkOQK8z.png

So as I mentioned, you need to get the point id from the pts and connect that to the instance id override. Here is a fixed file for you. 

 

maya_9UwzkOQK8z.png

Message 7 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

Wow it's working, thanks a lot!  However, there's another issue.

My rendering engine doesn't support rendering Bifrost graphs directly, so I need to export them somehow to Maya particles or MASH.

I've tried these two solutions, but it seems I can only get the position information and nothing else

(size, id, rotation etc).

https://www.youtube.com/watch?v=h73jTnokoM8&t=2s&ab_channel=AndreaPinto

https://www.youtube.com/watch?v=CB2TSgdEJPo&t=169s&ab_channel=HyUU

 

Here is my files and plugin in attached, could you let me know any idea about this?

 

 

 

Maya plug-in and Bifrost compounds available here: https://github.com/HeydoubleU/MeshToParticles
This node transfers attributes from bifrost to Instancer or Mash https://randolpho.gumroad.com/l/bifToInstancer
0 Likes

Wow it's working, thanks a lot!  However, there's another issue.

My rendering engine doesn't support rendering Bifrost graphs directly, so I need to export them somehow to Maya particles or MASH.

I've tried these two solutions, but it seems I can only get the position information and nothing else

(size, id, rotation etc).

https://www.youtube.com/watch?v=h73jTnokoM8&t=2s&ab_channel=AndreaPinto

https://www.youtube.com/watch?v=CB2TSgdEJPo&t=169s&ab_channel=HyUU

 

Here is my files and plugin in attached, could you let me know any idea about this?

 

 

 

Maya plug-in and Bifrost compounds available here: https://github.com/HeydoubleU/MeshToParticles
This node transfers attributes from bifrost to Instancer or Mash https://randolpho.gumroad.com/l/bifToInstancer
Message 8 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor

What render engine are you using?

What render engine are you using?

Message 9 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

I am using Octane to render.

0 Likes

I am using Octane to render.

Message 10 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor

I can look it up later, but the heydoubleu plugin should work it should transfer, point_size, rotation, etc just make sure you are following correctly what he is saying. 

0 Likes

I can look it up later, but the heydoubleu plugin should work it should transfer, point_size, rotation, etc just make sure you are following correctly what he is saying. 

Message 11 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

Thanks, I will check again as well.

0 Likes

Thanks, I will check again as well.

Message 12 of 13
xianwu_liu
in reply to: sepu6

xianwu_liu
Contributor
Contributor

BTW I just notice the point scale and rotation still jumping every frame.

Could you please let me know how to fix it?

0 Likes

BTW I just notice the point scale and rotation still jumping every frame.

Could you please let me know how to fix it?

Message 13 of 13
sepu6
in reply to: xianwu_liu

sepu6
Advisor
Advisor
Accepted solution

Then just set the point_id on the pts so the seed does not change. Like this - without the override. 

Make sure to type the property correctly

 

maya_GeMNKXJlfG.png

 

Then just set the point_id on the pts so the seed does not change. Like this - without the override. 

Make sure to type the property correctly

 

maya_GeMNKXJlfG.png

 

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

Post to forums  

Autodesk Design & Make Report