OpenGL and Database

Greetings
Can anyone point me to a tutorial that I can learn how to connect OpenGL to a ODBC database? I would like to have variables in the OpenGL that are defined by the values in the database.
thanks in advance.
scot thrane

OpenGL is a 3D graphics API and so doesn’t know anything about databases…

You will have to code the part that reads the database and use OpenGL for rendering. Then, if you modify your objects on the screen, you will have to write the code that modifies the database accordingly…

There is no way to tell OpenGL : render what is in that database…

Unfortunately, I have no link to such a thing but reading an ODBC database on Windows is not so difficult. Neither is using OpenGL to retrieve the data !!!

Best regards.

Eric

I am working on the same thing please contact me
davidj@cat.pdx.edu

Originally posted by Thrane:
Greetings
Can anyone point me to a tutorial that I can learn how to connect OpenGL to a ODBC database? I would like to have variables in the OpenGL that are defined by the values in the database.
thanks in advance.
scot thrane