Page 1 of 2 12 LastLast
Results 1 to 20 of 26
  1. #1

    Material Nodes: Making a Planetoid ( intermediate-advanced )

    Here's a simple way to make a planetoid using nodes.

    This tutorial assumes basic knowledge of a few things, like UV mapping and texture paint, however, if you would prefer, you can substitute a procedural texture for the UV texture, and forget about the geometry node. Also, if you do this, you will probably want the use the 'value' output of the texture node, instead of the 'color' output.

    1) we are going to make a planetoid, so, to get started, make a sphere, and UV map it. Using texture paint, create a black and white image of where you want your continents to sit. you can make the water black and the land white, or the other way around, it really doesn't matter. Save the image, we will use it in a moment.
    2) select your sphere, and open the materials window. Make a material for the land, with no specular, and a clouds texture for the bump map. Then, make another material for the water, with a high specular, and a stucci, or musgrave texture as the bump map. You can use the same channel, just choose add new, or toggle the appropriate channels on or off in the materials buttons. Anyway, we have two materials, one for land, one for water. make another material to hold the mask texture, or you can put it in one of the channels that's toggled off in your exsisting materials. Anyway, load the mask you just painted into a texture channel.
    3) now, split your 3-D screen, and make a nodes window.
    4) go back to materials, and on one of them, doesn't matter which, press the 'nodes' button, and you will see two nodes appear in the nodes window. The material will be solid black at this stage, so, in the nodes window, press the red arrow buttons, which will now be highlighted in red, and browse for a material. Choose the land material. Now, with shift+D, duplicate the land node, then, with the browse button, call up the water material. You now have two material nodes, and an output node.
    5) we need three more nodes, a mix node, a texture node, and a geometry node. Call these up using shift+A.
    6) use the browse button on the texture node to call up your mask texture, and
    a) connect the 'UV' output on the geometry node, to the 'vector' input of the texture node.
    b) connect the 'color' output of the texture node to the 'fac' input of the mix node.
    c) connect the color output for the water node to either of the color inputs of the mix node.
    d) connect the color output for the land node to the remaining color input of the mix node.
    e) connect the color output of the mix node to the color input of the 'out' node.
    7) render.
    Click image for larger version. 

