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 lose 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
没有合适的资源?快使用搜索试试~ 我知道了~
assimp-3.1.1
共1665个文件
h:359个
cpp:241个
txt:106个
5星 · 超过95%的资源 需积分: 2 264 下载量 67 浏览量
2015-11-04
16:15:28
上传
评论 1
收藏 31.35MB ZIP 举报
温馨提示
一款读取各种三维数据格式并可浏览的开源库,支持的格式有3ds、ac、ase、ply、md2、md3、md5、irr、irrxml、obj、dxf、bvh等等。
资源推荐
资源详情
资源评论
收起资源包目录
assimp-3.1.1 (1665个子文件)
cppunit-config.1 3KB
mar_rifle_a.3d 49KB
mar_rifle_d.3d 9KB
box_a.3d 964B
box_d.3d 240B
pyramob.3DS 678KB
jeep1.3ds 67KB
cart_wheel.3DS 32KB
mar_rifle.3ds 17KB
fels.3ds 13KB
mp5_sil.3ds 11KB
test1.3ds 10KB
Granate.3DS 9KB
cubes_with_alpha.3DS 6KB
RotatingCube.3DS 5KB
CameraRollAnimWithChildObject.3ds 4KB
UVTransform_OffsetU0.56V0.5_ScaleU10V2_Rotate45.3DS 2KB
UVTransform_ScaleUV10-2_OffsetUV10-mirrorUV.3DS 2KB
UVTransform_OffsetU0.5_ScaleUV2_Rotate45_clampUV.3DS 2KB
UVTransform_ScaleUV1-2_OffsetUV0-0.9_Rotate-72_mirrorU.3ds 2KB
UVTransform_ScaleUV2x_Rotate45.3DS 2KB
UVTransform_OffsetUV0.5-clampUV.3DS 2KB
UVTransform_OffsetUV0.5.3DS 2KB
UVTransform_OffsetUV0.5-mirrorUV.3DS 2KB
UVTransform_ScaleUV2x.3DS 2KB
UVTransform_Normal.3DS 2KB
cube_with_specular_texture.3DS 1KB
cube_with_diffuse_texture.3DS 1KB
TargetCameraAnim.3ds 1KB
UVTransform_Cube_ScaleUV2x_clampUV.3DS 1KB
CameraRollAnim.3ds 1KB
UVTransform_Cube.3DS 1KB
empty.3ds 0B
Wuson.ac 574KB
SphereWithLight_UTF16LE.ac 38KB
SphereWithLightUvScaling4X.ac 19KB
SphereWithLight_UTF8BOM.ac 19KB
SphereWithLight.ac 19KB
sample_subdiv.ac 3KB
openLine.ac 286B
closedLine.ac 279B
nosurfaces.ac 172B
Makefile.am 2KB
Makefile.am 2KB
Makefile.am 2KB
Makefile.am 812B
Makefile.am 400B
Makefile.am 228B
Makefile.am 216B
Makefile.am 205B
Makefile.am 145B
Makefile.am 126B
Makefile.am 119B
Makefile.am 117B
Makefile.am 98B
Makefile.am 83B
Makefile.am 22B
MotionCaptureROM.ase 1.07MB
Rifle2.ase 401KB
Rifle.ase 259KB
anim2.ASE 42KB
CameraRollAnimWithChildObject.ase 30KB
ThreeCubesGreen_UTF16LE.ASE 17KB
ThreeCubesGreen_UTF16BE.ASE 17KB
TargetCameraAnim.ase 17KB
RotatingCube.ASE 16KB
UVTransform_ScaleUV1-2_OffsetUV0-0.9_Rotate-72_mirrorU.ase 15KB
UVTransform_ScaleUV2x.ASE 15KB
UVTransform_ScaleUV2x_Rotate45.ASE 15KB
UVTransform_Normal.ASE 15KB
CameraRollAnim.ase 14KB
anim.ASE 14KB
ThreeCubesGreen.ASE 9KB
empty.ase 0B
AUTHORS 286B
AUTHORS 196B
AUTHORS 145B
dwarf2.b3d 317KB
WusonBlitz.b3d 85KB
turtle1.b3d 52KB
mkfinal.bat 6KB
RunUnitTestSuite.bat 4KB
RunSingleUnitTestSuite.bat 964B
mkrev.bat 716B
ShowDwarf.bat 51B
ShowWuson.bat 48B
text1.bin 73KB
fleurOptonl.blend 1.39MB
Bob.blend 578KB
blender_269_regress1.blend 543KB
BlenderDefault_269.blend 480KB
BlenderDefault_262.blend 461KB
yxa_1.blend 430KB
BlenderDefault_250.blend 388KB
Suzanne_248.blend 254KB
NoisyTexturedCube_VoronoiGlob_248.blend 227KB
CubeHierarchy_248.blend 153KB
TexturedPlane_ImageUvPacked_248.blend 139KB
HUMAN.blend 139KB
TexturedPlane_ImageUv_248.blend 135KB
共 1665 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17
五彩铅笔
- 粉丝: 39
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页