irrlicht/tests
cutealien 473ab1ea58 Unify checks if materials should use transparent render pass with new IVideoDriver::needsTransparentRenderPass function.
Fix bug that AnimatedMeshSceneNode ignored ReadOnlyMaterials flag when checking materials for transparent render passes.
Make IVideoDriver::getMaterialRenderer const.
Fix bugs in COctreeSceneNode, CMeshSceneNode and CAnimatedMeshSceneNode where check for transparency in OnRegisterSceneNode() and in render() where no longer identical (those got added after Irrlicht 1.8).

Some notes for future:
- Maybe we should have a getRenderPass instead of just needsTransparentRenderPass, but this way the code didn't need so much changes and behaves (aside from fixes) pretty much as before.
- Still wondering if the default implementation in CNullDriver::needsTransparentRenderPass should always return false when SMaterial.ZWriteEnable is set to EZW_ON.
  This might be nicer with another material flag. Thought then we might want a material enum to choose the renderpass and that's more work.
  And we get some recursion as needsTransparentRenderPass might want to check result of getWriteZBuffer which calls needsTransparentRenderPass, so we might need a second function or an additional flag there.
  But return false when SMaterial.ZWriteEnable == EZW_ON could still be done as EZW_ON is a new flag so existing behavior shouldn't break. I just don't know right now if having an extra render pass for transparent nodes might still make sense even when zbuffer is not written or if that's really the only reason to do that. Any feedback anyone?



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6033 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-01-03 11:13:57 +00:00
..
empty/empty Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
media Material.ZWriteEnable is now of type E_ZWRITE instead of bool and ZWriteFineControl get removed (or merged into ZWriteEnable). 2020-01-02 15:34:52 +00:00
2dmaterial.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
anti-aliasing.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
archiveReader.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
b3dAnimation.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
billboards.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
burningsVideo.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
collisionResponseAnimator.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
color.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
coreutil.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
createImage.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
cursorSetVisible.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
disambiguateTextures.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
draw2DImage.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
drawPixel.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
drawRectOutline.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
drawVertexPrimitive.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
enumerateImageManipulators.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
exports.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
fast_atof.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
filesystem.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
flyCircleAnimator.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
guiDisabledMenu.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
ioScene.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
irrArray.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
irrCoreEquals.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
irrList.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
irrMap.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
irrString.cpp Update irrString test due to split changes in r6007 2019-12-16 16:51:30 +00:00
lightMaps.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
lights.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
line2d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
loadTextures.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
main.cpp Material.ZWriteEnable is now of type E_ZWRITE instead of bool and ZWriteFineControl get removed (or merged into ZWriteEnable). 2020-01-02 15:34:52 +00:00
makeColorKeyTexture.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
Makefile Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
material.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
matrixOps.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
md2Animation.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
meshLoaders.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
meshTransform.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
mrt.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
orthoCam.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
planeMatrix.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
projectionMatrix.cpp Material.ZWriteEnable is now of type E_ZWRITE instead of bool and ZWriteFineControl get removed (or merged into ZWriteEnable). 2020-01-02 15:34:52 +00:00
removeCustomAnimator.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
renderTargetTexture.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
sceneCollisionManager.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
sceneNodeAnimator.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
screenshot.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
serializeAttributes.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
skinnedMesh.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
softwareDevice.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
stencilshadow.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
terrainSceneNode.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testaabbox.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testDimension2d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testGeometryCreator.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testLine2d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testQuaternion.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testS3DVertex.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc10.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc10.vcxproj Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc11.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc11.vcxproj Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc12.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc12.vcxproj Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc14.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests_vc14.vcxproj Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests-last-passed-at.txt Unify checks if materials should use transparent render pass with new IVideoDriver::needsTransparentRenderPass function. 2020-01-03 11:13:57 +00:00
tests-readme.txt Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests.cbp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
tests.workspace Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testUtils.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testUtils.h Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testVector2d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testVector3d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
testXML.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
textureFeatures.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
textureRenderStates.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
timer.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
transparentMaterials.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
triangle3d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
triangleSelector.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
userClipPlane.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
vectorPositionDimension2d.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
videoDriver.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
viewPort.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
writeImageToFile.cpp Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00