To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4704
4703  |  4705
Subject: 
Color and L-CAD- Some Sugessetions.
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 9 Jun 2000 14:02:40 GMT
Viewed: 
716 times
  
In lugnet.cad.dat.ideas, Steve Bliss writes:

Just for the heck of it, I put Suzanne's chart into an LDL file, defining
the colors for use in LDLite, and any other program which recognizes the 0
COLOR meta-statement.


I feel that a new set of tags is reuired given the recent imporvemtns in
L-Draw CAD systems.

Might I suggest the follwoing (extremly rough spec)

These commands are valid immediatly prior to a line-type.
0 SET TRANSPARENCY <Number> . For setting transparency of peices.

The following allow a color to be defined and used.
0 DEF COLOR <Scheme> <index> <Red%><green%><blue%>
0 USE COLOR <Scheme> <index>

I belive this is approach taken in both povray and VRML?

Immediatly prior to a quad.
0 USE TEXMAP <name>
This will allows the use of bitmaps for constructing decorated bricks and
minfig torsos. Alternativly the <name> paramater cou;ld be the name of a
.DAT file thata make up the texture. The TEXMAP acting as a flag to use a
chache appropriatly.  Susbsequent USE TEXMAPS woudl obtain the cached version,

To use these definitions, you'll need to paste the code into the top of
your model file.  Just referencing colors.ldl like a part won't work.


Any chance of modifying LDAO to do this automatically?

Alternativly this is something that could be incorporated as feature in the
next release of MLCAD.

Additional this use of an LDL file for colors could be become part of a
future MPD format- Ie a sort of colour's file for the entire model!

An extension of this approach would also allow the users of programs such as
MLCAD etc to
define standrad palletes for working with Space,Rock Radiers etc. elements...
(perhpas we need a new NG ugnet.cad.dat.color-schemes to cope with the
various alternatives?)

I will try and post a more detiald spec when I have more time...

Alex


Steve


< LDL File snipped>



Message has 1 Reply:
  Re: Color and L-CAD- Some Sugessetions.
 
(...) The LDL 0 COLOR command already handles both of these cases. (...) I think this would be better handled as a new command, a new linetype, instead of a meta-command. (...) Hmm. That's an idea. (...) That'd be neat, too. How about a simple ... 0 (...) (24 years ago, 9-Jun-00, to lugnet.cad.dev)

Message is in Reply To:
  Re: Color chart
 
(...) the colors for use in LDLite, and any other program which recognizes the 0 COLOR meta-statement. To use these definitions, you'll need to paste the code into the top of your model file. Just referencing colors.ldl like a part won't work. Steve (...) (24 years ago, 30-May-00, to lugnet.cad.dat.ideas)

3 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