Strange Textures problem...

Vincent Cojot coyote at
Sat Aug 3 07:52:55 EDT 2002

Hello guys,

	I just ran across a textures problem that only affects one certain
platforms with icculus' quake2 ref_gl.. Here is what the textures problem
looks like:

So far, my testing show this:
- Linux PIII with NVidia Quadro4 (Rh7.2): ALL OK
- Solaris 8 02/02, Ultra2, Creator3D, OpenGL 1.2.3: ALL OK
- Solaris 8 02/02, Ultra5, PGX64 (basic card), OpenGL 1.2.3: ALL OK
- Solaris 8 02/02, SunBlade 2000, XVR-1000 (high-end card with HW
texturing), OpenGL 1.2.3: PROBLEM shown above.

Note: SUN has an OpenGL ABI and API: the GL libs are the same for all
platforms, it's only the graphics driver which changes..

I think the problem seems to lie within src/ref_gl: if I copy
from the Quake2 Utah-GLX project, then textures are fine.. but of course,
it causes other problems because that code doesn't have all of the icculus
quake2 features and improvements.

What is your opinion: Do we have a problem inside ref_gl that is tolerated
by most OpenGL implementations but not by the XVR-1000 drivers? Or is that
a problem with the XVR-1000 driver? I'm still trying to figure out why the
Utah-GLX code (a more generic GLX engine) works fine.. Do you people know
where/what I should look up first in the code?

Just for reference, here are the details of the 1.2.3 implementation of
SUN's OpenGL as seen by Quake2:
------- Loading -------
ref_gl version: GL 0.01
Using for OpenGL...Initializing OpenGL display
...setting fullscreen mode 3: 640 480
GL_VENDOR: Sun Microsystems, Inc.
GL_VERSION: 1.2 Sun OpenGL 1.2.3 patch 112628-05 for Solaris
GL_EXTENSIONS:  GL_EXT_texture3D GL_SGI_color_table
GL_SGI_texture_color_table GL_EXT_abgr GL_EXT_rescale_normal
GL_SUNX_surface_hint GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays
GL_SUNX_constant_data GL_EXT_polygon_offset GL_SUN_vertex
GL_SUN_global_alpha GL_ARB_transpose_matrix GL_SUNX_geometry_compression
GL_EXT_histogram GL_EXT_convolution GL_HP_convolution_border_modes
GL_SUN_convolution_border_modes GL_EXT_blend_color GL_EXT_blend_minmax
GL_EXT_blend_subtract GL_EXT_pixel_transform GL_EXT_blend_logic_op
GL_ARB_imaging GL_SUN_triangle_list GL_SGIS_sharpen_texture
GL_SGIS_detail_texture GL_EXT_texture_filter_anisotropic
GL_EXT_texture_env_combine GL_SGIS_texture_filter4
GL_SGIX_texture_lod_bias GL_SGIX_texture_scale_bias GL_ARB_multitexture
...GL_EXT_compiled_vertex_array not found
...GL_EXT_point_parameters not found
...GL_EXT_shared_texture_palette not found
...using GL_ARB_multitexture
...GL_SGIS_multitexture not found

If anyone has an idea...

Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'  _.,-*~'`^`'~*-,._ coyote at

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost

More information about the quake2 mailing list