Draw projection from a 3d item

asked 2015-02-14 07:31:11 -0600

rafafirenze gravatar image

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.

edit retag flag offensive close merge delete

Comments

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?

FooBar gravatar imageFooBar ( 2015-02-14 08:35:36 -0600 )edit

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

Param-Uttarwar gravatar imageParam-Uttarwar ( 2015-02-14 22:55:46 -0600 )edit

I think I would have to use Unity3D for it

rafafirenze gravatar imagerafafirenze ( 2015-02-15 05:12:41 -0600 )edit