Original Post
Hy.
I have some mesh to display , and i would show a selection rectangle over the selected mesh to simplify.
I have the 8 points of rectangular bounding box for mesh.
I think to create a vertex buffer from bounding box and send it to a phong shader with element type :lines.
But how create a better selected bounding box?
you have a link?or advice? .
Thanks.
I have some mesh to display , and i would show a selection rectangle over the selected mesh to simplify.
I have the 8 points of rectangular bounding box for mesh.
I think to create a vertex buffer from bounding box and send it to a phong shader with element type :lines.
But how create a better selected bounding box?
you have a link?or advice? .
Thanks.