XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

Problem exporting from Max 2010 with kwxport

Last post 10/8/2009 10:18 PM by Andor Studios. 3 replies.
  • 10/1/2009 11:05 AM

    Problem exporting from Max 2010 with kwxport

    Hi!

    I have a problem exporting a model from Max 2010 using kwxport.
    The model uses the StandardFX shader material.

    When I want to export the model, I check the "Export materials", "Copy textures" and "Export Shader", but on the destination folder nothing is copied, except the exported model, and the exporter doesn't throw any warnings.
    So, the model shows without textures on XNA, and also on the DirectX Viewer.

    Also, I noted that if I check the "Export Tangents", I have these warnings:
    Mesh base: bad tangent and binormal found (degenerate face in UV map?)
    Can't open the file C:\Program Files\Autodesk\3ds Max 2010\Maps\fx\StandardF0 for copying.

    I don't really know if it's my fault or it has something to do with the exporter itself (the second warning seems to be a corrupted string?).

    Any idea of what is happening?
    Thanks in advance!

  • 10/1/2009 2:52 PM In reply to

    Re: Problem exporting from Max 2010 with kwxport

    Well I don't bother with exporting material/shader and copy texture so can't help you there but that warning about the degenerate face in UV map seems to happen if a face doesn't have a smoothing group. Its ok though you don't need to put a smoothing group on everything the meshes work just fine without them.
  • 10/1/2009 5:24 PM In reply to

    Re: Problem exporting from Max 2010 with kwxport

    The degenerate warning means exactly what it says: You have some geometry that does not general proper tangent basis for at least some faces/vertices. Whether this is a problem visually or not is something you'll have to inspect yourself.

    The corrupt path when trying to copy it is of concern to me -- that shouldn't be happening, and seems to indicate some kind of heap corruption. The reason the shader/textures aren't copied to the output folder is quite likely because of that. Unfortunately, I haven't been able to reproduce that problem myself, so there's not much I can do by way of trying to fix it right now, but I'll keep looking.
    Jon Watte, Direct3D MVP
    Tweets, occasionally
    kW X-port 3ds Max .X exporter
    kW Animation source code
  • 10/8/2009 10:18 PM In reply to

    Re: Problem exporting from Max 2010 with kwxport

    Hi!

    The problem is solved with the new version of the exporter (1.4.3).

    jwatte, thank you for your hard work with the exporter, you are making easier the life a lot of XNA developers, me included :)
Page 1 of 1 (4 items) Previous Next