Gracias Gracias:  0
Resultados 1 al 2 de 2

Tema: Tutorial Fluids in Blender

  1. #1
    Administrador y fundador. Avatar de 3dpoder
    Fecha de ingreso
    Apr 2002

    Tutorial Fluids in Blender

    Tutorial Fluids in Blender

    For this tutorial I will have the worded directions along with the exact keystrokes it takes to get the step done. If you are fluent enough with Blender you may not have to look at the keystrokes line. Each step within the keystrokes line will be highlighted as such:Example. Arrows will indicate that you should be following a menú path.

    Let us begin by opening a new scene.

    -- Ctrl X -OR- File --> New --> Erase All

    If you have kept the default scene that Blender automatically sets up than you will want to delete the default cube. For this tutorial we want to start out in the top view.

    -- X --> Vertices ; 7

    Now we want to add a plane and skew it by 5.

    -- Add --> Mesh --> Plane ; S ; 5

    Next thing to do is subdivide our plane. You can clik subdivide four times, or you can hit 'W', clik 'subdivide multi', and submit '15'. 15 is the number of cuts, or lines you see on the plane going in either direction. This will essentially make a 16x16 grid on our plane.

    -- W; Clik Subdivide Multi; Put in 15; Clik OK

    Now it is time to make the stairway down into our subway. You will want to go into Face Select Mode and select the faces that are shown in the image below.

    With those selected faces you will want to extrude them by 2.5.

    -- E; Clik Region; 2.5

    This will serve as the walls of our subway station. I am not going to have the ditches for the tracks, or the place for the trains to come in, we will not be focusing in this. You may add more details as you please. I will be focusing on the stairs. I guess mine will be more like a bomb shelter.

    Now I have selected the next batch of faces to make the stairs.

    This next bit is going to be a bit tedious, just to warn you.

    With those selected parts extrude the region by .2

    -- E; Clik Region; 0.2

    This is our first step. I think you can see where this is going. Now you will want to deselect the first row of steps and extrude the remaining faces by the same amount as before.

    -- Deselect the faces, E, Region, 0.2

    The red rectangle depicts the three faces you should have deselected before extruding a second time. The image on the right shows what your first two steps should look like.

    Do this process two more times.

    -- Deselect faces, E, Region, 0.2
    -- Deselect faces, E, Region, 0.2

    Now we are at the corner. I just deselected the 3x3 área and extruded again. Hopefully yours looks like this.

    Now you can do the rest of the steps the exact same way all the way until the end. You can see what mine looks like below.

    Great! Now the stairs are done. The only thing left to do is move the light for rendering reasons in the fluid section.

    Go into 'Object Mode', select the lamp, and hit 'N' for the transform properties. Change the 'Loc X' and 'Loc Y' values to '0.00' and the 'Loc Z' value to '5.00'

    -- Go to Object Mode, Select the Lamp, N, and change the settings as shown in the image below.

    I have rendered a shot for you to see before we continue.

    Assuming you plan to continue to the fluids part of the tutorial, you will need to go into object mode and double the size of our subway. This is so the camera will fit into our scene a little bit better.
    -- Object Mode, Select the subway, S, 2

    Clik Here to download the subway.


    Miniaturas adjuntadas Miniaturas adjuntadas Tutorial Fluids in Blender-tutorial-fluids-blender-1.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-2.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-3.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-4.jpg  

    Tutorial Fluids in Blender-tutorial-fluids-blender-5.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-6.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-7.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-8.jpg  

    Tutorial Fluids in Blender-tutorial-fluids-blender-9.jpg  
    Archivos adjuntados Archivos adjuntados
    Si vas a subir un trabajo al foro, hazlo adjuntando la imagen, archivo, vídeo o lo que sea, no publicando enlaces de otros sitios.

    |Agradecer cuando alguien te ayuda es de ser agradecido|

  2. #2
    Administrador y fundador. Avatar de 3dpoder
    Fecha de ingreso
    Apr 2002

    Fluids in Blender 2


    All right! Now we can get to the good stuff, the fluids. For this scene I want to flood the subway that you (the camera) are in. This is similar to my Trapped animation. So we will have a Domain and an Inflow and an Outflow along with the subway station we just modeled acting as an obstacle.

    Go to top view and and add a cube. Since we want to flood the subway we have just made we want the domain to be right on the edges of it. So skew the cube by a rate of 10.

    -- 7; Clik Add--> Mesh --> Cube ; S ; 10

    If you move out of top view you may notice that there is a ton of wasted space underneath our subway. This is bad. The more wasted space in your domain or the bigger your domain is the longer it is going to take to bake your fluids.

    Make sure you are in 'Face Select Mode' and select the bottom of the cube. As you can see, the dead space is half (!) of the total cubes size. So, grab the bottom of the cube you just selected and move it along the Z axis by 10.

    -- Select the bottom face, G; Z; 10

    Yours should look similar to this.

    Now that we have the domain in the position we want we can add the inflow. Go to the top view, and add a cylinder. I left it at the default settings. While we are in the top view, grab the cylinder and move it by '7' on the Y-axis and by '8' on the X-axis.

    -- 7; Add --> Mesh --> Cylinder; Clik OK.

    -- G; Y; 7; G; X; 8

    Now we need to make sure the inflow is at the right height. Go to the front view and move the cylinder up by 8.

    -- 1, G, Z, 8

    Now for the outflow. Get into object mode, top view, and I added a cube. Move it vertically upwards by 1, and put it under the camera by moving it along the X axis by '7' and along the Y-axis by '-7'.

    -- 7; Add --> Mesh --> Cube; Clik OK.

    -- G; Y; -7; G; X; 7

    -- G; Z; 1
    Now we have all of our pieces set up.

    Go bak to 'Object mode' if you haven't already and select our domain, the big rectangular shape surrounding our subway. Once that is selected, go to the 'Physics Tab' and in the fluid simulation área hit 'enable'. A bunch of buttons will appear with one of them being domain. Select it.

    -- F7; Physics Buttons; Select the cube surrounding the subway; Clik Enable; Clik Domain

    Now select the cylinder and do the same thing except instead of 'Domain', you want to clik 'Inflow'.

    -- Select the Cylinder; Clik Enable; Clik Inflow

    Next select the small cube under the camera and in the corner and make that an outflow.

    -- Select the small cube; Clik Enable; Clik Outflow

    Finally lets select our subway and make it an obstacle.

    -- Select the Subway; Clik Enable; Clik Obstacle

    Now all that needs to be done is the adjustment of some settings. Select our inflow again and change the inflow velocity on the Z axis to '-.5'.

    -- Select the inflow; Set Z under 'Inflow Velocity' to -.5

    Now select the domain and hit BAKE. Now you may have noticed two problems.
    1. The water is very gooey.
    2. The water goes over the top of our subway edges.

    Here is how I plan to fix these problems. Select the Subway and go into edit mode. Grab the faces that line the stairs and raise them higher by about 2.

    -- Select Subway; Edit Mode; Select Faces; E; Clik Region; 2

    As for the gooeyness, we need to change the end time of our simulation. I am going to assume your animation is running for 250 frames, 25 frames a second. This is the default. That means our simulation should be for 10 seconds. If you clik the Std button in the domain settings you can see the simulation end time. Right now it is set at .30. This means that over our 250 frame, 10 second animation the fluid moves as it would in .3 seconds. I guess it would only make sense to change this setting to 10. But I won't.

    Why? It will take ages to bake. But that is just me and my computer. I suggest you test it out if you do not know how well your computer works with baquíng. I will just set mine to 5.

    Now you can bake it and see what happens. As you probably noticed, our subway has filled up with water to a certain point until the outflow is covered and keeps the water level from rising. The bigger the outflow you have the more fluid it will suk in.

    As you can see if you render a frame of this the water is really blocky. The easiest remedy is to Set Smooth to the domain. (This is under the 'Editing' button or hit 'F9') You can see the difference below.

    If you want to actually raise the resolution of the fluids you would have to go into the same place that has the end time and directly above it you can see the resolution settings. The default is 50. So if you decide you want a higher resolution raise 50 to a higher number. But watch out, the amount of time it takes to bake fluids grows exponentially larger as you raise the resolution. This is another place to test out how high of a setting your computer can handle.

    Now you can add materials for the walls and add more details to this gray subway flood. Get as detailed as you want.

    Miniaturas adjuntadas Miniaturas adjuntadas Tutorial Fluids in Blender-tutorial-fluids-blender-10.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-11.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-12.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-13.jpg  

    Tutorial Fluids in Blender-tutorial-fluids-blender-14.jpg   Tutorial Fluids in Blender-tutorial-fluids-blender-15.jpg  
    Si vas a subir un trabajo al foro, hazlo adjuntando la imagen, archivo, vídeo o lo que sea, no publicando enlaces de otros sitios.

    |Agradecer cuando alguien te ayuda es de ser agradecido|

