Sometimes materials with key color transparency are not drawn transparent (see 3p.jpg). I would guess it is a missing initialization somewhere, since the bug sometimes shows and sometimes not. I tried to find the source of the problem, but I got lost somewhere in the texture creation. Loading the PNG seems ok, the image loader correctly recognizes the transparent color.

I thought I had seen some comment previously on the mailing list, but I can't find it.


Some other really strange bug shows with dynamical created genmesh factories. To show a 3D representation of a function I use a dynamical created and modified triangle strip. I have 3 function representations, all created with exactly the same code, only with different materials. But one of them (always the same) loses its material in strange ways. Sometimes its completely black, sometimes only some vertices are black, sometimes all is fine. The attached image 4p.jpg shows the bug with the green mesh, the blue and cyan meshes are allways drawn correct. Changing the material does not change the behaviour.

These errors both show with the pseudo stable release and the cvs snapshot from Saturday 12. My code works fine with a snapshot from last December.


In the Saturday 12. snapshot the shader seem to be broken, running isotest.exe gives the following output:

crystalspace.graphics3d.shadercompiler.xmlshader: snippets/fog-mappings.inc: no <include> node crystalspace.graphics3d.shadercompiler.xmlshader: snippets/fog-fvp.inc: no <include> node crystalspace.graphics3d.shadercompiler.xmlshader: snippets/fog-ffp.inc: no <include> node crystalspace.graphics3d.shadercompiler.xmlshader: snippets/fog-pass.inc: no <include> node

crystalspace.engine.notify:
  Lightmaps are not up to date (no 'lm_precalc_info' found in cache).
  Recalculation of lightmaps forced.
  Initializing lighting (25 meshes).
  Shining lights (2 lights).
  Time taken: 0.0200 seconds.

crystalspace.graphics3d.shader.fixed:
  Multitexture units: moderate 4

crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader 'shadowextrude', pass 0 has no texture mappings


I'm using a MSDEV 7.0 Build on Windows 2000.

Philipp

<<attachment: 3p.jpg>>

<<attachment: 4p.jpg>>

Reply via email to