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 / 1473
1472  |  1474
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: MOC: Bell Aerospace Textron X-22A
Newsgroups: 
lugnet.cad
Date: 
Wed, 31 Mar 1999 04:47:19 GMT
Viewed: 
778 times
  
In lugnet.cad, BramL@JUNO.com (Bram Lambrecht) writes:
For some reason, LDLite doesn't like my MPD :(  Is this model showing up
correctly for other people?  For me, it just draws part of the bottom of the
aircraft, leaving off most of it, and then places the other submodels
correctly.  Anyone know what's wrong?

I don't know what's wrong, but here's some more data:

I, too, only saw the bottom half when I clicked on it from the web pages for
lugnet.cad.dat -- my first thought was that the DAT content filter in the
ldraw.cgi script on the server was dropping parts of the content.  My second
thought was that perhaps for some reason the entire model didn't make it
into the news message (a problem seen before, intermittently).

But neither of these seems to be the case.  Like Steve did, I ran an MPD
splitter on the file (saved from an NNTP newsreader session, not from the
web interface) and got the following:

-rwxrwxrwa   1 0        0           4085 Mar 30  2:22 shock1x2.DAT
-rwxrwxrwa   1 0        0          23039 Mar 30  2:22 x22-body.dat
-rwxrwxrwa   1 0        0           1061 Mar 30  2:22 x22-engb.dat
-rwxrwxrwa   1 0        0            882 Mar 30  2:22 x22-engf.dat
-rwxrwxrwa   1 0        0            377 Mar 30  2:22 x22-lgrb.dat
-rwxrwxrwa   1 0        0            166 Mar 30  2:22 x22-lgrc.dat
-rwxrwxrwa   1 0        0            385 Mar 30  2:22 x22-lgrd.dat
-rwxrwxrwa   1 0        0            451 Mar 30  2:22 x22-lgrf.dat
-rwxrwxrwa   1 0        0            364 Mar 30  2:22 x22-lgru.dat
-rwxrwxrwa   1 0        0            530 Mar 30  2:22 x22-prop.dat
-rwxrwxrwa   1 0        0            519 Mar 30  2:22 x22-sprb.dat
-rwxrwxrwa   1 0        0            273 Mar 30  2:22 x22-sprf.dat
-rwxrwxrwa   1 0        0            423 Mar 30  2:22 x22-wing.dat
-rwxrwxrwa   1 0        0           1233 Mar 30  2:22 x22.dat

Loading up x22.dat into LDLITE (1.6), it all rendered fine -- except that
LDLITE said it couldn't find "shocksm.DAT" anywhere (and a couple other
newish parts that I haven't installed yet).

The missing shocksm.DAT file appears to be the result of an error in the
original posted content.  That is, x22-sprb.dat & x22-sprf.dat refer to
shocksm.DAT but should instead (I presume) refer to shock1x2.DAT.

(Fixing this in the original MPD file didn't seem to help LDLITE render the
model properly.)

Anyway, one last thing I noticed -- if I fire up LDLITE fresh and ask it to
render x22.dat, it shows the whole model.  But if I ask it first to display
the MPD file, and then the x22.dat file in the same LDLITE session (without
exiting LDLITE and restarting it, that is), then x22.dat does the same thing
that the MPD file does -- only shows the bottom portion -- sounds like the
result of parts-caching, which is great, but only if the parts were loaded
correctly in the first place.

So there is clearly something wrong in LDLITE's built-in MPD-splitting code.
On a hunch, I removed one of the comment lines in the middle of the
x22-body.dat portion of the MPD file,

:
1 14 30 -40 -90 1 0 0 0 1 0 0 0 1 4079.DAT
1 14 -30 -40 -90 1 0 0 0 1 0 0 0 1 4079.DAT
0 These computers should be airplane controls
1 7 30 -72 -140 -1 0 0 0 1 0 0 0 -1 3039p32.DAT
1 7 -30 -72 -140 -1 0 0 0 1 0 0 0 -1 3039p32.DAT
:

and boy did the file display differently! -- not correctly, but it got quite
a bit farther.  Curiously, removing ALL comment lines (except "0 FILE"
lines) resulted in a reversion back to the original problem.  Sounds like a
state-machine parsing problem...?

--Todd



Message has 1 Reply:
  Re: MOC: Bell Aerospace Textron X-22A
 
(...) Yes, especially with my truck :( That reminds me, could you cancel those three posts of the 18 wheeler, none of which made it to the news message completely? I think they're number 151-153 (...) Oops! I changed the name at the last minute and (...) (26 years ago, 1-Apr-99, to lugnet.cad)

Message is in Reply To:
  Re: MOC: Bell Aerospace Textron X-22A
 
(...) For some reason, LDLite doesn't like my MPD :( Is this model showing up correctly for other people? For me, it just draws part of the bottom of the aircraft, leaving off most of it, and then places the other submodels correctly. Anyone know (...) (26 years ago, 30-Mar-99, to lugnet.cad)

7 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