Until then, everything work in any screen resolution. I can put some IBillboardSceneNode (cards of a card game) anywhere in my 1000x1000 world and every nodes are always visible and at good position (and good size). My camera can see between near value = 0 and far value = 500.
When a node has a Z-value higher than 500, I cannot see it as expected. This value must be between 0 and 500. But, if this value "change" between 0 and 500, I expect the BILLBOARD to be smaller or bigger (the node is more close or more far away from my camera) !!!
It does not work !
Other thing... If a put many billboard and each one is behind another billboard (example: like a set of cards in a hand), the result is "random".
Example for 2 cards only:
-----------------------------
For 2 billboard, the first one has a Z-value of 10 and the second billboard has a Z-value of 20 (x value a little bit to the right to see both card).
The second billboard is in front of the first a little bit to the right ! It is supposed to be in the back. If I interchange the z-value of both billboards (first billboard Z = 20, second billboard Z = 10), it does not change anything !!! I tried many thing and the results are strange.
My Z value of all billboard material are enable.
Is there something that I don't understand with Z Buffer, viewport and OrthogonalMatrix for projection ?
Thanks.
