I had some time to investigate the problem with Alpha Background today.
The change that you made in your first E Release 1.0.0 is what caused a problem with Wings3D.
If we add the following to all of the lighting methods it fixes the Alpha Background problem for Wings3D. println(F, "<bg_transp bval=\"true\"/>"),
See in context below.
Even with this fix, the "Transp Refraction" option is still not working the way it did in 0.1.99 Beta 4. To see the difference, compare results between version 0.1.99 and any E version.
Maybe an option needs to be added for turning bg_transp on or off???
Thanks,
oort
The change that you made in your first E Release 1.0.0 is what caused a problem with Wings3D.
Quote:Now, if there are no parameters set in the XML for transparent background or transparent refracted background, their default values will be "false" and not "true" as until now. This will avoid confusion due to the new way "transparent refracted background" works, not rendering the background at all so volumes rendered against a transparent background do not carry "remains" of the background with them.
If we add the following to all of the lighting methods it fixes the Alpha Background problem for Wings3D. println(F, "<bg_transp bval=\"true\"/>"),
See in context below.
Even with this fix, the "Transp Refraction" option is still not working the way it did in 0.1.99 Beta 4. To see the difference, compare results between version 0.1.99 and any E version.
Maybe an option needs to be added for turning bg_transp on or off???
Thanks,
oort
Quote: case Lighting_Method of
directlighting ->
println(F," "),
println(F, "<type sval=\"~s\"/>",[Lighting_Method]),
println(F, "<bg_transp bval=\"true\"/>"),
println(F, "<bg_transp_refract bval=\"~s\"/>",[format(BackgroundTranspRefract)]),
println(F, "<raydepth ival=\"~w\"/>",[Raydepth]),
println(F, "<transpShad bval=\"~s\"/>",[format(TransparentShadows)]),
println(F, "<shadowDepth ival=\"~w\"/>",[ShadowDepth]),
println(F," ");