OpenGL

Hi, opengl32.dll as it is in my windows 2000 systemdirectory doesn't export the function MetaGraphicDriverFactory. MySharedLibrary.DlSymb ("MetaGraphicDriverFactory"); fails what can I do?

thanks in advance

Gerhard

Michael Gandyra's picture

Search the archive using keyword "opengl" !!!!

Regards,

Michael

------------------------------------------------------------------

University of Kaiserslautern

Research Group for Computer Application in Engineering Design

------------------------------------------------------------------

Gerhard Hofmann's picture

Thank you Michael, actually I must be missing some documentation. While debugging I found a call to "LoadLibrary" with the contents of the environment variable "CSF_GraphicShr". In the archive i found that I should set this variable to the path of the opengl dll. The misunderstanding was, that the opengl wrapper of CASCADE was meant and I thought the opengl dll of the system should be provided.

Now after a while I succeeded in writing a little program to display a line and a circle (V3d_Viewer, AIS_InteractiveContext and so on). But when trying to display a AIS_Trihedron I got a exception, that I could fix by setting the environment variables CSF_UnitsLexicon and CSF_UnitsDefinition. Where are those variables documented? Or is it just the source code, which documents it all?

Thanks again for any answer

Gerhard

Michael Gandyra's picture

Read the FAQ's !!! http://www.opencascade.org/needhelp/faq.html

Regards,

Michael

------------------------------------------------------------------

University of Kaiserslautern

Research Group for Computer Application in Engineering Design

------------------------------------------------------------------