GLUT for Win32 README
---------------------
VERSION/INFO:
This is GLUT for Win32 version 3.7.6 as of Nov 8th 2001.
See the COPYRIGHT section for distribution and copyright notices.
Send all bug reports and questions for this version of GLUT to
Nate Robins [nate@pobox.com].
For more information about GLUT for Win32, see the web page:
www.pobox.com/~nate/glut.html or subscribe to the GLUT for Win32
mailing list by sending e-mail to majordomo@perp.com with
"subscribe glut" in the body of the message.
For general information about GLUT, see the GLUT web page:
http://reality.sgi.com/opengl/glut3/glut3.html and be sure to
check the GLUT FAQ first for any questions that you may have:
http://reality.sgi.com/opengl/glut3/glut-faq.html
COMPILING/INSTALLATION:
o Precompiled versions of the DLL and import library can be
found on the GLUT for Win32 web page mentioned above.
o Microsoft Developer Studio 6 workspace and project files have
been included in the source code distribution.
To build the glut dll:
First, open Microsoft Developer Studio.
Then, select File -> Open Workspace and find the glut.dsw file
in the file dialog and double-click on it.
Finally, select Build -> Build glut32.dll.
When the build is finished, it will copy:
glut32.dll to %WinDir%\System,
glut32.lib to $(MSDevDir)\..\..\VC98\lib, and
glut.h to $(MSDevDir)\..\..\VC98\include\GL.
Additional workspace files have been included in the progs, test
and lib directories to build the progs, tests and libs respectively.
BORLAND NOTES:
From what I understand, Borland supplies a utility that
converts Microsoft Visual C++ .libs into Borland compatible
files. Therefore, the best method for Borland users is
probably to get the precompiled versions of the library and
convert the library. To create an import library for Borland
from the DLLs, use the following command (from a command prompt):
IMPLIB glut32.lib glut32.dll
If IMPLIB crashes when called this way, try
IMPLIB glut32.lib glut32.def
using the glut32.def file in this distribution.
FORTRAN NOTES:
Bill Mitchell [william.mitchell@nist.gov] has put considerable
effort into getting GLUT to work with different compilers for
Fortran 90. He indicates that you should copy the f90glut.h
file to your $(MSDevDir)\..\..\VC98\include\GL directory.
Then, just build GLUT as usual. The Fortran 90 interface, f90gl,
can be obtained at http://math.nist.gov/f90gl and contains
installation instructions and usage examples.
MISC NOTES:
o Overlay support is not implemented, nor are there any plans to
implement it in the near future.
o To customize the windows icon, you can use the resource name
GLUT_ICON. For example, create an icon named "glut.ico", and
create a file called glut.rc that contains the following:
GLUT_ICON ICON glut.ico
then compile the glut.rc file with the following:
rc /r glut
and link the resulting glut.res file into your executable
(just like you would an object file).
Alternatively, you can simply add the glut.rc file to your
project if you are using Microsoft Developer Studio.
IMPLEMENTATION DEPENDENT DIFFERENCES:
There are a few differences between the Win32 version of GLUT
and the X11 version of GLUT. Those are outlined here. Note
that MOST of these differences are allowed by the GLUT
specification. Bugs and unsupported features are outlined in
the UNSUPPORTED/BUGS section.
o glutInit:
The following command line options have no meaning (and are
ignored) in GLUT for Win32:
-display, -indirect, -direct, -sync.
o glutInitWindowPosition, glutPositionWindow:
Win32 has two different coordinate systems for windows.
One is in terms of client space and the other is the whole
window space (including the decorations). If you
glutPositionWindow(0, 0), GLUT for Win32 will place the
window CLIENT area at 0, 0. This will cause the window
decorations (title bar and left edge) to be OFF-SCREEN, but
it gives the user the most flexibility in positioning.
HOWEVER, if the user specifies glutInitWindowPosition(0, 0),
the window is placed relative to window space at 0, 0.
This will cause the window to be opened in the upper left
corner with all the decorations showing. This behaviour is
acceptable under the current GLUT specification.
o glutSetIconTitle, glutSetWindowTitle:
There is no separation between Icon title and Window title
in Win32. Therefore, setting an icon title in Win32 has
no effect.
o glutSetCursor:
As indicated in the GLUT specification, cursors may be
different on different platforms. This is the case in GLUT
for Win32. For the most part, the cursors will match the
meaning, but not necessarily the shape. Notable exceptions
are the GLUT_CURSOR_INFO & GLUT_CURSOR_SPRAY which use the
crosshair cursor and the GLUT_CURSOR_CYCLE which uses the
'no' or 'destroy' cursor in Win32.
o glutVisibilityFunc:
Win32 seems to be unable to determine if a window is fully
obscured. Therefore, the visibility of a GLUT window is
only reflected by its Iconic, Hidden or Shown state. That
is, even if a window is fully obscured, in GLUT for Win32,
it is still "visible".
o glutEntryFunc:
Window Focus is handled differently in Win32 and X.
Specifically, the "window manager" in Win32 uses a "click to
focus" policy. That is, in order for a window to receive
focus, a mouse button must be clicked in it. Likewise, in
order for a window to loose focus, a mouse button must be
clicked outside the window (or in another window).
Therefore, the Enter and Leave notification provided by GLUT
may behave differently in the Win32 and in X11 versions.
There is a viable workaround for this. A program called
"Tweak UI" is provided by Microsoft which can be used to
change the focus policy in Win32 to "focus follows mouse".
It is available from the Microsoft Web Pages:
http://www.microsoft.com/windows/software/PowerToy.htm
o glutCopyColormap:
GLUT for Win32 always copies the colormap. There is never
any sharing of colormaps. This is probably okay, since
Win32 merges the logical palette and the physical palette
anyway, so even if there are two windows with totally
different colors in their colormaps, Win32 will find a
(hopefully) good match between them.
o glutIdleFunc + menus:
The glut idle function will NOT be called when a menu is
active. This causes all animation to stop when a menu is
active (in general, this is probably okay). Timer
functions will still fire, however. If the timer callback
draws into the rendering context, the drawing will not show
up until after the menu has finished, though.
UNSUPPORTED/BUGS:
o glutAttachMenu:
Win32 only likes to work with left and right mouse buttons.
Especially so with popup menus. Therefore, when attaching
the menu to the middle mouse button, the LEFT mouse button
must be used to select from the menu.
o glutSpaceball*, glutButtonBox*, glutTablet*, glutDials*:
None of the special input devices are supported at this
time.
o When resizing or moving a GLUT for Win32
没有合适的资源?快使用搜索试试~ 我知道了~
PyOpenGL-3.0.1a4.tar.gz
0 下载量 55 浏览量
2024-03-18
12:49:36
上传
评论
收藏 639KB GZ 举报
温馨提示
共907个文件
py:896个
txt:4个
dll:2个
Python库是一组预先编写的代码模块,旨在帮助开发者实现特定的编程任务,无需从零开始编写代码。这些库可以包括各种功能,如数学运算、文件操作、数据分析和网络编程等。Python社区提供了大量的第三方库,如NumPy、Pandas和Requests,极大地丰富了Python的应用领域,从数据科学到Web开发。Python库的丰富性是Python成为最受欢迎的编程语言之一的关键原因之一。这些库不仅为初学者提供了快速入门的途径,而且为经验丰富的开发者提供了强大的工具,以高效率、高质量地完成复杂任务。例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
资源推荐
资源详情
资源评论
收起资源包目录
PyOpenGL-3.0.1a4.tar.gz (907个子文件)
glut32.dll 232KB
gle32.dll 136KB
gle_AUTHORS 290B
gle_COPYING 19KB
PKG-INFO 664B
yingyang.png 9KB
constants.py 255KB
__init__.py 179KB
direct_state_access.py 84KB
_WGL_NV.py 71KB
wrapper.py 68KB
_WGL_ARB.py 63KB
_GLX_NV.py 47KB
__init__.py 39KB
GL_2_0.py 37KB
_GLX_ARB.py 37KB
vertex_program.py 35KB
_GLX.py 34KB
test_core.py 33KB
vertex_program.py 32KB
__init__.py 28KB
GL_3_0.py 27KB
get_gl_extensions.py 27KB
annotations.py 24KB
vertex_shader.py 24KB
glget.py 23KB
images.py 21KB
vertex.py 19KB
shader_objects.py 19KB
_WGL.py 19KB
vertex_streams.py 17KB
framebuffer_object.py 16KB
half_float.py 15KB
__init__.py 15KB
framebuffer_object.py 15KB
GL_1_3_DEPRECATED.py 15KB
texture_shader.py 14KB
fragment_shader.py 14KB
multitexture.py 14KB
constants.py 14KB
pointers.py 14KB
GL_1_2_DEPRECATED.py 13KB
register_combiners.py 13KB
special.py 13KB
GL_1_4_DEPRECATED.py 13KB
constants.py 13KB
gengl.py 13KB
baseplatform.py 13KB
annotations.py 13KB
vbo.py 13KB
arraydatatype.py 12KB
__init__.py 12KB
converters.py 12KB
exceptional.py 11KB
vertex_buffer_object.py 11KB
evaluators.py 10KB
openglgenerator.py 10KB
glunurbs.py 10KB
freeglut.py 9KB
convolution.py 9KB
numpymodule.py 9KB
GL_1_3.py 9KB
tess.py 9KB
texture_compression.py 9KB
GL_2_0.py 9KB
vertex_array_range.py 9KB
coordinate_frame.py 9KB
fragment_lighting.py 9KB
vertex_array.py 8KB
error.py 8KB
arrayhelpers.py 8KB
GL_1_5.py 8KB
video_capture.py 8KB
vertex_program4.py 8KB
window_pos.py 8KB
__init__.py 8KB
annotations.py 8KB
gpu_program4.py 8KB
vertex_blend.py 8KB
GL_1_2_images.py 7KB
secondary_color.py 7KB
fragment_program.py 7KB
transform_feedback.py 7KB
lists.py 7KB
uniform_buffer_object.py 7KB
vertex_buffer_unified_memory.py 7KB
gpu_shader4.py 7KB
occlusion_query.py 7KB
generateraw.py 6KB
images.py 6KB
triangle_list.py 6KB
GL_1_2.py 6KB
texture_shader3.py 6KB
occlusion_query.py 6KB
vertex_array_lists.py 6KB
texture_integer.py 6KB
fence.py 6KB
client_storage.py 6KB
shader_objects.py 6KB
window_pos.py 6KB
共 907 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
程序员Chino的日记
- 粉丝: 2701
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功