Topic: OpenGL Examples
Anybody have a few OpenGL examples similar to what one might see
in the OpenGL SuperBible
Bob
For discussions of all Approximatrix products and related software
You are not logged in. Please login or register.
Approximatrix Forums → User Support → OpenGL Examples
Anybody have a few OpenGL examples similar to what one might see
in the OpenGL SuperBible
Bob
Bob,
There are plenty of resources online for OpenGL in C, which would be available from our C/C++ compiler. However, I suspect you're interested in using OpenGL from Fortran. We don't provide a Fortran wrapper with a stock installation of Simply Fortran for OpenGL. I would suggest trying F03GL with Simply Fortran. It provides a modern Fortran interface to OpenGL functions. Basically, it defines the necessary interfaces to the C functions in Fortran along with defining all the OpenGL constants as parameters.
You can either try compiling it yourself from their home page or, if you have a package manager account, installing our package. Once installed, almost any OpenGL program, translated to Fortran, should work fine.
Does that answer your question? Sorry for the long delay in a response.
Just curious -- Does anyone else have experience using the following ?
F03GL -- modules for using the OpenGL graphics library from Fortran
Copyright 2009 Anthony Stone and Aleksandar Donev
This file is part of f03gl.
f03gl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
--------------------------------
Bob
Hi Bob,
This link may be useful for you, for using F03GL.
http://www.dolfyn.net/dolfyn/f03gl_en.html
Regards
Apoorv
Approximatrix Forums → User Support → OpenGL Examples
Powered by PunBB, supported by Informer Technologies, Inc.