Using ldraw_radiosity.Inc - Version 3.0 Beta - 6-12-2004
Using these files is on your own risk.
Full credits go to Jeroen de Haan who has been working on this for more than two years.
To render your models you will need a tool that can convert LDraw files to POV-Ray (L3P) or directly write POV files from LDraw (LDView or L3Lab) and ofcourse POV-Ray.
Open POV-Ray. Choose "Edit master POVRAY.INI" from the Tools Menu. Now Notepad opens with the POVRAY.INI file. Scroll to the bottom of the file. Add the line "Library_Path=C:\cust_inc" (without the quotes) after the other lines starting with "Library_Path=...". Save the file, quit Notepad and quit POV-Ray.
Easy: yes or no radiosity. Radiosity off is default.
The LDraw radiosity files make use of POV-Rays own rad_def.inc file. Eleven types of radiosity are defined. Please have a look at this page to see the differences. Or open the rad_def.inc file in a text editor.
The settings are rather good AND fast. I use the Final setting a lot and it is much faster than the old radiosity files. Dunno the difference between the Indoor and Outdoor settings.
Two settings are added; Anton Raves' setting (which is fairly clean and fast) and Nico Kaiser's setting which is optimised for 2 pass rendering (see below).
Radiosity normal means if a material has bumps, radiosity will take these in account. I am not sure but think this will slow down rendering a bit. See this page for more info on radiosity and normals.
Media is used to create dusty rooms or underwater. Media itself will slowdown rendering so expect very slow rendering with media and radiosity...
The max_trace_level (MTL) is a radiosity setting which you need when you have transparant objects in your scene. If you don't POV-Ray will render black spots around the transparant objects random artifacts. Read the (online) POV-Ray manual for more information. When set to 0 (default) the scene will render fast but you will notice black spots all over the place. You can use this setting for test renders. Radiosity setting 11 and 12 have there own MTL (see notes).
Brightness and gamma will change the overall lightness of your image. Brightness will make all colours whiter equaly while gamma only affects the midtones. Plus with gamma you also can make things darker. Best is to use gamma; 2.2 is default, 1.8 will brighten things up a lot. If you dont want to change (or don't have any) lights in your scene this does the job.
// Colour Library
// 0 = Standard L3P or LGEO colours
// 1 = Jeroen's Colour Library [default]
// 2 = Todd's Colour Library
#declare COLOUR_LIBRARY = 1;
This is rather important. Depending on using radiosity or not and using LGEO or not you should choose a library.
Option 0 (zero) supports LGEO but looks a bit flat.
Option 1 supports LGEO, looks good with radiosity but not all colors are defined (when a color is not defined the standard L3P/LGEO color will be used).
Option 2 can be used with LGEO parts and but looks good with radiosity (a bit washed out sans radiosity IMHO) and all LDraw colours are defined and look very good. Read more about Todd's colors here.
Variable reflection means that on round objects (spheres and cylinders) the reflection on the front (where you face the object direct) reflection will be less than on the sides of the object. Slows rendering down as hell but is worth it if you want realism. (Works only when using color library 1).
Easy, choose for a white sky sphere, a simple cloudy sky or no sky sphere so you can insert one yourself. Option 3 is like option 1 but will create grey shadows instead of blueish ones.
Index of refraction is the amount of distorion of light through a transparant object. L3Ps IOR = 1.2 which is actually a bit too low, but IOR will have the most effect on LGEO parts and will only work when using color library 1.
What you do is you do a first pass render on low resoluton without anti-aliasing and a second render on high resolution with anti-aliasing.
For example: you want a 800 x 600 pixel render. First you render on 400 x 300 pixel resolution without anti-alias. Note the the render will look a bit odd; transparant parts will look different, LGEO slopes will look like LDraw slopes and even if you have the logo on stud option on, the are not there! This is right and will all work when rendering in the second pass. Change the parameter to 2, set the resolution to 800 x 600 and render again (NOTE: make shure that you don't have the +C (continue render) in the POV-Ray command line but that it is set to -C!). You notice that POV-Ray skips the mosaic-render and starts right away. You also notice that the transparants and LGEO slopes will look right and the logo does appear on the studs!
The idea behind this is that you calculate all the radiosity information in the first render, things like bumps (LGEO slopes), transparancy, logo's and anti-aliasing aren't important here, what counts is colour. But you don't have to think about it either; the radiosity files will turn of the slope-bumps, the logo and some other options. All you have to do is to change the LDRAW2PASSRENDER-parameter and the resolution.
For power users: if you use camera blur and/or spotlights you can turn these option off in the first pass and turn them back on in the second pass.
All this is done to speed up rendering.
This should be left alone. Else it won't work.