Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 601

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 601

Warning: Parameter 2 to M_DataMapper::set_custom_wp_query_where() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 291

Warning: Parameter 2 to M_DataMapper::set_custom_wp_query_groupby() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 291

Warning: Parameter 2 to M_DataMapper::set_custom_wp_query_fields() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 291

Warning: Parameter 2 to M_DataMapper::set_custom_wp_query() expected to be a reference, value given in /www/htdocs/v145323/studio/wp-includes/plugin.php on line 291
Lux render second try

Lux render second try

The more I play around with Lux render, the more I like it. Two main reasons for that: first, you can fairly easily achieve convincing result because of the good material presets it brings along, second, it’s got super nice network rendering capabilities.

So in this post I want to show you the newest project I’ve been doing using Lux render. While browsing the web looking for inspiration for photography (see last post) I stumbled upon this image by Derek Cooper:

Wine bottle and glass photograph by Derek Cooper

Inspirational image by Derek Cooper

This is a rather simple scene consisting only of the bottle, the glass, a flat table and a background. Even though content-wise it is simple, the lighting and slight depth of field effect make it a challenging subject for photography and more so for rendering. But that also makes it a perfect practice subject for playing around with a raytracer like lux. Modeling effort required is rather low and so you can pretty soon concentrate on getting the light and dof right.

Scene setup in Blender

Modeling this scene in Blender is very easy. I just used the image as a background image, traced the outline of the bottle and the glass with a polygon and then spin duplicated it from the top view to get a complete mesh. After that I cut off the top of the bottle (the blue part), as this would get a different material. I also added a subdivision modifier to each object to get it nice and smooth. The label of the bottle is an extra mesh that I bent using a shrinkwrap modifier onto the bottle. The glass is pretty much the same, I cut off the filled part and made it a unique mesh with the same material as the main part of the bottle. The table is just a plane textured with some wood texture. The background is a L-shaped mesh with an added subdivision modifier to make it like the typical background piece of table top photography. I then added two light sources and that’s about it (compare the setup shot below and download the .blend file at the end of the article). Next thing is the material setup in lux.

I set up the materials as follows:

  • Bottle (main part): Rough glass with slightly yellow transitional
  • Bottle (top): Matte blue (should probably be a tiny bit glossy)
  • Glass (filled part): same as bottle main
  • Glass (unfilled part): Glass (standard)
  • Table: Matte with wood texture
  • Background: Matte, grey

The result of this can be seen below. I set the output resolution to 1024×768 then cropped the final image. As lux keeps improving the image as long as you let it a good result can take quite some time. I used four machines in total, my laptop and three remote machines to render this in network mode. Total render time is approx. 16 hours. As you can see the render does not totally match the original image in lighting and materials. I find it pretty hard to adjust the lighting with lux as it takes quite a lot of time to see the first results. I guess this needs more experience. The different materials also would need more tweaking, especially a liquid filled glass bottle probably needs a different approach. Next time I’ll try to model the liquid as a separate mesh and see if this looks better. Maybe one can also get away with a more sophisticated glass material. Anyway it was fun and these kinds of scenes are great training for getting to know lux!

Final image rendered with Lux render

Download the Blender file here: Lux render example scene -

Note: textures are not included in the .blend file. The file is provided under a Creativ Commons License
Creative Commons License
Lux render test von Alexander Kasper steht unter einer Creative Commons Namensnennung-Keine kommerzielle Nutzung 3.0 Deutschland Lizenz.
Beruht auf einem Inhalt unter www.derekcooper.com.
Über diese Lizenz hinausgehende Erlaubnisse können Sie unter http://studio.jumpers-inn.de erhalten.

Posted in Blender Modeling, Raytracing, Tutorials Tagged , , .

2 Comments

  1. Vicco 23/06/2010 at 09:58 #

    Hi Jumper,
    yes, that looks pretty amazing, great render-results!

    Cool idea would be to try to transfer this lighting setup to the real world and to do a comparison. Looking forward to results! :-)

    cheers
    Vicco

  2. LiMuBei 23/06/2010 at 10:37 #

    Pretty cool idea! Will have to find some real world objects, model them and create a similar scene. Then recreate that and take a photo.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
*