To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7729
7728  |  7730
Subject: 
Re: Ldglite bug report (Was: Portable Ldraw system)
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 24 Aug 2002 21:56:42 GMT
Viewed: 
2122 times
  
In lugnet.cad.dev, Jeremy H. Sproat writes:
In lugnet.cad.dev, Don Heyse writes:
In lugnet.cad.dev, Jeremy H. Sproat writes:
Speaking of lines, when I use -W20 the ends of each line segment is capped
by a square which is the same color as the line but 2 or 3 times as wide.
The net result is that pieces with many line segments (curves for example)
have a very "spiky" look.  Is there any way to smooth these out?
I'm not sure what I can do about that.  Opengl only does flat ended wide
lines, so I draw the endpoints at what should be the appropriate width
to smooth them out.  Apparently your driver draws the points as squares
instead of circles.  I wonder if this is a common problem.  Probably,
since you're using the generic driver...

I tried this on a quasi-high-end machine, same DAT and options, same
results.

I applied the fix Travis pointed out, and it seems to smooth out
some of the bumpies in antialiased mode with wide lines on my PC.
Give it a try:

  http:\\ldglite.sourceforge.net\ldgliteexe_test.zip

I also noticed that the opengl drivers seem to top out their wide line
support at less than 12 pixels.  Nuts.

Don



Message has 2 Replies:
  Re: Ldglite bug report (Was: Portable Ldraw system)
 
(...) You might find the following info from Microsoft's help page on glGet useful: GL_LINE_WIDTH_RANGE The params parameter returns two values: the smallest and largest supported widths for antialiased lines. See glLineWidth. That's the first I'd (...) (22 years ago, 24-Aug-02, to lugnet.cad.dev)
  Re: Ldglite bug report (Was: Portable Ldraw system)
 
(...) It worked! You, sir, are a steely-eyed missile man. Be careful about posting fixes so quickly, you're already giving me more ideas for feature requests. :-, But thanks! Cheers, - jsproat (22 years ago, 24-Aug-02, to lugnet.cad.dev)

Message is in Reply To:
  Re: Ldglite bug report (Was: Portable Ldraw system)
 
(...) I tried this on a quasi-high-end machine, same DAT and options, same results. Here's the l3glite output: ZClip = (-1000, 4000) GL_VERSION = 1.2.1 GL_EXTENSIONS = GL_ARB_multitexture GL_ARB_texture_compression GL_ARB_texture_cu be_map (...) (22 years ago, 24-Aug-02, to lugnet.cad.dev)

63 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