|
From: Robert H. <en...@no...> - 2005-08-18 20:10:38
|
Have you confused the povray terminal and the opengl terminal?
I thought the povray terminal just dumped a povray file that you could
later render in povray?
Anyway the issue with the glut library is as follows:
The "standard" glut, i.e. the one distributed by SGI and in common usage
on many platforms, is written under the assumption that your program
registers a number of event handlers and then pass control over to glut.
This is a limitation that makes it hard to add glut based opengl on to
existing programs, or programs where another toolkit is used for another
part of the interface.
freeglut (and I thought openglut) work around this problem by allowing you
to do a single pass through the glut event loop and then regain
control. This makes it very easy to do glut based opengl in existing
applications.
When I wrote the opengl terminal driver I used freeglut, which is the
default glut on Debian, without even realising I was doing anything
non-standard.
The choice is:
a) create a gnuplot_opengl (similar to the X11
terminal)
b) require an "enhanced" glut
c) Use raw OpenGL (without any glut)
d) multi-threaded
Personally I am in favour of the second option. Freeglut is
standard/available in Debian, Ubuntu, and (as I understand
it) Fedora/Red-hat.
Rob
--
______ _____ ______ _______ ______ _______
|_____/ | | |_____] |______ |_____/ |
| \_ |_____| |_____] |______ | \_ |
_ _ _______ ______ _______
|_____| |_____| |_____/ |
| | | | | \_ |
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
|