|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Where could I find a detailed specification of the MDL file format used
by Moray?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Warp, you recently wrote in moray.win:
> Where could I find a detailed specification of the MDL file format used
> by Moray?
You can't. It's a binary format and it's at version 78 (or so) and
it's just not worth keeping the documentation up to date for it. It's
basically a dump of the C++ data structures in their hierarchy, so
everytime something is adapted, the stream changes... I didn't to a
chunk-based format, so it's tough to parse.
May I ask why you asked? One of the reasons why we did the Plugin SDK
is so that one could get everything in and out of Moray without having
to read or write MDL files.
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> May I ask why you asked? One of the reasons why we did the Plugin SDK
> is so that one could get everything in and out of Moray without having
> to read or write MDL files.
I think I know Warp's answer: To read MDL files on non-Windows platforms!
;-)
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I think I know Warp's answer: To read MDL files on non-Windows platforms!
> ;-)
I would be more interested in it because it would mean anyone with
programming/scripting capabilities could produce/import/export/read and
write MDL files, you wouldn't have to lean C++ and MFC programming like you
do now to utilize plug-ins.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Thomas Lake, you recently wrote in moray.win:
> I would be more interested in it because it would mean anyone with
> programming/scripting capabilities could produce/import/export/read and
> write MDL files ...
No, I don't think that's neccessarily true :-) The format is pretty
much a dump of the C++ data structure, so it's a pain to read if you
have a different structure.
>, you wouldn't have to lean C++ and MFC programming like you
> do now to utilize plug-ins.
Not to nitpick or anything, but the Plugin Interface is actually pure
C. You don't have to use C++ or MFC.
I just provide a C++ wrapper and MFC support so that it's a lot less
tedious and easier to write.
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> > I would be more interested in it because it would mean anyone with
> > programming/scripting capabilities could produce/import/export/read and
> > write MDL files ...
> No, I don't think that's neccessarily true :-) The format is pretty
> much a dump of the C++ data structure, so it's a pain to read if you
> have a different structure.
Oh well in that case your right.
> >, you wouldn't have to lean C++ and MFC programming like you
> > do now to utilize plug-ins.
> Not to nitpick or anything, but the Plugin Interface is actually pure
> C. You don't have to use C++ or MFC.
> I just provide a C++ wrapper and MFC support so that it's a lot less
> tedious and easier to write.
Good to know you don't need to know MFC but just beginning to learn
programming here in Java so the fact that you don't need to know C++ and
only C doesn't help me a lot:-)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |