To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 2115
2114  |  2116
Subject: 
Re: MPD spec
Newsgroups: 
lugnet.cad.dev, lugnet.cad.dev.org.ldraw
Date: 
Tue, 6 Aug 2002 13:56:03 GMT
Viewed: 
74 times
  
In lugnet.cad.dev, rmelkert wrote:

I was wondering, didn't see it discussed in the text, is it permitted /
custom to have ldraw files in a mpd file reference other mpd files?

Good question.  Different programs have more (or less) success at
handling this.  L3Lab seems to have no trouble with it.  LDLite usually
does ok, but not always (unfortunately, I don't have an example).

If so is the first part in the file used or is there some naming
convention pointing to the correctsubpart (e.g. brick.mpd:1x1.dat).

There's no special syntax, the rendering program would use the first
FILE encountered in the sub-mpd as the primary model from that file.

Or do you just recursive load all mpd files to memory and then start
parsing the parts with their original names. But this kinda contradicks
the text saying to only parse references parts.

It gets tricky here -- files are only loaded as they are referenced, but
renderers may retain loaded FILEs in memory, and later reference them
(even after the sub-mpd is exitted).

I think the MPD standard should include scoping/visibility rules, so
FILEs in an mpd are only available from within that MPD, not from other
DAT/LDR/MPD files.

Steve



Message has 2 Replies:
  Re: MPD spec
 
(...) I think so, too. I see MPD files almost like ZIP files. I know that there are differences, like inside WinZip you can generally only view standalone files without unzipping them first. (The reason I reignited this thread was I wanted to make (...) (22 years ago, 6-Aug-02, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
  Re: MPD spec
 
I think I am going to load referenced subparts only and use the first one of recursive mpd files, ignoring the rest for now for LD4DModeler's MPD support. Roland. (...) (22 years ago, 8-Aug-02, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)

Message is in Reply To:
  Re: MPD spec
 
I was wondering, didn't see it discussed in the text, is it permitted / custom to have ldraw files in a mpd file reference other mpd files? If so is the first part in the file used or is there some naming convention pointing to the correctsubpart (...) (22 years ago, 5-Aug-02, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)

65 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