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 / 11979
11978  |  11980
Subject: 
Re: LDGlite and LPub (and maybe ldview?
Newsgroups: 
lugnet.cad
Date: 
Thu, 14 Oct 2004 18:51:04 GMT
Viewed: 
1146 times
  
In lugnet.cad, Steve Bliss wrote:
In lugnet.cad, Don Heyse wrote:
[ldglite] can generate transparent png files

Doh!  Thanks for mentioning this.  We've been wanting to make transparent LDraw
part images (for use by Peeron, et al).  And it's been there, all along.
Double-Doh!

It's a nice, simple command-line option, too. :)

The parts images are being regenerated as I write this.

One thing to remember is that the background color almost certainly still
matters for transparent parts, because they'll be blended with it, even if they
are partially transparent in the PNG file.  So be sure to choose a background
color that is similar to the one you expect the parts to be displayed on for
transparent parts.  Oh, and it probably also effects the antialiasing on all
parts.

--Travis Cobbs



Message has 1 Reply:
  Re: LDGlite and LPub (and maybe ldview?
 
(...) That's an interesting point. We generate all images at a 3x zoom (3x of the final target render scale) (with fat lines), then use ImageMagick to reduce the image to 'normal'. So the transparency of transparent parts will depend on how (...) (20 years ago, 14-Oct-04, to lugnet.cad)

Message is in Reply To:
  Re: LDGlite and LPub (and maybe ldview?
 
(...) Doh! Thanks for mentioning this. We've been wanting to make transparent LDraw part images (for use by Peeron, et al). And it's been there, all along. Double-Doh! It's a nice, simple command-line option, too. :) The parts images are being (...) (20 years ago, 14-Oct-04, to lugnet.cad)

52 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