Temas similares

  1. Maya Problema serio con maya fluids
    Por Dellamorte en el foro Partículas y Dinámicas
    Respuestas: 3
    Último mensaje: 24-09-2013, 23:25
  2. Maya Fire with Maya Fluids
    Por pichi84 en el foro Trabajos Finalizados
    Respuestas: 0
    Último mensaje: 07-06-2013, 20:35
  3. maya fluids: pattern
    Por bealobo en el foro Partículas y Dinámicas
    Respuestas: 1
    Último mensaje: 16-05-2007, 11:17
  4. blender fluids
    Por bealobo en el foro Partículas y Dinámicas
    Respuestas: 2
    Último mensaje: 06-01-2006, 13:42
  5. Tutorial de fluids
    Por Leander en el foro Peticiones y Búsquedas
    Respuestas: 18
    Último mensaje: 25-11-2005, 07:39

Actualmente estos son sus permisos de publicación en el foro.

  • -No puedes crear nuevos temas al no estar registrado o no haber iniciado sesión en el foro.
  • -No puedes responder temas al no estar registrado o no haber iniciado sesión en el foro.
  • -No puedes subir archivos adjuntos al no estar registrado o no haber iniciado sesión en el foro.
  • -No puedes editar tus mensajes al no estar registrado o no haber iniciado sesión en el foro.