Name:	nodewin1.jpg 
Views:	1199 
Size:	76.8 KB 
ID:	135215


    Last edited by Modron; 19-Dec-13 at 16:56.
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



  2. #2
    Nifty. I'm rendering a nice space scene now.



  3. #3
    Member
    Join Date
    Jun 2005
    Location
    Germany
    Posts
    1,033
    Originally Posted by Modron
    love those nodes, here's a simple way to make a planetoid.
    ... Anyway, we have two materials, one for land, one for water. make another material to hold the mask texture, or you can put it in one of the channels that's toggled off in your exsisting materials. Anyway, load the mask you just painted into a texture channel. ...
    And that's the real advantage of the material nodes: Blending between materials and not only between textures!

    Nice thing to do: use fresnel transparency with a material node and connect the alpha output to the fac input.
    Last edited by SoylentGreen; 25-Jul-06 at 15:35.



  4. #4
    Member chavez_3D's Avatar
    Join Date
    Apr 2006
    Location
    Austria
    Posts
    75
    Thank you for that tutorial!
    Tried it with success!
    The problem which I encountered is:If I am blending a Material with raytransp on with one without, it does not work during raytracerender.
    If I render it without raytracing it works well, but there is no transparancy of course.
    Is there a solution for that problem?



  5. #5
    when you say "make a sphere and UV map it", are you supposed to add a white image as texture and then pain it?

    I'm sorry, I don't know how to use the "texture paint" feature.
    sightsick with eyecandy



  6. #6
    Member chavez_3D's Avatar
    Join Date
    Apr 2006
    Location
    Austria
    Posts
    75
    Important is, that there is a proper UV Layout, which means UV are not overlapping.
    You can use a selfpainted Tex or any other black/grey/white pic as texture for the fac input in the mix node.
    So you do not necessarily need to use tex paint tool.
    You can also export the UV Layout and create your Tex in a paintprogramm like any other imagetex.



  7. #7
    thank you for the tutorial, Modron. I like this technique. here's what i came up with:

    Last edited by treatkor; 01-Apr-07 at 00:42.



  8. #8
    cool, it turned out nice. you can fake an atmospheric halo, too, by going into camera view, doing a shift S for snap cursor to selection, adding a circle with a bunch of verts, and possibly subdividing or duplicating it to add yet more, giving it a halo material. then, tweaking the halos alpha and hardness and size to where it looks about right. ( i think m@dcow originally came up with this method )
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



  9. #9
    Member ecgilboy's Avatar
    Join Date
    Sep 2006
    Location
    Saipan, CNMI USA
    Posts
    633
    Nice tutorial..thanks..



  10. #10
    Member BeBraw's Avatar
    Join Date
    Jul 2005
    Location
    Nifland
    Posts
    2,064
    That's a nice and simple tutorial. You can use the same method with vertex paint color now. It is even possible to use multiple vertex paint color maps at once (Col field defines which one is used in input). Vertex paint can be especially useful on dense meshes.



  11. #11
    for planets i recomend the toon shader where the lighting is hard like a point light. look at some nasa photos. (unless of course your planet is very close to its sun or it has multiple suns)







  12. #12
    I wasn't really going for a great planet render, just trying to convey the idea of using the UV mask for materials. There are really quite a number of things wrong with my planetiod though, in terms of its overall appearance. The ocean, for instance, is full if tremendous, huge waves, because the bump map is too big. But thanks nonetheless for the input, I never really thought of using the toon shader for a planet, but it makes sense. M@dcow, S68, and Env, are all good at making planets, so if people want to learn a proper planet making technique, check out their works. In fact, I think env made a tutorial on it at one point, and S68 made a plugin called BWF ( blender world forge ) that will model big chunks of land, or even a small planet, according to the variables you set for it. It might need an older version to run on though, not sure. Btw, Bebraw, that's cool about the vertex colors, I didn't know that.
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



  13. #13
    Member BeBraw's Avatar
    Join Date
    Jul 2005
    Location
    Nifland
    Posts
    2,064
    Modron: You can get more blending ideas at http://67.15.36.49/team/Tutorials/ve...expaint_01.asp . That tutorial is meant for 3dsmax but it seems doable in Blender with no problems.



  14. #14
    Member
    Join Date
    Aug 2007
    Location
    Europe
    Posts
    109
    my 2 different displacement maps don't get mixed (only colours) - am i doing something wrong ? greetings



  15. #15
    I have not tried it with displacement maps, maybe displacement works differently? Did you try it with normals mapping?
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



  16. #16
    Member
    Join Date
    Aug 2007
    Location
    Europe
    Posts
    109
    true - there is alot of difference . i usally use displacement mapping because normals mapping is just a render fake. but so far i didn't see a way to mix displacement maps over the material nodes . at least with normals the mixed bumping works good like in the tutorial .



  17. #17
    Member The_Warder's Avatar
    Join Date
    Sep 2005
    Location
    Arizona
    Posts
    706
    could someone explain how to do this with more than 2 materials. I need to do three
    \"quiet Professionals\"= \"walk softly but carries a big stick\"
    http://img27.imageshack.us/img27/677...bbd1d0c42b.png




  18. #18
    I think you can now use RGB values, though I have not actually attempted it.
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



  19. #19
    thanks very much for this tutorial, was a real help
    LMT



  20. #20
    Glad to be of help. I think I may add a couple more examples of this type of composite material.
    nodes tutorial on 'stenciling': http://blenderartists.org/forum/showthread.php?t=73088
    nodes tutorial on custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989



Page 1 of 2 12 LastLast

Similar Threads

  1. Italian 3DS_importer
    By pafurijaz in forum Python Support
    Replies: 16
    Last Post: 30-Jun-06, 05:46
  2. [Tutorial] Modeling/Compositing 3d Wallpaper (Intermediate)
    By lirmont in forum Works in Progress
    Replies: 15
    Last Post: 11-Nov-05, 11:33
  3. 3ds python loader New
    By pafurijaz in forum Python Support
    Replies: 22
    Last Post: 17-Feb-05, 14:11
  4. Blender material to OpenGL material
    By Deiussum in forum Python Support
    Replies: 2
    Last Post: 20-Oct-03, 12:48
  5. making nice metal material
    By rusty in forum Basics & Interface
    Replies: 2
    Last Post: 09-Oct-03, 12:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •