Question about mesh visibility based on dot product

Thank you, the explanation and the video attached is really helpful. Finally get the idea of this direction. And the article for Vector math helps me a lot.

I see in your playground, you choose the normal of that box to be (0,0,1).

I did some reading online, most of it is talk about normal as a plane, but how about if I just know the position of the mesh as a dot and need to get the normal of that mesh? How can I get the perpendicular vector I need to do the calculation? Does babylon has some existing method we can use?
image
image
image