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 / 437
436  |  438
Subject: 
Re: MBC 0.61 comments
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Tue, 24 Jun 2003 12:44:13 GMT
Viewed: 
1473 times
  
In lugnet.cad.dev.mac, Christopher Masi wrote:
The color of the lines was also somewhat angle dependent.

This is probably because MBC leaves lighting enabled when
rendering the edge lines.  Hmm, maybe it's time to ask for the
source because then we'd know for sure.

Anyhow, I didn't like the way that looked in ldglite so I do a
glDisable(GL_LIGHTING) before drawing any lines.  This probably
contributes to the slower rendering speed of ldglite.  However
since MBC substitutes optimized parts for the dat files, perhaps
it wouldn't be as much of a performance hit because you can gather
all the edge line draws for a part into a single bundle.

Have fun,

Don



Message has 2 Replies:
  Re: MBC 0.6.1 comments
 
I'll intersperse my answer with Don's observations. (...) You're dead right there - actually I've never considered altering GL_LIGHTING for Type 2 lines, it makes good sense. Actually I haven't altered the parsing and rendering routines since about (...) (21 years ago, 25-Jun-03, to lugnet.cad.dev.mac)
  Re: MBC 0.61 comments
 
(...) Well, maybe you would know for sure, but not me :) (...) Just out of curiosity, disabling GL_Lighting before drawing lines is slower because you still have to do lighting anyway, and if it isn't GL_LIGTHING, then it is going to be slower? I (...) (21 years ago, 25-Jun-03, to lugnet.cad.dev.mac)

Message is in Reply To:
  MBC 0.61 comments
 
I got tired of writing so I got out my poking stick. I was looking at my caboose mode. (I am thinking of changing the trucks) and I noticed that some of the 1x2 bricks had white lines next to them, the one on the bottom in (URL) others, the other (...) (21 years ago, 24-Jun-03, to lugnet.cad.dev.mac)

5 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