mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-05 09:50:41 +01:00
2928a632a4
This breaks compiling. To have old values replace false with EZW_OFF and true with EWZ_AUTO. There's a bit history to this change. ZWriteFineControl got introduced after 1.8 so it was never in a released version. Basically it was needed after some changes had been made to allow shaders to have zwrite enabled independent of the material-type (which worked badly for shaders). This had caused other problems as it was then enabled too often instead. So to quickly fix those bugs and avoid breaking compatibility I had introduced a new enum ZWriteFineControl in SMaterial. This worked and didn't break compiling - but I noticed by now that introducing a second flag for this made maintainance for an already very hard to understand problem (figuring out the implementation of transparency and zwriting) even more complicated. So to keep maintance somewhat sane I decided to break compiling now and merge those two flags. The behavior should not be affected by this commit - except for users which set this flag already in their code and have to switch to the enum now. Serialization is switched on loading old files (so SMaterial has enum already and writes that out). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6026 dfc29bdd-3216-0410-991c-e03cc46cb475
231 lines
22 KiB
XML
231 lines
22 KiB
XML
<?xml version="1.0"?>
|
||
<irr_scene>
|
||
<attributes>
|
||
<string name="Name" value="" />
|
||
<int name="Id" value="-1" />
|
||
<colorf name="AmbientLight" value="0.000000, 0.000000, 0.000000, 0.000000" />
|
||
<enum name="FogType" value="FogLinear" />
|
||
<colorf name="FogColor" value="1.000000, 1.000000, 1.000000, 0.000000" />
|
||
<float name="FogStart" value="50.000000" />
|
||
<float name="FogEnd" value="100.000000" />
|
||
<float name="FogDensity" value="0.010000" />
|
||
<bool name="FogPixel" value="false" />
|
||
<bool name="FogRange" value="false" />
|
||
</attributes>
|
||
|
||
<node type="animatedMesh">
|
||
<attributes>
|
||
<string name="Name" value="" />
|
||
<int name="Id" value="-1" />
|
||
<vector3d name="Position" value="-88.000000, -300.000000, 150.000000" />
|
||
<vector3d name="Rotation" value="0.000000, 0.000000, 0.000000" />
|
||
<vector3d name="Scale" value="1.000000, 1.000000, 1.000000" />
|
||
<bool name="Visible" value="true" />
|
||
<int name="AutomaticCulling" value="1" />
|
||
<int name="DebugDataVisible" value="0" />
|
||
<bool name="IsDebugObject" value="false" />
|
||
<string name="Mesh" value="../../media/dwarf.x" />
|
||
<bool name="Looping" value="true" />
|
||
<bool name="ReadOnlyMaterials" value="false" />
|
||
<float name="FramesPerSecond" value="0.000000" />
|
||
<int name="StartFrame" value="0" />
|
||
<int name="EndFrame" value="55" />
|
||
</attributes>
|
||
|
||
<materials>
|
||
<attributes>
|
||
<enum name="Type" value="solid" />
|
||
<color name="Ambient" value="ffffffff" />
|
||
<color name="Diffuse" value="ffcccccc" />
|
||
<color name="Emissive" value="ff5d5d5d" />
|
||
<color name="Specular" value="ff000000" />
|
||
<float name="Shininess" value="0.000000" />
|
||
<float name="Param1" value="0.000000" />
|
||
<float name="Param2" value="0.000000" />
|
||
<float name="Thickness" value="1.000000" />
|
||
<texture name="Texture1" value="../../media/axe.jpg" />
|
||
<texture name="Texture2" value="" />
|
||
<texture name="Texture3" value="" />
|
||
<texture name="Texture4" value="" />
|
||
<texture name="Texture5" value="" />
|
||
<texture name="Texture6" value="" />
|
||
<texture name="Texture7" value="" />
|
||
<texture name="Texture8" value="" />
|
||
<bool name="Wireframe" value="false" />
|
||
<bool name="PointCloud" value="false" />
|
||
<bool name="GouraudShading" value="true" />
|
||
<bool name="Lighting" value="false" />
|
||
<enum name="ZWriteEnable" value="Auto" />
|
||
<int name="ZBuffer" value="1" />
|
||
<bool name="BackfaceCulling" value="true" />
|
||
<bool name="FrontfaceCulling" value="false" />
|
||
<bool name="FogEnable" value="false" />
|
||
<bool name="NormalizeNormals" value="false" />
|
||
<bool name="UseMipMaps" value="true" />
|
||
<int name="AntiAliasing" value="1" />
|
||
<int name="ColorMask" value="15" />
|
||
<int name="ColorMaterial" value="1" />
|
||
<int name="BlendOperation" value="0" />
|
||
<float name="BlendFactor" value="0.000000" />
|
||
<int name="PolygonOffsetFactor" value="0" />
|
||
<enum name="PolygonOffsetDirection" value="" />
|
||
<float name="PolygonOffsetDepthBias" value="0.000000" />
|
||
<float name="PolygonOffsetSlopeScale" value="0.000000" />
|
||
<bool name="BilinearFilter1" value="true" />
|
||
<bool name="BilinearFilter2" value="true" />
|
||
<bool name="BilinearFilter3" value="true" />
|
||
<bool name="BilinearFilter4" value="true" />
|
||
<bool name="BilinearFilter5" value="true" />
|
||
<bool name="BilinearFilter6" value="true" />
|
||
<bool name="BilinearFilter7" value="true" />
|
||
<bool name="BilinearFilter8" value="true" />
|
||
<bool name="TrilinearFilter1" value="false" />
|
||
<bool name="TrilinearFilter2" value="false" />
|
||
<bool name="TrilinearFilter3" value="false" />
|
||
<bool name="TrilinearFilter4" value="false" />
|
||
<bool name="TrilinearFilter5" value="false" />
|
||
<bool name="TrilinearFilter6" value="false" />
|
||
<bool name="TrilinearFilter7" value="false" />
|
||
<bool name="TrilinearFilter8" value="false" />
|
||
<int name="AnisotropicFilter1" value="0" />
|
||
<int name="AnisotropicFilter2" value="0" />
|
||
<int name="AnisotropicFilter3" value="0" />
|
||
<int name="AnisotropicFilter4" value="0" />
|
||
<int name="AnisotropicFilter5" value="0" />
|
||
<int name="AnisotropicFilter6" value="0" />
|
||
<int name="AnisotropicFilter7" value="0" />
|
||
<int name="AnisotropicFilter8" value="0" />
|
||
<enum name="TextureWrapU1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU8" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV8" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW8" value="texture_clamp_repeat" />
|
||
<int name="LODBias1" value="0" />
|
||
<int name="LODBias2" value="0" />
|
||
<int name="LODBias3" value="0" />
|
||
<int name="LODBias4" value="0" />
|
||
<int name="LODBias5" value="0" />
|
||
<int name="LODBias6" value="0" />
|
||
<int name="LODBias7" value="0" />
|
||
<int name="LODBias8" value="0" />
|
||
</attributes>
|
||
<attributes>
|
||
<enum name="Type" value="solid" />
|
||
<color name="Ambient" value="ffffffff" />
|
||
<color name="Diffuse" value="ffcccccc" />
|
||
<color name="Emissive" value="ff4e4e4e" />
|
||
<color name="Specular" value="ff000000" />
|
||
<float name="Shininess" value="0.000000" />
|
||
<float name="Param1" value="0.000000" />
|
||
<float name="Param2" value="0.000000" />
|
||
<float name="Thickness" value="1.000000" />
|
||
<texture name="Texture1" value="../../media/dwarf.jpg" />
|
||
<texture name="Texture2" value="" />
|
||
<texture name="Texture3" value="" />
|
||
<texture name="Texture4" value="" />
|
||
<texture name="Texture5" value="" />
|
||
<texture name="Texture6" value="" />
|
||
<texture name="Texture7" value="" />
|
||
<texture name="Texture8" value="" />
|
||
<bool name="Wireframe" value="false" />
|
||
<bool name="PointCloud" value="false" />
|
||
<bool name="GouraudShading" value="true" />
|
||
<bool name="Lighting" value="false" />
|
||
<enum name="ZWriteEnable" value="Auto" />
|
||
<int name="ZBuffer" value="1" />
|
||
<bool name="BackfaceCulling" value="true" />
|
||
<bool name="FrontfaceCulling" value="false" />
|
||
<bool name="FogEnable" value="false" />
|
||
<bool name="NormalizeNormals" value="false" />
|
||
<bool name="UseMipMaps" value="true" />
|
||
<int name="AntiAliasing" value="1" />
|
||
<int name="ColorMask" value="15" />
|
||
<int name="ColorMaterial" value="1" />
|
||
<int name="BlendOperation" value="0" />
|
||
<float name="BlendFactor" value="0.000000" />
|
||
<int name="PolygonOffsetFactor" value="0" />
|
||
<enum name="PolygonOffsetDirection" value="" />
|
||
<float name="PolygonOffsetDepthBias" value="0.000000" />
|
||
<float name="PolygonOffsetSlopeScale" value="0.000000" />
|
||
<bool name="BilinearFilter1" value="true" />
|
||
<bool name="BilinearFilter2" value="true" />
|
||
<bool name="BilinearFilter3" value="true" />
|
||
<bool name="BilinearFilter4" value="true" />
|
||
<bool name="BilinearFilter5" value="true" />
|
||
<bool name="BilinearFilter6" value="true" />
|
||
<bool name="BilinearFilter7" value="true" />
|
||
<bool name="BilinearFilter8" value="true" />
|
||
<bool name="TrilinearFilter1" value="false" />
|
||
<bool name="TrilinearFilter2" value="false" />
|
||
<bool name="TrilinearFilter3" value="false" />
|
||
<bool name="TrilinearFilter4" value="false" />
|
||
<bool name="TrilinearFilter5" value="false" />
|
||
<bool name="TrilinearFilter6" value="false" />
|
||
<bool name="TrilinearFilter7" value="false" />
|
||
<bool name="TrilinearFilter8" value="false" />
|
||
<int name="AnisotropicFilter1" value="0" />
|
||
<int name="AnisotropicFilter2" value="0" />
|
||
<int name="AnisotropicFilter3" value="0" />
|
||
<int name="AnisotropicFilter4" value="0" />
|
||
<int name="AnisotropicFilter5" value="0" />
|
||
<int name="AnisotropicFilter6" value="0" />
|
||
<int name="AnisotropicFilter7" value="0" />
|
||
<int name="AnisotropicFilter8" value="0" />
|
||
<enum name="TextureWrapU1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapU8" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapV8" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW1" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW2" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW3" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW4" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW5" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW6" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW7" value="texture_clamp_repeat" />
|
||
<enum name="TextureWrapW8" value="texture_clamp_repeat" />
|
||
<int name="LODBias1" value="0" />
|
||
<int name="LODBias2" value="0" />
|
||
<int name="LODBias3" value="0" />
|
||
<int name="LODBias4" value="0" />
|
||
<int name="LODBias5" value="0" />
|
||
<int name="LODBias6" value="0" />
|
||
<int name="LODBias7" value="0" />
|
||
<int name="LODBias8" value="0" />
|
||
</attributes>
|
||
</materials>
|
||
</node>
|
||
|
||
</irr_scene>
|
||
|