From: Pincon Bruno <pincon@iecn.u-nancy.fr>
Subject: Re: Mesa on Alpha/Linux and 3-D scientific plotting
Date: 2000/02/14 [thread overview]
Message-ID: <38A7BFE1.1B72@iecn.u-nancy.fr> (raw)
In-Reply-To: 38A7748F.976E55CB@nospam.com
G. Hugh Song wrote:
>
> Compaq ported Mesa into the rpm format on Alpha/Linux for
> everyone to grab.
>
> I am looking for Fortran-callable graphics routines for
> scientific contour/3-D surface plotting. Does Mesa have
> appropriate routines in the library? It appears Mesa can do
> far more complicated things than just 3-D surface plotting.
>
Mesa is an OpenGl implementation so you use OpenGl
instructions (and also Glut's ones to deal with windows
events : OpenGl do only rendering). If it is relatively
easy to plot some coloured triangles, contour-lines (up to
my knowledge of OpenGl) must be coded. Perhaps you may
find somebody who have already coded some routines which
do the stuff. Nevertheless OpenGl is really a powerfull
way to do every thing about graphics but with some efforts.
Another problem is that OpenGl is for rendering on
a screen. If you can easily grab a window (for instance with
xv) and transfert it in a graphical format (postscript, gif, ...)
the obtained picture have the screen resolution which may be
to low for quality publishing. About this subject you may
found (in the C examples which come with mesa) a routine
which is a postscript driver that used the graphical representation
of an OpenGl object before the last operations (as one of theses
is the hidden faces elimination with the depth buffer algorithm,
the triangular faces have to be ordered so as to obtain this effect
in postscript)
f90 examples codes come with the f90 OpenGl bindings :
http://math.nist.gov/f90gl/
A last point : mesa generaly transforms OpenGl instructions in
X11 instructions (*) and X11 is basically 2d : this means that in this
case, mesa don't use 3d capability of the hardware and rendering may
be
slow (nevertheless it is usable : I am happy to have mesa for my linux
box !).
(*) they are some drivers for some graphical chips (Voodoo, and
others)
and in this case mesa may used 3d capabilities of the graphical board.
---------------------------------------------------
Bruno Pin�on IECN / ESIAL / UHP (Nancy 1)
t�l : 03 83 91 26 80
Email : Bruno.Pincon@iecn.u-nancy.fr
next prev parent reply other threads:[~2000-02-14 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-14 5:00 Mesa on Alpha/Linux and 3-D scientific plotting G. Hugh Song
2000-02-14 5:00 ` Pincon Bruno [this message]
[not found] ` <38A85E61.FE7B7F72@erols.com>
2000-02-14 5:00 ` Jean-Philippe.Perois
2000-02-14 5:00 ` Jean-Philippe.Perois
2000-02-14 5:00 ` Jean-Philippe.Perois
2000-02-14 5:00 ` Jean-Philippe.Perois
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox