OpenGL and Jade
Posted: Fri Aug 07, 2009 2:33 pm
by Jens Richnow >> Thu, 8 Mar 2001 0:56:12 GMT
For the last few days I had a look into OpenGL and wanted to incorporate OpenGL capabilities into Jade. Initially, we require 3D charts such as Bar Graphs and Pies which can be rotated. However, that would only be the starting point for things I want to do in Jade using OpenGL.
Since the OpenGL32.dll is not a "standard" library (i.e., it can not be registered and used as an ActiveX) function calls are to be done via external function calls. I used a very simple VB example (rotating cube) and "ported" that to Jade (for both see attached zips). VB has to use a type library, for a similar reason than Jade. I suppose the type library acts as a "wrapper" for the OpenGL and all other involved libraries (such as Glu32 etc.)
I closely followed the VB example (please refer to the FrmCubeTest, or CubeTest application) and double checked all constant values and external function calls. However, it does not work but I can't see a reason why it should not work.
Does somebody has some experiences with OpenGL in Jade or
could you please help me witht the problem? Since OpenGL is one of the industry standards for visualisation we should be able to use it in Jade and take advantage of the capabilities without re-inventing the wheel.
--
Jens Richnow
Project Manager/Analyst/Programmer
GenzTech Limited
Level 2 160 Cashel Street, P.O.Box 4281,
Christchurch, New Zealand
Tel : 0064 3 366 3020, Fax: 0064 3 366 3599
Email: jrichnow@genztech.com
Website: http://www.genztech.com/
CAUTION: Please note that this email and accompanying data may contain information that is confidential and subject to legal priviledge. If you are not the intended recipient you are notified that any use, dissemination, distribution, or copying of this message, or data is prohibited. If you have received this email message in error please notify us immediately and erase all copies of the message and attachments. Thank you.
For the last few days I had a look into OpenGL and wanted to incorporate OpenGL capabilities into Jade. Initially, we require 3D charts such as Bar Graphs and Pies which can be rotated. However, that would only be the starting point for things I want to do in Jade using OpenGL.
Since the OpenGL32.dll is not a "standard" library (i.e., it can not be registered and used as an ActiveX) function calls are to be done via external function calls. I used a very simple VB example (rotating cube) and "ported" that to Jade (for both see attached zips). VB has to use a type library, for a similar reason than Jade. I suppose the type library acts as a "wrapper" for the OpenGL and all other involved libraries (such as Glu32 etc.)
I closely followed the VB example (please refer to the FrmCubeTest, or CubeTest application) and double checked all constant values and external function calls. However, it does not work but I can't see a reason why it should not work.
Does somebody has some experiences with OpenGL in Jade or
could you please help me witht the problem? Since OpenGL is one of the industry standards for visualisation we should be able to use it in Jade and take advantage of the capabilities without re-inventing the wheel.
--
Jens Richnow
Project Manager/Analyst/Programmer
GenzTech Limited
Level 2 160 Cashel Street, P.O.Box 4281,
Christchurch, New Zealand
Tel : 0064 3 366 3020, Fax: 0064 3 366 3599
Email: jrichnow@genztech.com
Website: http://www.genztech.com/
CAUTION: Please note that this email and accompanying data may contain information that is confidential and subject to legal priviledge. If you are not the intended recipient you are notified that any use, dissemination, distribution, or copying of this message, or data is prohibited. If you have received this email message in error please notify us immediately and erase all copies of the message and attachments. Thank you.