Announcement

Collapse
No announcement yet.

Houdini Velocity Grid Exporter

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Houdini Velocity Grid Exporter

    Hi, everyone!!

    I made a digital asset which is able to export *.fga file from Houdini. Basically it does the same thing with the MayaVelocityGridExporter, except that you can now use Houdini's powerful tools to generate the velocity field data. All you need to do is to wire the velocity grid exporter to your dopnetwork, specify an output path and press the export button. Current features include
    • voxel resolution adjustment
    • velocity field data from particle/fluid simulation
    • frame range selection


    Houdini Orbolt website download link:

    https://www.orbolt.com/asset/Benny::...er?show_login#

    I'm new to Houdini and Unreal Engine. Also this is my first digital asset for Houdini. So any kind of feedback or comments are very welcome!

    Enjoy and have fun all

    #2
    Is this a way to make the fields like in this demo video, around the 11 min mark?

    https://www.youtube.com/watch?v=Dces...Be8NqR8t#t=648

    Comment


      #3
      Hi elindell,
      Sorry to reply you so late because I was on a vocation ^^; For the the field you mentioned in the video, I think it's not a problem to simulate that in Houdini. It seems like particle follows a spiral path. When I got some time, I can try to make a similar one in Houdini and use the tool to export the vector field then import that into Unreal Engine just like the video does. Once I'm done I'll send you a sample file and you can try it by your own and see how it goes

      Sincerely,
      Benny

      Comment


        #4
        Hi,
        I made a simple simulation basically using the curve force in Houdini and make the particles followed a spiral shape like path. Then export the simulation result to an fga file and import into Unreal Engine 4. It may not seem exactly the same like the one showed in the tutorial video. But I think the idea behind is pretty much similar. Hope it helps. Thank you ^^
        Click image for larger version

Name:	2014-08-25 15_28_14-C__Users_benny_yang_spiral_path_particle_2.hipnc - Houdini FX Non-Commercial.png
Views:	1
Size:	135.3 KB
ID:	1053914
        Click image for larger version

Name:	2014-08-25 15_27_25-test_vf_ps_.png
Views:	1
Size:	397.1 KB
ID:	1053915

        Comment


          #5
          I want to make a vector field ad well, but I don't want to rely on licensed software. Can you specify the file format for fga or attach an example file. What I find on the internet so far is only for 2D GRID data, but we need 3D Volume data. Thanks.

          Comment


            #6
            Houdini has apprentice version which is free to use and able to use the exporter to generate the fga file. it's also possible for you to write a program to generate the fga file. The file format for fga is pretty straightforward. The first 3 field is the resolution for the whole volume, then followed by min and max bounding box and finally a bunch of velocities for each grid. The link (https://dl.dropboxusercontent.com/u/...are/spiral.fga) is the data I used for the spiral effect test as shown above. Hope it helps.

            Comment


              #7
              thank you very much 220225!
              Rocketeer

              my portfolio
              my youtube

              Camera Volumes
              Procedurally Instanced Meshes
              Simple Portals
              Water Flow For UDK
              Setup Swarm

              Comment


                #8
                220225 Thanks.... Too bad I spent my entire sunday trying to find an fga file, and I ended up downloading an illegal version of maya, just to follow the tutorial from unreal, just to get to know the file format. I think unreal made up the fga file format since the only other reference uses a keyword based 2D format. I am kinda annoyed that they didn't document it.... Hopefully unreal will keep investing in documentation and tools and hopefully the community will also grow that makes tools and shares results.....

                Comment


                  #9
                  thats awesome, greatly appreciated. I was about to look into writing it myself, glad I found your OTL.

                  So it doesnt support Pyro sims for now. Im trying to workaround it by bringing my Velocity Field from Pyro to Flip object, so I can export it to FGA.

                  Any plans on adding Pyro support out of the box ?

                  thanks!

                  Comment


                    #10
                    You're welcome. I haven't played too much with Pyro so far ^^;. I'll try if I can get this working and let you know.

                    Comment


                      #11
                      I uploaded a new version of the asset which supports the Pyro FX to the Orbolt website. The link is http://www.orbolt.com/asset/Benny::U...tygridexporter. If you are interested in it, please give it a try and let me know any comments. Thank you all and have a great day

                      Comment


                        #12
                        Ok, I've followed the tutorial on https://wiki.unrealengine.com/Creati...lds_(Tutorial) to know the file format. I've made my own python script that can generate the Unreal Engine Fluid Grid ASCII file format. I believe this is a self-defined format, since I cannot find any other reference to it.

                        You can download the python script file at.

                        https://drive.google.com/file/d/0Bxx...it?usp=sharing

                        The code creates 3 fga files of vector fields
                        - Vector field with positional coordinate entered in each voxel (so a radial vector field)
                        - A cone vector field (just a section of above)
                        - A vortex (cross product of Z-vector with 1st vector field)

                        Comment


                          #13
                          thanks 220225! I think I got it working, but need to learn alot more about houdini
                          quick question, for the spiral you created about what voxel size did you export it at?

                          Comment


                            #14
                            Nice work isgoed!

                            To elindell, it's 20x20x20. However, I think it's too big. You don't need so much detail for that spiral effect. After you import the data into Unreal, the editor provides you more control for the final result you want. You can simply think that the simulation is the path how you particles will follow, that's it. Have fun all, sorry to reply a week late XD.

                            Comment


                              #15
                              This is awesome!

                              Comment

                              Working...
                              X