Zhang
76fb808910
Fix a number of MINGW32 issues
19 years ago
Zou Nan hai
c6d042acc9
Fix SOP in fragment shader, brick is ok now.
19 years ago
Zou Nan hai
24e7acd5e4
bumpmap sample is correct now
19 years ago
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.
19 years ago
Xavier Bachelot
f98bdfca57
call glutInit(), bug 11486
19 years ago
Brian
e8e5d9effe
support more modes, added -f cmd line option
19 years ago
Brian
3b10f50efb
use larger point/sprite size
19 years ago
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
19 years ago
Zou Nan hai
d19d0596da
support branch and loop in pixel shader
most of the sample working with some small modification
19 years ago
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
19 years ago
Brian
5e9cff0b97
disable shader program before glDrawPixels
19 years ago
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
19 years ago
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.
19 years ago
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
19 years ago
Brian
0c5662acc7
use glXGetProcAddress to get extension funcs
19 years ago
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
19 years ago
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
19 years ago
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
19 years ago
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!
19 years ago
Brian
da37ac5ee7
remove some debug code
19 years ago
Brian
58eaf0acca
a somewhat nicer demo w/ command line options
19 years ago
Brian
3cddba688d
get rid of normal vector
19 years ago
Brian
dc881e1909
get rid of OSMESA stuff
19 years ago
Brian
2dfb03beb2
New test of the dFdx(), dFdy() functions.
19 years ago
Brian
02e958a1e4
added glGetActiveAttrib
19 years ago
Brian
1dd7c00214
Windows updates
19 years ago
Brian
f42d4ab41e
move #include <GL/glut.h> after other #includes for Windows
19 years ago
Brian
4a28548cbf
use sqrt(), not sqrtf() for Windows
19 years ago
Ian Romanick
ad3cc95485
Fix FBO completeness bug in shadowtex.
19 years ago
Brian
bc74cb4c0a
destroy window upon exit
19 years ago
Brian
e7e5279fc0
Remove unused Imakefiles.
19 years ago
Brian
badc346206
lots of changes, fixes, clean-ups
19 years ago
Brian
bf287356cf
restore 200x200 window size, animation, version check
19 years ago
Brian
9612a3011f
fix some dependencies, remove some CFLAGS
19 years ago
Brian
0d3d930912
add 2.1 functions
19 years ago
Brian
8f3fc5221c
added glActiveStencilFaceEXT
19 years ago
Brian
0420d8505a
disable MakeTexture()
19 years ago
Brian
6fda763989
destroy window on exit
19 years ago
Brian
180cc2f845
disable assertion
19 years ago
Brian
d2a6f43eaf
extra stuff for drawbuffers test
19 years ago
Brian
3f7ef618b6
added drawbuffers.c
19 years ago
Brian
ccb80d7ec4
Test the GL_ARB_draw_buffers extension.
Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL).
19 years ago
Brian
2282d81536
destroy window during cleanup
19 years ago
Brian
d592eaeb83
fix clipping, display name, warnings
19 years ago
Brian
887d3c67cb
s/unsigned int/size_t/ (bug 10135)
19 years ago
Brian
03b9e16507
include assert.h
19 years ago
Brian
9f37be694e
s/ARB/MESA/ in extension check (bug 10126)
19 years ago
Brian
f68067e101
add texture rotation
19 years ago
Brian
21625d729c
output texcoord in vertex program
19 years ago
Brian
32fbbf38b4
Revert "option to test mipmapping"
This reverts commit a127537efb .
Meant to do this on the trunk.
19 years ago