GottaGoFes / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Inconsistency in notation #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In version 0.4.4 notation has been changed from "color" to "colour" in lamp 
export.

environment node remains with "colorDiffuse", "colorBackground" and 
"colorAmbient" which is inconsistent.

Cheers

Original issue reported on code.google.com by junode...@gmail.com on 1 Jul 2011 at 9:11

GoogleCodeExporter commented 8 years ago
thanks for reporting this, its not only inconsistent, but its not correct 
according to the Ogre DTD.  Fixing in next release.

Original comment by goatman.py@gmail.com on 2 Jul 2011 at 6:42

GoogleCodeExporter commented 8 years ago
I have corrected this and added support for "expDensity" to be taken from 
world.mist_settings.intensity.  There was another bug in fog settings, 
according to the Ogre DTD the options for fog "mode" are: linear, exp, exp2.  
Fog modes are now corrected, setting falloff in blender to "quadratic" gives 
mode "exp", setting "linear" gives "linear" and setting "inverse_quadratic" 
gives mode "exp2".
Fog will also contain "colourR", "colourG" and "colourB" taken from 
world.horizon_color.

Original comment by goatman.py@gmail.com on 2 Jul 2011 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by goatman.py@gmail.com on 27 Jul 2011 at 4:32