Jeff Epler wrote:
> 
> On Wed, Mar 03, 1999 at 12:32:32PM +0100, Stefan Dirsch wrote:
> > Hi Jeff
> >
> > The following worked for me for Mesa 3.0. The bad news is that the
> > textures on the figures don't appear with Mesa 3.0 ...
> 
> Yes, I finally got it to "work", but the particle effects were wrong (the
> particles were huuuge!), the
> framerate was slower than software, and there were not textures on models.
> 
> I know I had it working perfectly with 3.0 at some point in the past ..
> sigh.

To stop the huge particles it is necessary to 'disable' the
GL_EXT_point_parameters extension, which quake likes but we implement
only in software.  Remove that string from the FX driver extensions list
& quake will fall back to using multi-textured triangles to represent
large points.

If you have a 1-tmu voodoo card, you also have to manually turn off
multitexturing the same way.  (This is done automatically in my
uncommitted development version).

In my development tree I have a config. file mechanism which allows you
to set up named configurations which enable/disable extensions and set
default values for hints.  Thus my quake2 config looks like this:  (this
isn't relevent to your case, just trivial info)





;; Turn off some compliance for the sake of speed.  
;;
(config-mesa quake2
 (
  ;; Quake2 likes this extension, but it really hurts performance if
  ;; you don't also disable software fallbacks, below.  (And do
  ;; something else to stop the eye-space calculations too...)
  ;;
  (disable-extension GL_EXT_point_parameters) 

  ;; This one hasn't been written yet.
  ;;
  (disable-extension GL_EXT_compiled_vertex_array)

  ;; These hints are honoured only by the 3dfx driver - the X driver
  ;; continues to function even if you specify hardware-only
  ;; rendering.
  ;;
  (default-hint GL_ALLOW_DRAW_OBJ_HINT_PGI GL_TRUE)   ; wishful thinking
  (default-hint GL_ALLOW_DRAW_WIN_HINT_PGI GL_TRUE)   ; allow 3dfx
hardware...
  (default-hint GL_ALLOW_DRAW_SPN_HINT_PGI GL_FALSE)  ; no software
spans
  (default-hint GL_ALLOW_DRAW_MEM_HINT_PGI GL_FALSE)  ; no softare
pixels

  ;; Lock in the hints specified above.
  ;;
  (disable-extension GL_PGI_misc_hints)))    




Keith

Reply via email to