I had a PM from a forum member with the link to one of Dslyecxi’s videos:
He was asking about the fancy 3D compass on the video and how to make one. I have to admit, it looks quite impressive and also useful. But I don’t know how Dslyecxi did it exactly. However, judging by the results of my own experiments, I probably went in the right direction:
Here is my code:
onEachFrame {
{
_center = positionCameraToWorld [0,0,3];
_x params ["_letter", "_color", "_offset1", "_offset2"];
drawIcon3D [
"",
_color,
_center vectorAdd _offset1,
0,
0,
0,
_letter,
2,
0.05,
"PuristaMedium"
];
drawIcon3D [
"",
_color,
_center vectorAdd _offset2,
0,
0,
0,
".",
2,
0.05,
"PuristaMedium"
];
} count [
["N",[1,1,1,1],[0,1,0],[0,0.5,0]],
["S",[1,1,1,0.7],[0,-1,0],[0,-0.5,0]],
["E",[1,1,1,0.7],[1,0,0],[0.5,0,0]],
["W",[1,1,1,0.7],[-1,0,0],[-0.5,0,0]]
];
};
Mind you, the code is just a mock up to show the principle.
Enjoy,
KK