Blender ELU Exporter Error

Results 1 to 7 of 7
  1. #1
    Enthusiast MidnightSonata is offline
    MemberRank
    Aug 2008 Join Date
    40Posts

    Blender ELU Exporter Error

    Finally getting back into all of this, hopefully for more than a week this time.

    Anyway, I got my models from Cinema 4D transferring into Blender without losing textures, and that made me very happy. Then I get it all scaled and positioned and try to export it and I get this little "'nonetype' object has no attribute 'gettextures'" error, and that made me very sad.

    I found ONE page that mentioned this exact error, and it was of no help. Now the only thing I can think of at this point is to install a slightly older version of Blender and/or Python to match what the exporter was originally made with. I am about to leave so I don't have time to go through all of that right now, but I figured I would post here and see if anybody had a definite answer to save some possible aggrivation.

    Thanks in advance,
    Sonata


  2. #2
    Ninja Goblin HellSniper is offline
    MemberRank
    Feb 2009 Join Date
    GermanyLocation
    1,791Posts

    Re: Blender ELU Exporter Error

    Swt, is the texture set as material ?_?

  3. #3
    Enthusiast MidnightSonata is offline
    MemberRank
    Aug 2008 Join Date
    40Posts

    Re: Blender ELU Exporter Error

    Well, I went through the trouble of being able to transfer things from Cinema 4D and Bodypaint to Blender without texture loss just so I wouldn't have to waste time learning something that I don't need to, so it is very possible I am just not doing some ridiculously simple little thing.

    I've gotten it to export now, after aimlessly clicking for 30 minutes, and it still does it occasionally (Just to work fine the next time I do it). Now I have the problem where my texture isn't transferring, but I'm sure that has been answered multiple times so I'll browse around for a solution to that.

  4. #4
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: Blender ELU Exporter Error

    Quote Originally Posted by MidnightSonata View Post
    Well, I went through the trouble of being able to transfer things from Cinema 4D and Bodypaint to Blender without texture loss just so I wouldn't have to waste time learning something that I don't need to, so it is very possible I am just not doing some ridiculously simple little thing.

    I've gotten it to export now, after aimlessly clicking for 30 minutes, and it still does it occasionally (Just to work fine the next time I do it). Now I have the problem where my texture isn't transferring, but I'm sure that has been answered multiple times so I'll browse around for a solution to that.
    Sounds like the gettexture function was failing to find any textures - the exporter was written somewhat poorly for Gunz, as it didn't cover most of the possibilities for Blender models; however, the importer functions as it should.

  5. #5
    Enthusiast MidnightSonata is offline
    MemberRank
    Aug 2008 Join Date
    40Posts

    Re: Blender ELU Exporter Error

    Well, as long as I can get the models in there eventually, now I just need to get the texture situation sorted out.

    Annoyingly enough, pretty much everything that can go wrong does go wrong when I am messing with this stuff. Start messing with this texture situation and the server I am testing on goes down, lol. I really need to set my test server up again. =/

  6. #6
    Legendary Phantom* is offline
    MemberRank
    Aug 2006 Join Date
    CanadaLocation
    259Posts

    Re: Blender ELU Exporter Error

    Quote Originally Posted by gWX0 View Post
    Sounds like the gettexture function was failing to find any textures - the exporter was written somewhat poorly for Gunz, as it didn't cover most of the possibilities for Blender models; however, the importer functions as it should.
    Why not step up and fill in those possibilities? Both the importer and exporter code is written poorly due to the hack job called the Blender Python API and is only a continuation of such slop. There is need for improvement but right now it stands as rapid prototyping.

    Quote Originally Posted by MidnightSonata View Post
    Well, I went through the trouble of being able to transfer things from Cinema 4D and Bodypaint to Blender without texture loss just so I wouldn't have to waste time learning something that I don't need to, so it is very possible I am just not doing some ridiculously simple little thing.

    I've gotten it to export now, after aimlessly clicking for 30 minutes, and it still does it occasionally (Just to work fine the next time I do it). Now I have the problem where my texture isn't transferring, but I'm sure that has been answered multiple times so I'll browse around for a solution to that.
    Fix those importers to properly assign the meshes materials in a logical incremental form and at the same time i will do a proper check of the objects colbits to see where in the materials list the material is assigned and double check for a none material. As of now i assume an object has only 1 assigned material and texture which is all that is permited and that the material has been set at the first index of the objects material list. Also please consider using Blender as your native 3d suite to avoid further troubles due to my inherit will to write poor code.

  7. #7
    Enthusiast MidnightSonata is offline
    MemberRank
    Aug 2008 Join Date
    40Posts

    Re: Blender ELU Exporter Error

    I think going so far as to call it "poor code" is a little harsh. You did, after all, revolutionize what "customs" means in private Gunz servers. I've gotten two models to transfer fine now, so I don't think it's that much of a problem anymore. I just need to play around and reset the texture a couple times and what not; it seems to work after that, of course I should get more in-game before I go saying that.

    I'm willing to go through some headaches to keep using C4D over Blender, just because I've been using it for years now and I'm much more comfortable with it. I did try Blender back in the day, before I discovered C4D, and I couldn't grasp it then either. Granted I was 11 or 12 at the time.



Advertisement