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: 

How can i convert the Particles or Volumes to a mesh using the new Bifrost graph

24 REPLIES 24
SOLVED
Reply
Message 1 of 25
gerador20
5924 Views, 24 Replies

How can i convert the Particles or Volumes to a mesh using the new Bifrost graph

Hi 

First off the new Bifrost graph is really amazing. But im having trouble figure out how or if there is a way to convert the particles/ Volumes to a mesh, is it possible ?

24 REPLIES 24
Message 2 of 25

 

Use the volume_to_mesh compound.

Message 3 of 25

Could you show me a example graph of this in action. im getting a error cannot draw an object with no points. sorry im a bit new at this. 

Message 4 of 25
syracoj
in reply to: gerador20

 

here is a simple example.

 

particleToLevelSetToMeshExample.png

Message 5 of 25
syracoj
in reply to: gerador20

In addition to my last post with the example graph, one can also send Bifrost Object data out of the board and connect it to a Maya mesh in the DG world.

 

To do this one needs to create a bifrostGeoToMaya node as well as a Maya mesh (shape) node in the node editor.

From there we can connect the bifrostGraph1.output -> bifrostGeoToMaya.BifrostGeo -> polySurfaceShape.inMesh

 

sendToMayaMesh.png

 

we can see in the image above the mesh is green. This is because we would still need to apply a shader (aiStandardSurface for example) to the mesh (using your favourite method to do this).

 

Message 6 of 25
Anonymous
in reply to: syracoj

This is great! Can you give an example of how to do it with a volume. like an aero simulation to mesh? There is a nice example in the promotional materials showing a flame and pink/purple mesh following the flame. Would love to know how to do that?

Message 7 of 25
Aslan.Jafari
in reply to: Anonymous

Option 1)

 

A) If you install the RPOA compounds package, there should be a node called "voxel_grid_to_points" that allows you to convert volumes to points and follow the points_to_levelset that @syracoj method to get the meshes

 

B) If you like to build the compound from scratch, you can follow the graph in "Voxel_Grid_to_Points.PNG"

The logic is to iterate through Voxel_fog_density array and if density is above zero, get the position from the volume (you need to create "update_voxel_position" node and update the volume with point positions first). Then construct points in the newly created array. from there you can follow the points_to_levelset method again

Voxel_Grid_to_Points.PNG

 

Option 2) 

 

Volume_to_Mesh_Optimized.ma

you can study the attached file for converting combustion volumes to mesh that can be manipulated in DG.

Volume_to_Mesh.PNG

 

Thank you

Aslan

 


Aslan Jafari
Sr QA Analyst
Message 8 of 25
gerador20
in reply to: Aslan.Jafari

Thanks for the help 🙂

Message 9 of 25
Anonymous
in reply to: Aslan.Jafari

This is awesome! Thank you for your help. 

Message 10 of 25

Hi,

 

Sorry if I missed something 😊, but where do I download the RPOA compounds package?

 

Thanks!

Message 11 of 25
yeungy
in reply to: DanielEriksson4773

Hello Daniel,

 

You can download the RPOA compounds here: https://area.autodesk.com/downloads/all/compounds/

 

Thanks!

Yvonne

Message 12 of 25
Anonymous
in reply to: yeungy

I'm still having trouble replicating these graphs to create any meshes from volumes. Even if I disconnect the input graph and connected right back to where it was, it stops working. Also there is no "voxel_grid_to_points" node in the Rebel Pack. Was it renamed? What gives!?!? 

Message 13 of 25
Aslan.Jafari
in reply to: Anonymous

sorry about the confusion, voxel_grid_to_points is no longer part of RPOA.

you can use the images below to recreate your own graph or study the attached scene file.

Graph_01.PNG

Graph_02.PNG

 


Aslan Jafari
Sr QA Analyst
Message 14 of 25
Anonymous
in reply to: Aslan.Jafari

Thank you so much! Really appreciate your help from this bifrost newbie. 

Message 15 of 25
thomaslisle1309
in reply to: Anonymous

hi I have the rebel pack  but ether no voxel_grid_to_points.    if RPOA. means rebel pack. as I can't find any ref anywhere to RPOA    any suggestions anyone 

Message 16 of 25
novajiang
in reply to: Aslan.Jafari

Thank you for the scene and helpful screengrabs. I was wondering how I could turn this Bifrost mesh into a Maya Mesh so I can 3D print it? I tried to use volume_to_mesh in the Bifrost Graph Editor and bifrostGeotoMaya in the Node Editor but neither surfaces created was visible. 

Message 17 of 25
thomaslisle1309
in reply to: novajiang

i think just select the bif which is a mesh and export to .stl
Message 18 of 25
novajiang
in reply to: thomaslisle1309

I just tried this. It does not produce a valid OBJ file or FBX file
unfortunately.
Message 19 of 25
thomaslisle1309
in reply to: novajiang

try the maya mesh clean up utility this might find any issues with the mesh , check it doesn’t overlap itself, check its normal s all point outways , maybe the mesh has been constructed in way thats it doesn’t conform to normal mesh construction. also try triangulating it. this can fix many issues to do with planarity
Message 20 of 25
mihirsbcc
in reply to: thomaslisle1309

My 2 cents, some times exported STL file from Maya did not work. I imported the stl file to 3D Max and exported back again to OBJ and STL, the printer worked. Mesh clean up and triangulation tools of Maya does help.

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

Post to forums  

Autodesk Design & Make Report