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: 

replicate_mesh

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
mjcg91
826 Views, 8 Replies

replicate_mesh

@suryamunny  has been asking many time for this compound we've a had long time ago, so I've recreated it.

replicate_mesh_graph.jpg

 

It uses point_position, point_scale, and point_orientation to transform the mesh. If these properties doesn't exist then it will use default values. It also transform any normal data found on the input mesh. No dependency required.

 

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

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
8 REPLIES 8
Message 2 of 9
suryamunny
in reply to: mjcg91

thank u so much😍.

Message 3 of 9

Maxime somehow its not working for me.

 

rm.JPG

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 4 of 9

Here is the scene file.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 5 of 9

Figured it out. Had to set the Value to float3.

 

rm2.jpg

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 6 of 9

If id like to use this compound to create some random rotated trees how do i do that?

I found no way to limit the rotations. 

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 7 of 9
mjcg91
in reply to: Christoph_Schaedl

You should use the "random_value" node instead, it has min / max ports, quite useful to set range.

 

random_rotation.jpg

Btw if you just want need to render trees, I think it might be wiser to use instancing rather than a replicated mesh.

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

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

Thanks Maxime thats perfect!

 

But how should a non TD know that a degree_to_radiants and an euler_to_quaternion is needed to get that working?

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 9 of 9
mjcg91
in reply to: Christoph_Schaedl

These are not "needed". You could directly set some random quaternion values and it would work fine. You could also set euler values directly in radians.

When setting arbitrary rotations, euler degrees in just easier to deal with.

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

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts

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

Post to forums