Yes, very useful that guide, thanks. I'm trying to adapt the lines of code mentioned there (like the one you mention, 7.6 Radiosity) to the .pov file exported from Stud.io.
But I had some trouble, because the .pov file, already has a macro for lights: WriteLight(0, 0, 1, 0, 200, 5) . If I remove that macro (see line below), somehow the rendering fails.
I'm trying to understand more of the POV-ray language to find whats happening. I will post this question in the guide you provide me.
#macro WriteLight(Lat, Lon, LightPower, Shadowless, AreaLightWidth, AreaLightColumns)
#local latRad = radians(Lat);
#local lonRad = radians(-Lon)-CameraTheta;
#local sinLat = sin(latRad);
#local cosLat = cos(latRad);
#local sinLon = sin(lonRad);
#local cosLon = cos(lonRad);
#local lightVectorSize = 4.0*LDXRadius;
light_source {
<lightVectorSize*((-sinLon)*cosLat),lightVectorSize*(-sinLat),lightVectorSize*(-cosLon)*cosLat> + LDXCenter
color rgb <1,1,1>*LightPower
#if (Shadowless = 0)
#if (AreaLightWidth > 0)
area_light AreaLightWidth, AreaLightWidth, AreaLightColumns, AreaLightColumns
adaptive 1
jitter
circular
orient
#end
#else
shadowless
#end
}
#end
// Lights
// camera fai = 0
// camera theta = 0
WriteLight(0, 0, 1, 0, 200, 5)