Hi!! a new question!!
I have next code:
if (!wireframe)
{
cursorMouse.setVisibility(false);
shadowHelper.updateShadowMap();
buffer.clear(java.awt.Color.GRAY);
shadowHelper.drawScene();
}
else
{
buffer.clear(java.awt.Color.BLACK);
world.drawWireframe(buffer, colorWireFrame);
}
buffer.update();
buffer.displayGLOnly();
canvas.repaint();
cursorMouse.setVisibility(true);
}
NOTE: CursorMouse is a Object3D instance.
Ok, the problems...
1) I can´t switch to wireframe mode, it only draw a black screen.
2) cursorMouse is displayed in any frames, in another frames is displayed his shadow only (but cursorMouse is not added to shadowHelper (not set to addcaster or addreciver), and in another cases, both are displayer, geometry with texture and shadow. Why? Its is set not visible before render and set visible after render. (it is always in mode non-selectable).
Thanks!!!