To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 80
79  |  81
Subject: 
Re: video card
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Sat, 23 Feb 2002 18:28:09 GMT
Viewed: 
1724 times
  
In lugnet.cad.dev.mac, Mark Abrams writes:
Here is the printout at startup.

GL_VERSION = 1.1 APPLE-1.1 GL_EXTENSIONS = GL_APPLE_specular_vector
GL_APPLE_transform_hint GL_APPLE_packed_pixel GL_APPLE_client_storage
GL_ARB_transpose_matrix GL_EXT_clip_volume_hint GL_EXT_rescale_normal
GL_NV_texgen_reflection GL_IBM_rasterpos_clip GL_ARB_texture_env_add
GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract
GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_SGIS_texture_edge_clamp
GL_ARB_multitexture GL_ARB_texture_env_combine GL_ARB_texture_env_dot3
GL_VENDOR ='Apple' GL_RENDERER ='Generic' GL_RGBA_BITS: (5, 5, 5, 0)
GL_DEPTH_BITS = 16 GL_STENCIL_BITS = 8 Buffer Swap Mode = 0
Editing mode = 1{0}

If this sounds buggy, then it may be a good place for me to start with the
debugger.  I borrowed a copy of 'OpenGL Progamming Guide' and a book on
Graphics Programming algorithims.

Before you debug, I'd try all 4 of (-le, -ledit, -LE, and -LEDIT)
to see which methods have problems.  Then comment out this line in
main.c and recompile:

  #define USE_OPENGL_STENCIL

This might fix the wireframe droppings at the cost of some speed.

The problems with editing mode all stem from the fact that opengl is
not setup to do this sort of thing without resorting to extensions.
It's very slow to make copies of the various buffers if you just want
to move one little piece around without redrawing everything.  The
autocad folks added the KTX_buffer_region extension so you could
backup the buffers quickly in unused video memory, and nowadays the
pbuffers extension is starting to catch on for this as well.  You
have neither available, so I resort to a trick using the stencil
buffer as something of a cache for the depth buffer.  I've had
problems with this on the nvidia TNT, and now perhaps on your setup.
Compiling out the use of the stencil buffer might fix it.

I wish I could find some info on that GL_APPLE_client_storage
extension.  It has a promising sounding name.

Have fun,

Don



Message has 1 Reply:
  Re: video card
 
(...) I have tried all 4. The differences are subtle, I'm not sure I see them all. I like -le the best because I can see the entire model on each refresh. (...) I commented this out but it did not make the trailing go away. I can always get the (...) (23 years ago, 25-Feb-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: video card
 
(...) Here is the printout at startup. GL_VERSION = 1.1 APPLE-1.1 GL_EXTENSIONS = GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixel GL_APPLE_client_storage GL_ARB_transpose_matrix GL_EXT_clip_volume_hint GL_EXT_rescale_normal (...) (23 years ago, 23-Feb-02, to lugnet.cad.dev.mac)

9 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR