Using Wavefront OBJ/SPL "meshes" directly in OpenCV
I have a need to "render" a 3d MeshLab produced mesh in OpenCV directly - this can be exported in Waveform obj, ply, stl, off, wrf, dxf, dae, ctm, xyz, gts, json, u3d, idtf or x3d "formats").
At the moment, I'm having to load a .obj file into my C++ application using OpenGL which then "insists" on having a windowing environment to render to (which cannot be provided on the server) - however, I just need a Jpeg or similar file produced (I'll be really happy with having a standard cv::Mat produced)
My question, therefore, is: Is there any way of producing an image file with a 3d mesh within OpenCV itself without the use of third party libraries? [I do have the need to be able to plot it, and other details, in "3d" space]?
why use opencv for this ? do you just need some basic 3d->2d rendering, and did not find anything else ?
wavefront, not waveform, btw.
I use OpenCV for the rest of the image processing and manipulation and it made sense to keep it all within OpenCV instead of using even more applications. Thanks for the Wavefront/form correction btw.
there are ways to render to an off-screen context, unfortunately they are all os specific, and far beyond the scope of this page..
@richyb have you solved your problem? I have a similar one
Hi, I meet the same problem. Have u solved it?
@sublimation , please do not post answers here, if you have a question or comment, thank you.
OK! I am so sorry for that. Please forgive me,I am only a fresh student and I do not know the rule!