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!

luisM.

About these ads

~ by luismma on January 20, 2014.

68 Responses to “Tutorial: Hybrido as Realwave!”

  1. Great tutorial. Thanks.

  2. This is Really Useful! Realflow has come so far!

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

  4. 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 :D

    Please help!

    boat Scene files

    http://www.sendspace.com/file/82g22n

    • 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.

      luisM.

  5. 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

  6. 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.

    Jason

    • 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.

      luisM.

      • 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.

        Jason.

      • 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.

        luisM.

      • 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.

        Jason.

      • Hi,

        That is!. Thanks for the info. Let me know when if you make a video with the final result. ;)

        luisM.

      • 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.

        Jason.

      • Heyyy!

        Good news. Please let us know when it is released. I would like to see it. Thanks for sharing!

        luisM.

      • Hi Luis

        Of course i will, that TV commercial goes on the air after the World Cup of Brazil.

        Jason.

      • Nice!!!

        Let us know. Thanks. ;)

        luisM.

      • 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.

        Jason

      • Hi Jason,

        It looks nice!!!. Well done. How many particles do you have?

        luisM.

      • 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.

        Jason.

      • Hi,

        Great!. Do you have a video we can see?. ;)

        luisM.

  7. 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?

    Justin

    • 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?

      Jason.

      • 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.
        Justin.

      • 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.

        Jason.

      • 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.

        luisM.

      • 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.

        luisM.

      • 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.

      • 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.

        luisM.

        luisM.

      • Thanks Justin!

        luisM.

    • 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. ;)

      luisM.

  8. 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

    • 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.

      luisM.

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

    Hello,luisM!

    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!!

    • 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.

      luisM.

  10. 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.

  11. 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

    • 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.;)

      luisM.

  12. help me …………………

  13. my HY_domain02 0 partical count command line

  14. help me

  15. 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,
    Riccardo

  16. 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

    • 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. ;)

      luisM.

  17. the link is go out!

  18. 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 !

    • 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. ;)

  19. 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,
    Riccardo

    • 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. ;)

  20. did you have facebook ?

  21. 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,,….

  22. Hi,

    Thanks for the tutorial, just a quick question how do you set the particle folder in export central?

    • 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 ;)

  23. 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?

    • 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. ;)

  24. 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.

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

 
Follow

Get every new post delivered to your Inbox.

Join 348 other followers

%d bloggers like this: