Software Archive
Read-only legacy content
17060 Discussions

Visual Fortran & OpenGL

Intel_C_Intel
Employee
828 Views
Hi ,
I have a grant in AZTI (San Sebastin, Spain), a technological institute. I'm trying to understand the possibility on programming in Visual Fortran 6.5 to perform graphical elements in OpenGl diectly without passing through Visual Basic or C. It seems possible but I can't find something teaching from the beginning how to use OpenGl by Visual Fortran (althought there are some example in the Fortran CD). I'm particularly interested on creating grids of elements and paint bathymetries, maps, 2D and 3D velocity vectors and things like that. Could yoy say me anything about this (books, material, courses, tutorial..)? It would be very kind of you.
Ciao,
Paolo Gyssels
0 Kudos
1 Reply
Steven_L_Intel1
Employee
828 Views
The book I like best is "OpenGL SuperBible" from Waite Group Press (from a Visual C perspective, but the concepts are easily translatable to Fortran). It covers using OpenGL on Windows via the Win32 API. This is what Visual Fortran supplies interfaces to in its DFOPNGL module.

You can also consider using the f90GL library and interfaces described at http://math.nist.gov/f90gl/ This is an interface to OpenGL that is more Fortran-friendly, though the regular API isn't particularly hard to use.

Steve
0 Kudos
Reply