View previous topic :: View next topic |
Author |
Message |
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Sun Jul 29, 2007 7:47 pm Post subject: what does this mean? |
|
|
when i try to export my scene i get the error:
missing texture node for texture type layer???
i get i both in b3d exporter and X exporter(haven't tried the others.) |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Mon Jul 30, 2007 6:49 pm Post subject: |
|
|
That would be a bug, it means there is a material in there with a texture layer but no actual texture (something that should never happen, it's an unexpected semantic bug in the .DXS file). Could you send me the DXS so I can take a look (don't need the textures, just the file)?
As a first try, you could try stripping the lightmaps (Edit -> Remove Lightmaps), perhaps it is an issue with some lightmap. |
|
Back to top |
|
|
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Mon Jul 30, 2007 8:12 pm Post subject: |
|
|
ok i removed the lightmap and it now worked so it has something to do with the lightmaps.
i send the scene to "admin [removed rest of email to prevent even more spam hitting us than it currently does ]". It is the forest i showed in the screenshots of el ementrix (the large one) so it's quite a big file.
EDIT: i didn't send it yet but do you still need it now the error has something to do with the lightmaps?
or can it be that it is because the lightmaps are 1024x1024 pixels??
i will post an unpdate when i know if it has to do with the size.
NOPE the size of the lightmap is now 512x512 and still i get the error. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Aug 01, 2007 6:10 am Post subject: |
|
|
Good to know it's somehow lightmap related. Could you please send the file to paul [at] delgine [dot] com? (admin is handled by Jeroen, and I happen to know he is not available today).
The exporters are probably over-sensitive to some oddity inside the .dxs, but as it's quite a showstopper it's important we figure out what is going on. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Wed Aug 01, 2007 2:49 pm Post subject: |
|
|
Thanks for taking the time to get these files to me!
Here is the deal (it's a bit complex, so I'll explain in detail):
1. Some of your materials contain a lightmap with just a color, in stead of a texture. This is usually caused by a 'lightmap not found' during loading, DeleD just uses a bright white color in stead.
2. Usually, regenerating the lightmap gets rid of these lightmaps. However, some of these materials are unused, and regenerating lightmaps does not touch unused materials.
3. Still no real problems thus far, but here comes the catch: our plugin framework (the base of both the .X and B3D exporter) used to raise an error when it encountered a color lightmap (the exact error you encountered).
Now for the good news:
I) As our plugin framework no longer does this (got fixed last month), really recent builds of the exporters should no longer suffer from the problem you mention. So if one of the exporters really bothers you, bug me and Jeroen to put up a new build and everything should be fine.
II) If you first remove all lightmaps the lightmaps on the unused materials get stripped as well. If you then regenerate them, things should work properly. Worked for me. |
|
Back to top |
|
|
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Wed Aug 01, 2007 3:06 pm Post subject: |
|
|
Quote: |
II) If you first remove all lightmaps the lightmaps on the unused materials get stripped as well. If you then regenerate them, things should work properly. Worked for me. |
i'll try that |
|
Back to top |
|
|
|