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 / 8450
    Chrome Parts —Spencer Nowak
   What is the color number to make a part chrome, or is it even possible? I would very much like to make chrome exhaust pipes etc., but i cannot figure out what color # it is. Help would be appreciated. (22 years ago, 7-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Ildefonso Junior Zanette
   Hi, The number of the Silver color is #383. This color used to be listed on the color reference of partsref: (URL) But, it isn't there! What happened? The strage thing is that rendered chromed pieces are still in their places: Ex: (URL) There is (...) (22 years ago, 7-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Steve Bliss
   (...) Because of a change to the way Partsref images are generated, the silver and gold images dropped in quality from "poor" to "useless". Until I can figure out a way to generate images that actually look right, and are the same size as the other (...) (22 years ago, 8-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Don Heyse
   (...) How do you currently generate the images? Perhaps we could help. Don (22 years ago, 8-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Steve Bliss
   (...) I generate them with LDLite, scaled up 3x, with thick edges. Then I run them through ImageMagick to reduce by 3x (and convert to gif). Finally, I 'batch convert' them with Paint Shop Pro, because ImageMagick doesn't compress the gifs (I assume (...) (22 years ago, 8-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Don Heyse
     (...) Why don't you try using ldglite for the chrome pieces (or all of them.) It should be a drop in replacement for the ldlite command line, thick edges and all, plus you could do antialiased thick lines with -q. I'm pretty sure I added code to (...) (22 years ago, 8-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Steve Bliss
     (...) That's a possibility. (...) Hmm... Gold: (2 URLs) gold looks interesting; not exactly "gold plated", but definitely distinctive. But the silver looks remarkably normal. Maybe you implemented shiny-silver as a different color code? Grepping the (...) (22 years ago, 9-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Don Heyse
     (...) Well I could work with the colors and specular values a bit. I think I used the same colors values as ldview, but picked my own specular values based on empirical testing. I think I used different specular values for silver, so it may look (...) (22 years ago, 9-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Don Heyse
      (...) Try this. I switched the silver to use the same specular values as the gold. Makes it look shinier from that angle. (URL) (22 years ago, 9-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Travis Cobbs
       (...) also looks more metallic when rotating things around. In standard Oblique mode, you can't really tell the difference between the metallic and non-metallic parts. I discovered in my own experimentation that using 5.0 as the shininess value (...) (22 years ago, 11-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Steve Bliss
      (...) Steve (22 years ago, 14-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Travis Cobbs
      (...) At a guess by looking at the two images, the gold specular is set up to be shiny for a wider angle, which causes the studs to be shiny in the sample gold image. You'll note that the rest of the brick isn't really shiny at all from this (...) (22 years ago, 9-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Don Heyse
      (...) You guessed it, or did you sneak a look at the code. ;) (...) That's interesting. I used a value of 15 for for the gold, and 50 for the silver. Apparently 15 produces a wide enough angle for my default view and light positions. I don't like (...) (22 years ago, 9-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Steve Bliss
     (...) I saw the references, but didn't (immediately) notice anything special about them. Then again, I'm pretty good at missing things. Steve (22 years ago, 12-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Travis Cobbs
     (...) Looking at the images, it doesn't appear to matter much, but you might get better results if your initial rendering were at 4x (or possibly even 2x). The reason for this is that a 3x3 sample of a checkerboard pattern will result in two (...) (22 years ago, 8-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Don Heyse
      (...) Which leads us back to ldglite. Since I let opengl do the linewidths it supports 2x or 4x or even 2.5x (any floating point will do). On the other hand, while I think you'll be satisfied with the gold and silver colors, I'm not sure I (...) (22 years ago, 9-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Steve Bliss
      (...) The linewidth isn't important, I just use it in conjunction with the scale up/down to get anti-aliasing and lines with normal widths. (...) None of the standard/extended colors are *supposed* to be dithered. Only the non-standard colors (...) (22 years ago, 9-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Don Heyse
       (...) Yes and it works the same way on ldglite. There's also a tutorial on how to do this with the tools on ldraw.org if you want cut out the Windows box. (URL)Let's see, right now, we've got defined codes (in the dithering range) (...) I'll have to (...) (22 years ago, 9-Aug-02, to lugnet.cad)
      
           Re: Chrome Parts —Steve Bliss
       (...) By 'correctly', do you mean does ldlite generate solid-colors for these values? Yes, for some. I haven't tried all of them. PartsrefBuilder uses custom color definitions for all colors, which pretty much totally bypass the regular color (...) (22 years ago, 12-Aug-02, to lugnet.cad)
     
          Re: Chrome Parts —Travis Cobbs
      (...) Is there really a reason they should be dithered? The only reason they were dithered originally is because LDraw ran in 16 color mode, and that was the only way to support more colors, right? If so, then I would argue that if you can generate (...) (22 years ago, 10-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Steve Bliss
     (...) Actually, my intent was that the color variation would simulate the variable appearance of highly reflective surfaces. (...) I sometimes often try to carefully choose my precise wordiage. (...) *Sigh*. OK, I'll stop holding my breath. ;) (...) (...) (22 years ago, 9-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Don Heyse
     (...) Ouch, I just tried this in ldglite with the following command ldglite foo.ldr -s3 -w3 -MS -q and found not one, but 4 different bugs I have to fix. 1. I need to increase the calculated image extents by the half the linewidth to get all of the (...) (22 years ago, 9-Aug-02, to lugnet.cad)
    
         Re: Chrome Parts —Steve Bliss
     (...) True, it would definitely break my script. If I switched to ldglite, I might rework things to use the output file parameter, and just run one part per call. (...) Really? That's weird--it's recognized by LDraw (not sure about LEdit). Steve (22 years ago, 9-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Travis Cobbs
   (...) I'm still not likely to have any kind of reflectiveness any time soon, but I played with the specular values and came up with some values that I think do a reasonbly good job: (URL) row on the front/right are gold, chrome, and electric (...) (22 years ago, 11-Aug-02, to lugnet.cad)
   
        Re: Chrome Parts —Steve Bliss
   (...) Hmm. The gold looks the best, I think it's at least partly because we can establish a color value for gold that is distinct from the standard yellow. The electric contact is second-best, IMO. I just couldn't see enough difference between the (...) (22 years ago, 12-Aug-02, to lugnet.cad)
 

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