In this Blender 2.5 video tutorial we go through the process of creating a cool battery scene from start to finish. This tutorial covers modeling, texturing, lighting, and rendering. The materials and rendering are done with LuxRender 0.8RC3.

You must be logged in to upload images. Register

Discussion

62 Responses to “Creating a Battery in Blender and LuxRender”
  1. Posts: 10

    Good tutorial

    #
    1
    May 21, 2011 at 1:52 am
  2. Posts: 75

    When you modeled batery why you dont use screw modifier?

    #
    2
    May 21, 2011 at 2:47 am
    • Falberto
      Posts: 2

      Because there is always thousand ways to make the same thing, and he choosen one :-)

      #
      2.1
      May 21, 2011 at 6:41 am
  3. Shane
    Posts: 5

    A bit behind with the citizen copy? ;-)

    #
    3
    May 21, 2011 at 4:05 am
    • Posts: 319

      Hey Shane,

      Sorry bout that – Download is added and ready to be delivered. :)

      #
      3.1
      May 21, 2011 at 8:06 am
  4. Posts: 5

    I just want to say, i highly appreciate these tutorials!
    This battery tutorial with Luxrender was great.
    Nice to see you use Pixelmator, it’s a wonderful program, it looks great, is fun to use and is quite cheap. And it keeps getting better for each version. To bad Win/Lin can’t use it to.

    #
    4
    May 21, 2011 at 6:10 am
  5. abdelsidi
    Posts: 3

    good tutorial thanks !!!

    #
    5
    May 21, 2011 at 6:12 am
  6. Posts: 84

    just great, loved it.
    I feel like having a crack now at some photo realistic renders, thanks so much, great follow on to the water+glass luxrender tut, fantastic!

    #
    6
    May 21, 2011 at 6:27 am
  7. Posts: 15

    Jonathan, thanks for the tut, always a pleasure, but I like to tell you that since LuxRender 0.8 RC3 I think, you have again the posibility to use several materials in just one object by vertex assigning. If you like to check it out just download this link, it’s a WIP but it does still shows the posibility.
    http://dl.dropbox.com/u/1227056/battery.blend
    thanks again

    #
    7
    May 21, 2011 at 8:15 am
    • Posts: 13

      Thanks Jonathan for the tut and thanks Lalo for the tip!!!

      Enjoyed very much doing this tutorial!

      Cheers!

      #
      7.1
      May 21, 2011 at 1:29 pm
  8. Posts: 35

    hello could you give us a tutorial on how to make a perfect tire and realistic please ?

    #
    8
    May 21, 2011 at 4:50 pm
  9. Marcus
    Posts: 21
    #
    9
    May 22, 2011 at 5:10 am
  10. haqzaf
    Posts: 54

    Hi, Jonathan Williamson

    Thanks for this tutorial.Good chance to explore deep into LuxRender pontential.

    My result after 8 hours of rendering.

    http://browse.deviantart.com/?q=gallery%3Ahaqzaf%2F9410305#/d3gxb2z

    #
    10
    May 22, 2011 at 5:48 am
  11. Posts: 5

    Hi, here is mine:

    http://ivichanm.deviantart.com/art/My-Batteries-209840918

    I made a little change to it and i decided to render it within Cycles instead LuxRender :)
    I don’t know why but i couldn’t apply an image texture to the battery body, then i let it with solid color.

    Thanks again for your tutorials!!

    P.S: Is a bit noisy render, but my computer is a little bit old and it takes a lot of time to render :)

    #
    11
    May 22, 2011 at 8:51 am
  12. Posts: 21
    #
    12
    May 22, 2011 at 4:50 pm
  13. Posts: 164

    What in the computer causes the render to go quicker? Processor speed, memory, or the graphics card?

    Jeremy Deighan

    #
    13
    May 22, 2011 at 5:40 pm
    • Pawel
      Posts: 24

      Primarily the processor speed, but memory matters in complex scenes, because if it’s too small it can slow you down (as it has to use disk cache). Also, the newest LuxRender has the option to use the GPU (I didn’t manage to get it to work though), and then the GPU matters (normally it doesn’t).

      #
      13.1
      May 23, 2011 at 2:26 am
      • Pawel
        Posts: 24

        GPU of course means the graphics card (Graphics Processing Unit)

        #
        13.1.1
        May 23, 2011 at 2:29 am
      • Posts: 164

        Ok cool.

        What about baking and physics/simulations? Since those are running through the 3D viewport does that mean that the memory plays more of a role than when in rendering?

        Also, would you suggest running a command/terminal prompt whenever possible for rendering?

        Jeremy Deighan

        #
        13.1.2
        May 23, 2011 at 7:52 pm
      • Pawel
        Posts: 24

        I don’t have enough technical knowledge, but I believe it’s the same as with rendering: the CPU speed is the key factor, although memory might be more critical than with rendering, as the simulation has to stay in memory. But I don’t see why memory should be more important just because something runs through the viewport. As for the graphics card, it probably only matters when you want to e.g. interactively move the scene around while baking or playing the simulation. I wouldn’t expect a much faster simulation just because there’s more RAM (unless you actually run out of RAM, then adding more obviously changes things), whereas a faster CPU definitely affects speed. That’s what I think, but I can’t swear by it.

        #
        13.1.3
        May 24, 2011 at 5:09 pm
  14. unknown
    Posts: 6

    As a image editor what do you think about expression design 4 for creating logos.

    #
    14
    May 22, 2011 at 9:32 pm
  15. Stick
    Posts: 2

    First! Okay, maybe immature, but hey, live a little. :P

    More seriously, another great tutorial. I had tried Blender a couple years ago, and couldn’t get the grasp. I had spent time in the Wiki, bought books, and watched tuts everywhere. Never clicked. These are connecting synapses I didn’t realize I had! :)

    #
    15
    May 22, 2011 at 11:11 pm
  16. Stick
    Posts: 2

    Haha! Next time I need to refresh the page before ‘firsting’. :P

    #
    16
    May 22, 2011 at 11:12 pm
  17. Posts: 1

    Olhem o meu: http://i1129.photobucket.com/albums/m509/lukoloko1/pilhas_final.png

    Muito obrigado amigo, só não ficou melhor por que meu computador não tem placa de vídeo! Mas ficou muito bom! Até o próximo tutorial… Later.

    #
    17
    May 23, 2011 at 1:28 am
  18. Pawel
    Posts: 24

    Here’s my take:
    http://i411.photobucket.com/albums/pp197/ubuntufreak/batteryScene.jpg
    Inspired by a quote from The Secret: “Everything in the Universe is Energy” :)

    #
    18
    May 23, 2011 at 1:26 pm
  19. Jacques
    Posts: 9

    Hello Jonathan,

    First thank you so much for your awesome tutorials !
    I tried a lot of time to check addon luxrender checkbox unsuccessfully.
    I have just install a graphicall buid and fortunately I can set on the checkbox. Great ! I can now learn luxrender with your amazing tutorials. But I haven’t tried luxrender yet, cause I have this message in the console when I launch blender. I have tried to put pylux.pyd in a lot of directories without success. Do I have to fix this issue or can I use it in a way ? Maybe I can use luxrender just external ?

    found bundled python: C:\PROGRA~1\BLENDE~1\Blender\2.57\python
    [Lux 2011-May-24 12:45:19] WARNING: Binary pylux module not available! Visit htt
    p://www.luxrender.net/ to obtain one for your system.
    [Lux 2011-May-24 12:45:19] (ImportError was: DLL load failed: Le module spécifi
    é est introuvable.)

    Thank you for your time.

    Jacques

    #
    19
    May 24, 2011 at 5:51 am
  20. Highlander
    Posts: 3

    Why when i click P and want to separate selections my blander crash. Its stop working :P . How to fix that?

    #
    20
    May 24, 2011 at 1:11 pm
  21. Posts: 13

    Thanks Jonathan!!!

    Here is my result after 2.5 hours of baking with LuxRender

    http://i.imgur.com/sjmoT.png

    #
    21
    May 24, 2011 at 5:06 pm
  22. haqzaf
    Posts: 54

    Hi, to All,
    Thanks Jonathan Williamson,
    Another try,Link.

    http://browse.deviantart.com/?q=gallery%3Ahaqzaf%2F9410305#/d3h52mh

    rendering time-one hour 35 minutes.

    More confidence in handling LuxRender,mesh based lighting tweaking.Creating battery label texture.

    #
    22
    May 24, 2011 at 6:33 pm
  23. Strelok
    Posts: 1

    Thanks Jonathan, your tutorials are very very cool. :-)

    #
    23
    May 26, 2011 at 10:51 am
  24. Posts: 3

    Hi from Czech Republic,
    here is my render: http://cgi.neolker.cz/battery-final.jpg
    Thanks J.W.! ;-)

    Martin Wolker alias Neolker

    #
    24
    May 27, 2011 at 5:00 am
  25. Posts: 2

    Nice Tutorial jonathan! keep it up. Can i request? can you do a tutorial about bump mapping using an image in luxrender? for example a wood texture. ive been trying to do it but i didnt get what i want. I think having a video tutorial for this one will be able to help me and others a lot. Thanks

    #
    25
    May 31, 2011 at 9:23 am
  26. catu
    Posts: 2

    Great tutorial , nice done Jonathan !\nAlso congrats for your work dudes , quite impressive results inspired by this tutorial .. I’ve changed my mind about posting my try .. :) \n Lux render is a great free tool for rendering , but it takes forever to work with it though .

    #
    26
    Jun 8, 2011 at 11:40 am
  27. catu
    Posts: 2

    here we go , my three used batteries \nhttp://imageshack.us/photo/my-images/594/bat15vglossy.png/

    #
    27
    Jun 8, 2011 at 11:49 am
  28. Kolrok
    Posts: 8

    Hey, I was wondering how did you get Luxrender to automatically render the image outside of Blender? I can’t figure out how to make the external Luxrender automatically render the same image Blender is rendering with the internal Luxrender.

    #
    28
    Jun 11, 2011 at 7:21 am
    • Kolrok
      Posts: 8

      (Are the settings for this under the “Luxrender Engine Configuration” panel?)

      #
      28.1
      Jun 11, 2011 at 7:26 am
  29. Kolrok
    Posts: 8

    Ok, ignore all the above, I got it to open, but with a slight problem. Every time I render, I get this message:

    [2011-06-11 15:22:43 Severe error: 47] Parsing error in file ‘Blender_Battery.Scene.00001.lxs’ at line 3: syntax error

    I’ve tried different rendering different Blender files I have with the same result. What’s wrong?

    #
    29
    Jun 11, 2011 at 8:24 am
    • Posts: 1761

      I am not positive but it sounds like this may be a version issue. Have you updated to the latest LuxRender and LuxBlend?

      -Jonathan

      #
      29.1
      Jun 13, 2011 at 9:55 am
  30. Posts: 59

    I very much would like to follow this tutorial but I’m having difficulties with LuxRender. Everytime I try to render I get an error saying OpenCL.dll is not found. >.<

    Anyone know how to rectify this?

    #
    30
    Jun 16, 2011 at 5:40 pm
    • Posts: 59

      Oh, I’m using Blender 2.57b and LuxRender v0.8 :)

      #
      30.1
      Jun 16, 2011 at 6:51 pm
    • Posts: 1761

      This likely means that you need to update your video card driver. That or your video card does not support OpenCL (GPU acceleration), in which case you need to get the “No-OpenCL” version of LuxRender.

      -Jonathan

      #
      30.2
      Jun 17, 2011 at 8:06 am
      • Posts: 59

        Ah! Thank you for that! :)

        Indeed, my card doesn’t support GPU acceleration. Nasty basic little thing! Ha! I’ll go grab and install the more useful version of LuxRender, for me. :P

        Thanks again!

        #
        30.2.1
        Jun 20, 2011 at 2:05 pm
  31. Posts: 59

    Hiya,

    I’m not sure if it’s mentioned above, but you can assign multiple materials to an object using vertex groups in LuxRender. ;)

    #
    31
    Jun 23, 2011 at 2:50 am
  32. catu
    Posts: 2

    Is it a way to apply text ( logo ) on a glass surface ? let’s say those batteries were made from glass .. maybe what Aaron mentioned above can help doing that ?

    #
    32
    Jun 24, 2011 at 6:00 am
    • Posts: 1761

      You can use a mix material to blend a glass material with a logo material: http://www.luxrender.net/wiki/LuxRender_Materials_Mix

      -Jonathan

      #
      32.1
      Jun 24, 2011 at 7:47 am
      • Posts: 59

        Yeah,

        Using vertex groups would probably not be the way you’d want to go, depending on the look you’re going for.
        Looking into UV mapping and using alpha mapping is probably what you’d be wanting.

        By the way, I mentioned above that you can use vertex groups in LuxRender. This is for version 0.8 – I have no idea about previous versions, as I’ve never used LuxRender until recently (so that’s the version I’m using).
        I just thought I’d mention that incase anyone is using an older version and is getting a headache trying to find the options. =P

        #
        32.1.1
        Jun 25, 2011 at 9:35 am
  33. catu
    Posts: 2

    Thank you for answering me so fast !
    I don’t want to mix the jars on this topic , maybe you can find a minute to check the “Creating a bulb part 1″ comments , concerning this and some more ..
    Thanks again !

    #
    33
    Jun 24, 2011 at 9:52 am
  34. Posts: 2

    I’m not really sure where to post this, but I’m having some issues with this tutorial at about 13:30 in the video. Jonathan is explaining the lighting groups for LuxRender in the Blender World configuration. When I click the Add button, it only creates the checkbox and text field. There is no gain option or remove button. I also can’t add any further light groups.

    I’m running Blender 2.58.1 r38019 (64-bit, Windows) with LuxRender 0.8 (64-bit, with OpenCL). LuxRender itself seems to be integrated OK with Blender because when I render image it starts processing it in LuxRender as expected.

    I noticed that when I click the Add button, the console window kicks out this:

    Traceback (most recent call last):
    File “C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\luxrende
    r\ui\world.py”, line 139, in draw
    property_group = lg

    File “C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\modules\
    extensions_framework\ui.py”, line 175, in draw_column
    if not self.check_enabled(control_list_item, property_group):

    File “C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\modules\
    extensions_framework\ui.py”, line 109, in check_enabled
    if lookup_property in property_group.enabled.keys():
    AttributeError: ‘bool’ object has no attribute ‘keys’

    location::-1

    location::-1

    #
    34
    Sep 4, 2011 at 1:31 am
    • Posts: 2

      Actually, disregard this. I ended up figuring it out. Because I’m running 2.58, I apparently had to use the LuxBlend addon referred to in LuxRender’s installation wiki. The one that comes with the LuxRender complete installer apparently doesn’t work.

      #
      34.1
      Sep 4, 2011 at 11:00 pm
  35. Posts: 3

    Thanks for the mad tutorial Jonathan – LuxRender really blows my mind, never knew there were programs that could do this (especially the light modifications while rendering).

    Just a quick tip, you might already know this, but if you want to disable blender going into image mode (with a black image since we’re using luxrender) every time you render, go to Properties panel -> Render settings -> Render -> and change Display from ‘Image editor’ to ‘Keep UI’

    #
    35
    Sep 10, 2011 at 1:47 am
  36. Posts: 24

    This was a great tutorial Jonathan.You managed to combine many simplified aspects and yet provide the user with a very satisfying end result.I have a couple of questions regarding luxrender if someone has the time to point me in the right direction.

    Firstly,several times during the tutorial,you stop a render in Lux and escape it in blender then start rendering again at some point.Each time I do this,a new instance of the Lux GUI is opened and I loose any changes i’ve made to the light settings.I dont think this was the case for you,is there some setting I’m missing.

    Secondly,I noticed that in Lux you have “Threads” set to 8(default seems to be 2).I was wondering if this is important and what it’s relevance is.

    And lastly,does placing a null material on an object make that object completely invisible,as in,preventing it from affecting reflections,shadows etc.If not,is it possible to achieve that.

    I apologize if the answers to any of the above questions are glaringly obvious but this is my first time using an external renderer and to be honest just getting the thing to work proved to be a chore(my own stupidity,not Lux or blenders fault).

    #
    36
    Sep 16, 2011 at 2:27 pm
    • Posts: 1761

      Hi Jan,

      Good questions!

      Firstly, Lux always start a second instance for me as well, I just always exit out of LuxRender before adjust the settings again. Generally I do this with CMD + Q when on a man.

      Next, the threads refer to how many processor cores LuxRender will use while render. Since I have a Quad dual core I run eight threads at a time. LuxRender should default to the number of cores you have in your system.

      Lastly, I believe the Null material should prevent it from showing up in anything, including reflections.

      I hope that helps!

      -Jonathan

      #
      36.1
      Sep 16, 2011 at 2:54 pm
      • Posts: 24

        Thanks for the response Jonathan.Cleared it all up for me.cheers.

        #
        36.1.1
        Sep 16, 2011 at 3:38 pm
  37. Posts: 2

    I can´t see the video on VIMEO please fixx that !

    #
    37
    Oct 9, 2011 at 2:08 pm
  38. Posts: 2

    It was my first tutorial I did in Blender after learning very basics and this was amazing, I’ve learned a lot and got satisfied by my result :)

    #
    38
    Oct 16, 2011 at 3:53 pm
  39. Posts: 11

    Having issues…I know it’s not a battery but I saw the technique and wanted to apply it to a sword. For some reason I can’t get the UV unwrap to work with a material like with the battery label I tried this on the handle with a wood floor picture I had. and the light groups it’s not letting me creating more then one. I click add, but it doesn’t show up so when I render I don’t get a second light to adjust. just the first one :(

    so when I render I am getting ALOT of noise and the image is unclear…

    http://i32.photobucket.com/albums/d3/BlazeLeeDragon/Chang_Dao_Miao_Daoreal.png

    #
    39
    Jan 24, 2012 at 3:56 pm
  40. cyber dieta receitas
    Posts: 1

    It is possible to difference between Computer system Architectural together with Laptop or computer Science?

    #
    40
    Apr 9, 2012 at 6:15 pm
  41. Posts: 7

    Great Tutorial as always.
    I’m having a problem finding the UV Exporter though. It’s at the top of the list in the tutorial…It not their for me. I tried another build and I still don’t see it under UV’s. Help anyone?
    Thanks,

    #
    40.1
    May 24, 2011 at 2:44 pm
  42. Posts: 1761

    Hi Curt,

    UV Export is now included as an addon in the Import/Export category. Enable it and then you will find it in the UVs menu as expected.

    -Jonathan

    #
    40.1.1
    May 24, 2011 at 4:56 pm
  43. Posts: 7

    Excellent.
    Thanks for the help.

    #
    40.1.2
    May 24, 2011 at 8:37 pm

Leave a Comment