Hi,
@smso : I have test with your code but don't resolve this problem.
@hybrid : I have set zbuffer to false, and now, the line go black when I am near.
I have search about my orientation problem and why I have 2 line.
I think it's because I have rotate all world mesh by -90,180,0. And now the Y and Z axis are reversed.
If a take my world bounding box (
http://sd-5.archive-host.com/membres/im ... -52-40.png) :
Normally X and Z must be large and Y small but I have for bounding box : Min X: -12.886924, Max X: 13.214664, Min Y: -12.512041, Max Y: 13.214664, Min Z: -0.586996, Max Z: 1.306891
I see also a bug with my bounding box :
http://sd-5.archive-host.com/membres/im ... -39-69.png
RVM
PS : I use .X file
PS2 : my main :
http://pastebin.com/Tx7ZJEc7 (line 192 for ray) and my word loading code :
http://pastebin.com/crNs506m