View previous topic :: View next topic |
Author |
Message |
hpesoj DeleD PRO user
Joined: 16 Oct 2004 Posts: 184
|
Posted: Mon Apr 25, 2005 5:54 pm Post subject: Multiple ;;; in DMF files |
|
|
When using multiple material layers, the DMF files get saved with more than one semi-colon between parameters in some places (on the material lines). Not hard to work around, but it is a hassle. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Mon Apr 25, 2005 6:37 pm Post subject: |
|
|
Those semi-colons are not spurious, they convey information for DeleD: two semi-colons in a row means that specific layer is empty! The 4th layer is reserved for lightmapping, so we choose to use fixed layer info. If your target program doesn't need that info, simply skip empty layers in your reader (something you are apparently already doing). Skipping a single character in your reader is not exactly something I'd call a hassle |
|
Back to top |
|
|
hpesoj DeleD PRO user
Joined: 16 Oct 2004 Posts: 184
|
Posted: Tue Apr 26, 2005 4:23 pm Post subject: |
|
|
Lol, thanks for clearing that up . In that case I will need to take them into account. By hassle, I just meant it'd be a hassle if everyone had to deal with it, but since they are there on purpose, that's ok . |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Tue Apr 26, 2005 7:06 pm Post subject: |
|
|
It's always the same old problem with file formats: they are either perfect for editing (i.e. contain a lot of extra info) or perfect for the end-user application (game, etc.). As it is, dmf is still pretty much ok for use in your final rendering application, but it does contain a lot of editor info it won't need (the full list of available materials, empty layers, etc.). Oh well, it probably still beats writing your own file format (including exporter) at this moment |
|
Back to top |
|
|
|