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 / 8471
8470  |  8472
Subject: 
Re: Chrome Parts
Newsgroups: 
lugnet.cad
Date: 
Fri, 9 Aug 2002 16:06:14 GMT
Viewed: 
766 times
  
In lugnet.cad, Steve Bliss writes:
In lugnet.cad, Don Heyse wrote:
Gold:   http://www.ldraw.org/library/official/images/334/3001.png
Silver: http://www.ldraw.org/library/official/images/383/3001.png

The 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 source
code for 334 doesn't turn up anything super-interesting (ie, I missed
it).

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
different from that angle.  You get a better impression of
the shininess when you spin the brick, but I guess that's
not what we're looking for here.

I'm surprised you missed the references to 334 and 383 in stub.c.
If you look at the code you'll notice the comment above those
lines says something about Gold, Silver, and Electrical contacts.

Maybe Travis could look at that section of code in stub.c and give
some suggestions for material properties to make the metal really
gleam.  Or I could try to find it in the ldview sources again.  To
be honest, the bricks don't look particularly shiny to me when I
load them up in ldview either.  At least not until I spin them.
It's probably due to the default position of the light source.

You can also use the offscreen
rendering if you want to make it more of a batch operation.

Hmm, does that work in the Windows version?

It uses a different opengl extension, but it does work (or at least
it did work the last time I tried it.)  I haven't figured out how
to do this for the Mac versions yet :(

Don



Message has 3 Replies:
  Re: Chrome Parts
 
(...) 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
 
(...) 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
 
(...) 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)

Message is in Reply To:
  Re: Chrome Parts
 
(...) 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)

25 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