OpenGL and Jade

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

OpenGL and Jade

Postby ConvertFromOldNGs » 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.
Attachments
1897_2.zip
(31.21 KiB) Downloaded 157 times
1897_1.zip
(9.42 KiB) Downloaded 202 times

Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 21 guests