Brian
34f6243bef
Improve this demo in a few ways.
1. Use more reasonable hither/yon clip planes to make better use of shallow
(16-bit) z buffers.
2. Use different colors on cube faces to help detect Z fighting if it occurs.
3. Report GL_DEPTH_BITS on start-up.
18 年之前
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
18 年之前
Brian
e8e5d9effe
support more modes, added -f cmd line option
18 年之前
Brian
3b10f50efb
use larger point/sprite size
18 年之前
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
18 年之前
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
18 年之前
Brian
5e9cff0b97
disable shader program before glDrawPixels
18 年之前
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
18 年之前
Ian Romanick
2260c245fd
Refactor shadow map modelview and projection code
Explicitly store the modelview matrix and projection matrix used when the
shadow map is created. These matrices only need be updated when
RenderShadowMap is called. Previously, slightly different code was used to
draw and project the shadow map.
18 年之前
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
18 年之前
Brian
0c5662acc7
use glXGetProcAddress to get extension funcs
18 年之前
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
18 年之前
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
18 年之前
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
18 年之前
Brian
16c503f39a
Tweak the shell scripting for descending into and building subdirs.
In general, use this:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1; \
fi \
done
Basically, silently skip missing subdirs but generate an error and stop if
there's a compilation or install problem.
This was done inconsistantly before. In once case, a missing subdir was
causing us to go into an infinte loop!
18 年之前
Brian
da37ac5ee7
remove some debug code
18 年之前
Brian
58eaf0acca
a somewhat nicer demo w/ command line options
18 年之前
Brian
3cddba688d
get rid of normal vector
18 年之前
Brian
dc881e1909
get rid of OSMESA stuff
18 年之前
Brian
2dfb03beb2
New test of the dFdx(), dFdy() functions.
18 年之前
Brian
02e958a1e4
added glGetActiveAttrib
18 年之前
Brian
1dd7c00214
Windows updates
18 年之前
Brian
f42d4ab41e
move #include <GL/glut.h> after other #includes for Windows
18 年之前
Brian
4a28548cbf
use sqrt(), not sqrtf() for Windows
18 年之前
Ian Romanick
ad3cc95485
Fix FBO completeness bug in shadowtex.
18 年之前
Brian
bc74cb4c0a
destroy window upon exit
18 年之前
Brian
e7e5279fc0
Remove unused Imakefiles.
18 年之前
Brian
badc346206
lots of changes, fixes, clean-ups
18 年之前
Brian
bf287356cf
restore 200x200 window size, animation, version check
18 年之前
Brian
9612a3011f
fix some dependencies, remove some CFLAGS
18 年之前
Brian
0d3d930912
add 2.1 functions
18 年之前
Brian
8f3fc5221c
added glActiveStencilFaceEXT
18 年之前
Brian
0420d8505a
disable MakeTexture()
18 年之前
Brian
6fda763989
destroy window on exit
19 年之前
Brian
180cc2f845
disable assertion
19 年之前
Brian
d2a6f43eaf
extra stuff for drawbuffers test
19 年之前
Brian
3f7ef618b6
added drawbuffers.c
19 年之前
Brian
ccb80d7ec4
Test the GL_ARB_draw_buffers extension.
Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL).
19 年之前
Brian
2282d81536
destroy window during cleanup
19 年之前
Brian
d592eaeb83
fix clipping, display name, warnings
19 年之前
Brian
887d3c67cb
s/unsigned int/size_t/ (bug 10135)
19 年之前
Brian
03b9e16507
include assert.h
19 年之前
Brian
9f37be694e
s/ARB/MESA/ in extension check (bug 10126)
19 年之前
Brian
f68067e101
add texture rotation
19 年之前
Brian
21625d729c
output texcoord in vertex program
19 年之前
Brian
32fbbf38b4
Revert "option to test mipmapping"
This reverts commit a127537efb .
Meant to do this on the trunk.
19 年之前
Brian
a127537efb
option to test mipmapping
19 年之前
Brian
917a5086b3
Use gl_LightSource[0].position intead of a light position uniform.
19 年之前
Brian
edf24e699e
shading language texture demo/test
19 年之前
Brian
8e0c6fc0be
added texdemo1
19 年之前