Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Previous step color scaling
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Wed, 17 Oct 2007 12:02:47 GMT
|
Viewed:
|
6473 times
|
| |
| |
In lugnet.cad, Jaco van der Molen wrote:
> What you basicly want is some code after this line:
> 1 0 0 0 90 -1 0 0 0 1 0 0 0 -1 4315.DAT
> to indicate that all previous parts including this one should have faded colors
> and following parts are fully colored.
Correct. Technically, the prel3p commands affect color substitution on following
lines, so you'll need to insert code in two places: once at the beginning of the
model to use the "faded" colors, and again at whatever point you wish to restore
the normal colors.
Here is the example car with PreL3P commands inserted:
0 Car
0 Name: CAR.DAT
0 Author: James Jessiman
0 Original LDraw Model - LDraw beta 0.27 Archive
0 Car
0 !PREL3P +codes none
0 !PREL3P -ldconfig faded.ldr
1 0 0 0 -90 1 0 0 0 1 0 0 0 1 4315.DAT
1 7 0 0 -60 1 0 0 0 1 0 0 0 1 4600.DAT
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3031.DAT
1 7 0 0 60 1 0 0 0 1 0 0 0 1 4600.DAT
1 0 0 0 90 -1 0 0 0 1 0 0 0 -1 4315.DAT
0 !PREL3P -ldconfig normal.ldr
1 46 30 -8 -90 1 0 0 0 1 0 0 0 1 3024.DAT
1 46 -30 -8 -90 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 0 -8 -60 0 0 1 0 1 0 -1 0 0 3020.DAT
1 4 30 -8 -10 0 0 1 0 1 0 -1 0 0 3623.DAT
1 4 -30 -8 -10 0 0 1 0 1 0 -1 0 0 3623.DAT
1 4 30 -8 30 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 -30 -8 30 1 0 0 0 1 0 0 0 1 3024.DAT
1 4 0 -8 50 0 0 1 0 1 0 -1 0 0 3021.DAT
1 4 0 -8 90 1 0 0 0 1 0 0 0 1 3710.DAT
1 1 0 -8 0 1 0 0 0 1 0 0 0 1 4079.DAT
By default, PreL3P doesn't replace the basic colors known to L3P, so the "+codes
none" option says not to keep them. That allows the faded color definitions to
be used for everything.
Coming up with readable faded colors is definitely a challenge, at least for
black, white, and shades of gray. Alternatively, you might even draw everything
from previous steps in one neutral shade.
Jim
|
|
Message has 1 Reply: | | Re: Previous step color scaling
|
| (...) If you have access to a *nix machine, or have installed the appropriate cygwin components on a Windows box, the following script should take a bunch of step files spit out from MLCad and insert the appropriate PREL3P commands in. #! /bin/sh (...) (17 years ago, 17-Oct-07, to lugnet.cad, FTX)
|
Message is in Reply To:
| | Re: Previous step color scaling [DAT]
|
| (...) Thank you! I will eagerly await and try it. (...) MLCad is able to export every step, but it exports steps without information at which line the previous step ends and were the next step begins. For example when I export the CAR (still a great (...) (17 years ago, 16-Oct-07, to lugnet.cad)
|
34 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
|
|
|
|