opening some files under OpenGL

Hi all.

Is there any direct way to open a RAW or a DXF file in OpenGL to see a figure saved in these formats?

Thank you.

OpenGL does not understand file formats. It does not deal in file formats. In fact, it does not even have facilities to open files. It is a low-level rendering library.