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 / 5684
5683  |  5685
Subject: 
Re: white outlines on black bricks
Newsgroups: 
lugnet.cad
Date: 
Wed, 28 Mar 2001 15:11:59 GMT
Viewed: 
1121 times
  
In lugnet.cad, tim david wrote:

> This is mainly concerned with ML-Cad but I know that L-Draw uses the same
> data and possibly others. Is it possible to change the outline colours of
> black bricks to white so that they show up better. I have a feeling that
> there is a variable because i have seen green bricks with light green (as
> opposed to grey) outlines so so if any one could pointme in the right
> direction I would be grateful

LDLite supports a 0 COLOR meta-statement, where you can select the
edge-color for a specific color code.  Quoting from the LDLite 1.6 html
file:

> The syntax of the COLOR statement is:
> 
> 0 COLOR index name edge_color r g b alpha d_r d_g d_b d_alpha
> note: you can spell it COLOUR and it will still work.
> 
> index       is the decimal value specifying the palette index, 0 to 255
>            excluding 16 and 24.
> name        is an alphanumeric name you can use to refer to the color. This
>            is redundant with the COLORNAME command, but is included for
>            convenience.
> edge_color  is the decimal value specifying the color to use for edge (#24)
>            colors.
> r g b alpha are the red, green, blue and alpha components of the first
>            dithered color. They are numbers from 0 (black) to 255 (pure
>            color). The alpha value should be 255 for the first color.
>            Note: You can use hex numbers, such as 0x00 and 0xff if you
>            wish.
> d_r d_g d_b d_alpha
>            are the red, green, blue and alpha values of the second
>            dithered color. If you want a solid color, set these to be the
>            same as the r g b alpha values. If you want a transparent
>            color, set d_alpha to 0 and the second dithered color will not
>            be drawn, creating the classic LDRAW transparent effect.

The statement for white edges on black would be:

0 COLOR 0 Black 15 0 0 0 255 0 0 0 255

Unfortunately, when I open a model with a COLOR statement in ML-CAD, it
gives me an error! :(

Steve



Message has 1 Reply:
  Re: white outlines on black bricks
 
(...) This is because MLCad blocks modifications to colors from 0 to 63 (including). All other colors can be modified by the user. I did that because I believed that this colors are fix (quasi standard) and must not be modified. If everyone here (...) (25 years ago, 28-Mar-01, to lugnet.cad)

Message is in Reply To:
  white outlines on black bricks
 
This is mainly concerned with ML-Cad but I know that L-Draw uses the same data and possibly others. Is it possible to change the outline colours of black bricks to white so that they show up better. I have a feeling that there is a variable because (...) (25 years ago, 27-Mar-01, to lugnet.cad)

10 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
    

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