To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14840
14839  |  14841
Subject: 
Re: Why LDraw.org doesn't use ldconfig.ldr ???
Newsgroups: 
lugnet.cad
Date: 
Thu, 4 Oct 2007 19:01:48 GMT
Viewed: 
7796 times
  
In lugnet.cad, Don Heyse wrote:
   In lugnet.cad, Travis Cobbs wrote:
   light. For example, here is an image from the part tracker:



Here is the same part rendered in LDView (with ldconfig.ldr turned on, and an attempt on my part to approximate the light angle used in ldglite):



Here it is from LDView with no lighting:



Now I don’t remember exactly how the official ldconfig.ldr colors were arrived at, but they *are* significantly different from the ldglite colors. Perhaps they’re intended for a dimmer lighting model. Whatever, they certainly look a bit washed out and dull in ldglite. I suppose I should compare my lighting model code to yours to quantify the difference. Meanwhile, perhaps the official ldliterc.dat file should be modified to use the original ldlite colors where they already exist? (Edge colors could still be set to black to make the majority happy)

I’m pretty sure the ldconfig.ldr colors are designed to match the brick colors when no lighting is used (as in the second LDView picture above. If the ambient and diffuse terms add up to more than 1.0, the original colors end up getting washed out. I’m guessing that ldglite’s ambient and diffuse terms add up to quite a bit more than 1.0.

When I did the “subdued” lighting in LDView, I set it up so that the ambient and diffuse terms add up to 1.0. (It uses 0.5 for the intensity of both the ambient and the diffuse, actually.) Relatively recently I noticed that my regular lighting has a diffuse intensity of 1.0 and an ambient intensity of 0.2. I’m hesitant to change it now, though, since it’s been that way for so long. I’ll probably see what 0.8 diffuse looks like and change it if it seems OK.

--Travis



Message has 1 Reply:
  Re: Why LDraw.org doesn't use ldconfig.ldr ???
 
(...) I'd leave your setup alone since it seems to work well with the current color list. You're right about ldglite. I didn't like dark shadows, or maybe I run my monitor too dark to avoid migraines, but the lighting settings do add up to more than (...) (17 years ago, 4-Oct-07, to lugnet.cad, FTX)

Message is in Reply To:
  Re: Why LDraw.org doesn't use ldconfig.ldr ???
 
(...) The actual truth may be lost to the sands of time, but I believe the ldlite colors were possibly copied from the original LDRAW colors, and the ldlite Windows lighting code was matched to that? I know I did a good amount of twiddling in the (...) (17 years ago, 4-Oct-07, to lugnet.cad, FTX)

43 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