Tutorial: Hybrido as Realwave!

Hi everyone,

Long time we think that the possibility to mix Hybrido with RealWave in Realflow would be great. And now this tutorial is going to explain how to do it. It means, how to project the Hybrido simulation in a Realwave, but with the possibility to generate foam and splash particles for Hybrido simulation too.  Thanks to my colleague Alex for helping with the graphs setup. Please, don’t forget download the basic scene and graphs.

Hybrido as RealWave part1

Hybrido as RealWave part2

Hybrido as RealWave part3

Hybrido as RealWave part4

Download the basic scene from here

Download the graphs for the scene from here

Enjoy RealFlow 2013!




  1. Nice tutorial about mixing the two elements.
    It would be great to have a tutorial on rendering them in maya and krakatoa. Thanks.

  2. Hi, I have a boat sim..where i am having great difficulties with the Splash emitter(also splash settings of the splash and fome..same

    issue)…the core sim has 10M particles,cell size is 0.58

    when i have positon variance set to 0.1/0.09..i get negligle particles to begin with like 300/500(yes only so few !!!)..so i have to

    crank up the emission rate but even then the distribution is not even

    so then i try bigger values for position variance(with low emission rates) but then i get very blotchy/clump/groups of particles..
    then i use the graph to simulate splash and foam and get somewaht decent results…
    what i would like to knw is how to get evenly spread particles( moderate count like 5-8M)..with the splash and foam/splash emiiter

    this blotchy splash particles has always troubled me with splash emitters
    one more strange thing that happened was i was studying the hyflip_splash demo scene adn then i recreated it exactly..matched every single value from object animation to cell scale size…but i was not getting as many splash and foam particles as the demo scene(in the end i had to increase the position variance and reduce the emission rate)[demo scene starting frames has abt 30-50 k particles i got 3-5k..this i found extremly strange] though i have made peace with it for now 😀

    Please help!

    boat Scene files


    1. Hey,

      I think you should set more emission rate particles. It is emitting particles per second and per cubic meter. I advice you to increase the Emission rate to 3000000 and then you can play with the position variation (values between 0.09 and 0.07) and curvature threshold (values between 0.1 and 0.4). Also, the speed thershold can help you to remove particles depending on their velocity.

      I hope it helps.


  3. the scene scale is about the same as in the above tutorials,i used the splash and foam settings mention in part for as the starting point ..but no luck

  4. Hi Luis.

    I have some trouble understanding the simulation flow part, actually i made this part copying all what you did in the tutorial, and realflow crash, actually i have try everything (am learning by the way). So do you have a clue of what could it be. This is the only way to use Hybrido as a realwave? Because i would like to know other was to do it. I found other tutorial that make this, but don`t say how to do it, just appears the still as an image.

    Thanks for your time.

    Hope you can help.

    In the mean time i`m going to do more research.


    1. Hi Jason,

      Unfortunately there is not another way you can use the RealWave with Hybrido if we talk about nodes. Of course, you can apply a RealWave force by using graphs. There is a demo scene which you can see how this system is working. The scene is “surface force field”.

      About the RealFlow crashing it could be due to the Vbo. Please, go to Preferences>Display and uncheck the Use “Vertex Buffer Objects” checkbox.


      1. Hi Luis.

        After several try’s i get it all now, but i have some questions now.

        First the secondary particles and the foam, do i have to simulate all before project them to the realwave mesh?

        And second, i have been burning my brain off trying to understand why the projected particles only project the half of the particles, i’m not saying that the remove particle cut that in half, am saying i have this big hole on the projected particles.

        Look at here:

        As i said before, i’m going to try to understand it better and see if i can fix it, but if you can help, that would be great.


      2. Hi jdleandro,

        you’ll need to simulate the scene without the realwave deformation, but only the main fluid. Splash and foam will be simulated after you have the main simulation and deformed with the RealWave mesh.

        About the hole in your main fluid, it is probably you have a high distance to remove particles, and it could be adjusting the fluid. Also, check the axis to verify if they are in the same order like the tutorial scene. If not, you must change the order in the preferences or in the graph if you don’t want to touch the axis preferences.


      3. Hi again, i understand what i did wrong, maybe some would do the same as me, so i’m gonna tell you guys what happen.

        On the Real node, in the Input (Real_01) i put a 0 as a value, but you have to put a value over 0 to get it right, because if you put a 0, you get what i get, only the half of the particles.

        Hope this help everyone with the same problem.


      4. Hi Luis.

        I’ll post a video, but it have to be show first on TV because is a TV commercial. I don’t know the release date, but i think is going to be after the world cup.


      5. Hi Luis

        I talk to my bosses and they say that i could show the playblast from maya on another camera view, so here is the preview mesh, when i can show the final shot i’ll post it here, so everyone can see it.


      6. Hi Luis.

        Thanks, it takes to long on the simulation part, for many errors, but finally i got it, thanks to you basically.
        There is 9 million particles in that shot, in the final shot there is like 12 million particles.


  5. Hi again, I am currently trying to made simulation like this:

    But there is a problem that bother me such a long time. The size of the ship is big and it create a large amount of space when it is sinking:

    The fluid seems need a long time to recover/refill into those spaces which will make the mesh weird(with big hole). I had tried to increase the core sampling or even increase the hybrido max step to 6 but still no luck. Is this situation normal or do I need to decrease the cell size?


    1. Hi Justin.

      Maybe that´s the object scale on the scene, real flow use meters as a default scale, so you have to apply a 0.1% on the scene scale so it can match the same scale, software’s like Maya use centimeters. Have you checked also the volume size on the display volume?


      1. Hi Jason,
        The geometry scale i am using in realflow is 10, and the cell size scale is 2. I am trying to increase the geometry scale to 100 but the simulation time will significantly increase.

      2. Hi Justin

        In which units are you working? I mean on the 3D software, if you are working on A. Maya you have to set your geometry scale on 0.1, in that way the scale is going to match with the real scale of the ship. I’m almost sure that’s what is happening, because you can see how slow the particles move.

        In RealFlow, the object scale is very important, thats why you have to match it before you start simulating, if you dont do that on the start, when you resize the scale, everything is going to look the same. (Something like that happend to me before).

        My advice would be to start a new scene, match the geometry scale with the original 3D software you use to model the ship and then scale everything to that scale and simulate. Remember to do that before you simulate anything. Maybe you could use the same settings.


      3. Yeah,

        My advice would be to start a new scene, match the geometry scale with the original 3D software you use to model the ship and then scale everything to that scale and simulate.

        That is the way!

        Working in that way, you won’t need to think about scales in RealFlow.


      4. Hi Justin,

        It is advisable to work in RealFlow with scale 1. If you are working with a different scale, make sure you have scaled the daemons to work with your scale. If only you want to increase the geometry scale, so the ship will be bigger, I advice you to make that change in Maya or your 3D platform, so the scale in RealFlow will be 1 and you don’t need to change anything. If it is not possible, you can change the geometry scale in RealFlow, but keep in mind that each grid scquare in RealFlow is like 1 meter.


      5. I got what you mean now. Now I am going to rescale the scene in Maya and scale 0.1. So when I import it into realflow, it would be perfect fit.

      6. Hi Justin,

        Yes. Also you can work in the other way, I mean, scaling the geometry in RealFlow, but it could be difficult to understand when working with daemons and they are not been scaled because you’ll see the fluid behaviour slower or faster depending what global scale you apply to the scene.



    2. Hi Justin,

      It is due to you have a bad voxelization for your ship. You should check out if the geometry is closed before exporting to RealFlow. I use 3dsmax and STLCheck modifier to verify if I made the mesh without errors. Also, it would be useful to make a proxy to work faster in RealFlow. I can see you have a flag and another elements with a lot of polygons and they need to be voxelized by RealFlow for simulating too. 😉


  6. heyyy in this tutorial you didn’t teach us how to used graph . in part 2 8.22 min of video how you create that all nodes or they automatically generate when you working its really confusing please help me to understand

    1. Hi Kaviraj,

      Yeah, I know but explain the graphs would be another long tutorial. Sorry. Meanwhile, take a look at this link to learn more about graphs.


  7. How to make foam particle collide with the ocean mesh in hybrido


    I rencently do a test about the ocean simulation in realflow with hybrido,this new feature is awesome and the speed of simulation is great! But I have a problem is that,when I have created the mesh,the foam particle did not collide with the ocean surface correctly ,there are some particle under the surface in some areas.I think the reason is that I use the displacement for the main fluid,make some areas higher than others.Can you tell me how to fix this issue?I want all the foam particle are above the surface,because the carmera of the shot is very close .Thank you!! I am looking forward to your reply!!
    Best wish!!

    1. Hi Chen,

      Yeah, that is a real problem by default. Usually, the foam render and mesh render are different passes and then, they are composed in some program like Nuke. But, I know you would want the foam over the mesh surface, so it is more comfortable before compositing the passes. The same graph, to project the hybrido particles over the realwave, would be useful to make the same thing with foam particles and the mesh you created from your hybrido. You just need to change the getDomain node by a getParticles node and choose the correct emitter and the correct mesh.


  8. Everything works fine until I execute the second graph. When I execute the second graph my CPU usage jumps to 100% and stays like that for a very long time without any change.

  9. hey thank you sir…. i learn little bit about graph.my practical remove also working and practical projection also .but when i simulating projection particle in exprot center i also uncheck the gfc format from HY_Domain_removed . in HY_domain02 gfc particles are generating but not rpc its only 1 kb size and when simulation its not loading sir help me

    1. Hi,

      That is because you have the Hybrido domain 2 connected in the relation ship editor. It must not be linked. If it is linked by default due to you have checked the automatic connection.;)


  10. Hi,
    first of all i want to congratulate with you for all of your stuff, then iwould like to know how i can turn my mesh (that is a solid) into a surface while meshing in realflow, so i just want to have the top surface of the mesh, thanks in advance,

  11. Hello luis! I have question please =)

    How to know the good size betwen 3dsMax and RealFlow? I read closely your topic and I not found the answer =/
    I used the rule but I don’t understand in volume m^2, My shim measure 120m in max, how have the same size in realflow. what’s the metter size object in realflow compared to the grid?

    Thank you very much

    1. Hi François,

      If you work in 3d max in centemiters keep in mind that 1cm in 3DSMax = 1meter in RealFlow. The easiest way is creating a cube in RealFlow and export it as SD file and then import it into 3dsmax. Now you know that cube is 1 meter in RealFlow, so you can scale up or down your geometry according to this cube. 😉


  12. Hi Luis, thanks for the great tutorial.
    Have a small problem, none of the XML graph seems to work for me!
    I switched all the node you show so the name can match and when I press the play button, nothing happens in the clipping graph as much as the project hybrido one..

    HY_Domain02 isn’t plugged anywhere. Would you have a small idea ? Thanks !

    1. Hi Hugo,

      It could be due to the names you have for your files. Check the filename options to see if you have by default name#.ext or name_#.ext.

      luisM. 😉

  13. Hi Luis, thank you for the last suggestion you gave me about the graph..you have been so kind, unluckly for you i’m here with another question, i would want to move my deamon togheter with a boat, in order to simulate only where i need, so the boat is moving and i would want to have a simulation box that follow the boat and in witch the simulation take place..in order to have the beginning of my simulation a little bit before the hull of the boat..thank you in advance,

    1. Hi Riccardo,

      You have the option to parent the daemon to the node you want. To do that, go toParent to option inside node params.

      luisM. 😉

  14. after Executing the Second GRAPH my CPU usage goes to 98% – 99% and then Realflow Doesnt responds.,,,
    My Cell SIZE: 4
    SYSTEM SPEC: I7 4770k
    8gb RAM
    AMD HD 7950GPU
    plz HElp me,,….

    1. Hey Gustavo!

      Do you mean to change by scripting the folder in the export central?. If so, you must use the “scene.setExportResourcePath()” python command.

      luisM 😉

  15. Hello Luis!

    I tried that graph projecting the real wave deformation onto the hybrido, but as soon as I execute the graph, Realflow 2013 or 2014 crashes. The other graph works, getting rid of unwanted particles, but the projection graph crashes real flow every time. I”m using a mac-mini core i7 latest OS. Any suggestions?

    1. Hey,

      Check you don’t have the hybrido domain 2 linked with anything. It mustn’t be linked. Usually, if you have the connect to HUB automatically, the Hybrido2 will be connected and it will crash RF when executing the graph.

      luisM. 😉

  16. hey luis.,
    my problem right now is the mesh isn’t coming out as expected., it has something sort of like “squarey inside bumps” ,……..certainly not like the realwave,
    plz help me out meshing.

    1. Hi Sankar,

      Do you have a screenshot or video?. Have you tried activating the weight Normalization parameter to remove this kind of things.


  17. Hi Luis, this is an amazing tutorial!!

    But regarding the ship’s animation, is it possible to simulate the ship’s movement with the real wave before we start off with the hybrido process and use this ship simulation data on the hybrido to simulate it’s splash?

    Thanks for your time!!

    1. Hi!

      Yeah it is possible. You can simulate your ship with RealWave to get the movement. Next import the SD from your ship to simulate with Hybrido and adding a Ocean Force Field to Hybrido to get, more or less, the same fluid behaviour you had in the RealWave. Once you have the Hybrido simulation, you have the possibility to simulate the secondaries.


  18. Ey, great tutorial… I started to learn realflow and It helps me so much.
    I have a basic question, why don’t you use the simulation for the movement of the ship? I’m trying to make a simulation like this, a ship across the ocean. I want the real movement of the ship with the realflow’s simulation ocean, the ocean and then export this to my 3D program. So I don’t understand why don’t you make the interaction of the ship and the water… thanks!!

    1. Hi sabel,

      Thanks to you!. I could use the simulation to move the ship but it depends on the scene. Most of scenes where you have a ship need control, like movies we all see, and that control is only available if you animate the geometry. Of course, you can simulate the ship by using dynamics and multijoints. The process would be as follow.

      – Set the ship geometry to dynamic rigid body
      – Create and animate boxes to hold the ship to avoid it can sink. Place the boxes you need to hold the ship below it. I advice you to place the boxes with a few distance between boxes and geometry so the ship can move down and up. Once the boxes have been placed, you should animate them. They are going to push the ship so the distance depend on you.
      – Create a multijoint setting the ship as objectA and boxes as Object B. The order won’t matter.
      – Find the value to generate the joints between both geometries.
      – Simulate the scene. Try with few particles first and check out the mass for your ship as it is a rigid body now. Too many mass will sink the ship.

      I hope it helps.


  19. Hi Luis, Great tutorial, and your page is really helpful, I have one question, when I try to project the particles I only get part of them projected, from left to right, it projects only like one quarter of all of them. What could be the reason? how can I fix it?

    1. Hi Daniel,

      Thanks for your words ;). It is because Hybrido’s domain rectangle should be bigger. Also, in that scene, make sure that the Hybrido2 is not connected to anything in the Relation Ship Editor.

      luisM. 😉

  20. Hello and many thanks for your support I’ve been watching your tutorials and trying to keep up I am a beginner to RealFlow but have to understand its full potential. When I import your graph I changed the file path to match my project. I get an error saying the file name extension “.lnk” differs from format. I have the RealFlow Particle Cache (rpc) on and in the export setting I am simulating with that file extension so I dont understand the error and where its coming from any ideas?

      1. Hey,

        I’m glad it is fixed now ;). Yeah, Most of times you have that kind of error is due to the extension names don’t match. 😉


    1. Hi Dani,

      It is weird. In some place you have the .Ink extension for your files. Send me your graph and I’ll tell you where is the error. 😉


  21. Hi Luis, First of all, thanks for all your tutorials, they’re really usefull !!
    I have a problem when i create splashes on the Hy_Domain_02, they’re not apply on waves created with the graph… but they work in the area of the interaction mesh-sim…
    Any idea to fixe it ??

    1. Hi Hub,

      Thanks to you for watching :). It is probably you have not scale up the Splash bounding box. The splash has a bounding box to adjust the area where the splash particles are going to be created. You’ll need to do it bigger.


  22. Thanks for the rapidity of you’re answer !!
    Yes i already adjust the bounding box but something doesn t work properly… i don’t know why … Maybe it’s because i work with a 0.01 geometry scale …
    I try to do a sim where a killer whale appears at th top of the sim, i ll try with the ocean statistical spectrum integrated in the Hy_domain_01…
    Another question, when i change the geometry scale, does that influence all other parameters in the domain or other nodes ?

    1. Hi,

      It shouldn’t. Only the geometry will be affected for the geometry scale. But keep in mind that the collision distance between geometry and fluid won’t be the same, if you are using SPH.

      luisM. 😉

  23. hi Luis,

    Thanks alot for the beautiful tutorial on Hybrido as Realwave. But I am unable to download the Graphs or the File. Its showing a server error. Can you pls help..


  24. Hi Luis,
    i followed your tutorial step by step, the only problem i m facing that whenever i try to Execute graph to remove particle it doesn’t show me any result in view port….i downloaded your remove_particle xml file n drag drop to my Simulation flow……can u plz explain me what i m doing wrong…

  25. Hi Luis,
    Thanks alot for the beautiful tutorial on Hybrido as Realwave.
    i followed your tutorial step by step, ues realflow2014 .the only problem i m facing that when i Execute graph to project particle on realwave,it’s ok. but when i simulate to save projected particles,every frame only 1KB size. it doesn’t show me any projectedparticles in viewport ,can you please explain me what i m doing wrong…
    the realflow2014 scene have been send to your email address.

  26. Hello Luis!

    I tried the Realwave to Hybrido workflow and was able to get this nice result, although I need to somehow get better splashes! The size of the ship is 30 meters, and I set the interaction factor to 6! Can you suggest some other things and or settings I can do to make this better? I would like the splashes to be more spray like with a lot of turbulences and volume. Right now i think it’s sorta viscous looking. Thank you!

    1. Hey Syrena,

      The simulation looks great! Congratulations. About splashes you could use Dumb particles instead fluid particles, killing the particles when colliding against the ship geometry with a K collision daemon and maybe with a Kspeed daemon as well. I like the result applying these daemons for splashes. Show us the final simulation when you have it. 😉


  27. Hi Luis,

    Sorry to bother you but I am having a huge problem projecting onto the realwave. I have made sure all the names were correct and I have used every number between 0 and 50 with absolutely no luck. Can you tell me how im suppose to actually get what the number is.? Thank you so much. I am including a screengrab link.

    Thanks again,

    1. Hey,

      Have you tried tried with negative values?. Also take a look if the axis is the correct one to project the particles. Try to change the axis to project in the graph. 😉

    2. Hi Brandon,

      I advice you to use the Ocean Force Field instead this method. This method was done because the ocean force field wasn’t included in RealFlow yet until RealFlow 2014 was released. If you still want to use this method, try with negative values. Also, if you have a different axis setup different that it comes by default in RelFlow you will need to check the graph to use the Z or Y axis depending what axis you are using as up.

      luisM. 😉

  28. Hello Luis,

    Great tutorial. Is there a reason why this method of projection is better than just copying settings from RealWave OSS in to the Ocean Statistical Spectrum settings in Hybrido?

    Also, could you do a tutorial on how to create an endless ocean? I think there is a boundaries parameter in Hybrido that can be used to tile, but it is a mystery to me.


      1. That would be great!

        I have one other question: I discovered in RF2015 you can use the Snap Foam/Displace Foam tools instead of the graphs to displace foam to the OSS surface, but is there no other method than using the graphs to displace Splash particles too? It does not seem there is a similar new tool for this — only the one for Foam.

      2. Hello Luis,

        Could you give us a few tips on the basic method of how you would create an endless ocean? A tutorial would be even better 🙂

        This must be something many people would find very useful. I’ve tried using a displacement map and tiling it in another 3D app, but it looks obviously tiled and repetitive. Thanks!

      3. Hi Greg,

        I guess you want an endless sea with objects interacting in it, right?. If so, you will need to do two simulations but, the second animation will be very fast becuase it would be only exporting the displacement maps. I’ will try to do the tutorial. You are right, it will be useful for many people.


  29. Hi Luismma

    How did you get the spline projected on the realwave surface?
    Did you manually created the spline by hand?, it`s the ship really gonna match 100% with the waves then?.

    Must be someway to export a 100% spline from the realwave?

    Many Thanks

  30. About the endless sea. How do I create an endless sea from my realwave hybrido scene?

    Do you think mesh extension will work?


    1. Hi Johan,

      You will need to do a couple of simulations. First one is the fluid with the geometries interacting with the fluid and the secon one, only you will need to export displacement maps. In order to export displacement maps, create a new scene with a huge cell size and check the displacement exportation. Displacement maps will have the same settings you had in your original scene. It is because you won’t need to simulate any fluid but only the displacement maps and for that reason particles simulation is not necessary, but they need to be simulated even though you don’t need them. Then, you can blend two simulations in postpro once they have been rendered.

      luisM. 😉

  31. Estimado Luis.

    Te doy las gracias por compartir estos tutoriales que ayudan mucho a aprender RealFlow.

    Tengo 2 problemas, el primero : Estoy utilizando realflow 2015, al ejecutar el Graph Nodes, la maquina demora mucho en realizar la tarea, tardan demasiado, los primeros frames no demoran (casi nada). Quisiera saber que puede ocurrir, veo en tu tutorial que usted al ejecutarlo no demora nada estando en el frame 126.

    Problema 2 : después que termino el Graph Nodes, después de un día aproximadamente, cuando cargo los nuevos frames con particulas removidas… aparece a la altura del Domain y aparce pequeño… como si se hubiese grabado los frames en una escala pequeña…

    Muchas gracias de antemano.

    Saludos desde Perú.

    1. Hola Eduardo,

      Eso es por que tienes alguna conexion en el RelationShip Editor que no parece estar bien. Date cuenta que el Hybrido2 que se crea no debe de estar conectado a nada. Si lo esta, la simulacion no funcionara bien. Que tarde 1 dia es mucho tiempo y eso es porque esta creando los campos erroneamente. ¿Tienes alguna escala en al escena?.

      It is because Hybrido2 won’t need to be connected to anything in the RelationShip Editor so it can work properly. If it is connected with some node in the scene, the fields will be calculated in a wrong way. If the simulation is taking 1 day it might be due to the fields are calculated in a wrong way. ¿Do you have a scale in your RealFlow scene?


  32. Hello luis,

    I am having a problem in RF 2015 with changing polygon size of a Hybrido mesh when I use displacement based on the Hybrido Domain’s OSS. The polygons do not change size when I change the parameter, so I get the same large polygon count. Is this a bug or a limitation? I don’t have a problem when I don;t use displacement to create the mesh.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s