Draw projection from a 3d item
Hello.
I'm completely lost in this argument.
I know that if I want to draw a 3d item in OpenCV, I have to do a projection, but how do I load an item in 3d? For example, for 2d, a .png would be great. For 3d... what should I load in order to make the projection ???
Thank you, and sorry for being so basic. Cheers.
So far I haven't seen a function for loading 3d objects in OpenCV. I guess you just have to find a fitting library than can open your files or write something yourself. In which format are your 3f files?
You can check for PCL (Point Cloud Library). It has functions to work on 3d objects (point clouds).Get a projection from any viewpoint by PCL , convert it into back to an image , then use OpenCV functions . Its a lot of work , dont know if there is any function that load 3d objects directly in OpenCV
I think I would have to use Unity3D for it