Blender PVRGeoPOD plugin won't export

This topic contains 8 replies, has 4 voices, and was last updated by  Pipou 1 week, 4 days ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #49632

    Kacey
    Member

    *****
    Error: An exception has been raised in the python script
    ‘NoneType’ object has no attribute ‘filepath’
    File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 821, in AddScene
    AddObject(pvrgeopod, obj, -1, True)
    File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 748, in AddObject
    AddObject(pvrgeopod, child, id, True)
    File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 718, in AddObject
    id = AddMesh(pvrgeopod, obj, parentID)
    File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 312, in AddMesh
    materiallist.append(AddMaterial(pvrgeopod, material))
    File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 656, in AddMaterial
    node.pTexDiffuse = bpy.path.basename(tex.texture.image.filepath).encode(‘utf-8’)
    *****

    This is the error I get. I found a workaround however it messes my animations up. I export in Collada format and then convert into POD format using PVRGeoPOD but the animations are very skewed. I want to use the blender plugin but unless I export without materials, it doesn’t work. Any idea of what could be causing this? I’ve already done a good amount of research and can’t find anything.

    #49638

    PaulL
    Admin

    Could you to attach a blend file of a scene that reproduces the issue?

    If you need to send it private, you can create and new ticket at: pvrsupport.imgtec.com/new-ticket

    #58675

    Pipou
    Member

    Hello, I had the similar problem. Here is the screenshot of the error message I got. I wonder if you found a solution for this? You can download the blender file here: [](https://blend-exchange.giantcowfilms.com/b/4192/)

    1 user thanked author for this post.
    #58678

    Hi Pipou,

    Many thanks for supplying the file. I was able to replicate this issue. I will be looking into this problem shortly. I will update this thread as soon as I have a solution.

    Regards.

    Carlos.

    2 users thanked author for this post.
    #58679

    Hi Pipou,

    The problem with your Blender file was that some of the meshes were not triangulated. I have updated the python script so it will triangulate them for you. Just replace the original one by this one. This fix makes your file to export properly. Let me know if it works for you.

    Regards.

    Carlos.

    2 users thanked author for this post.
    #58680

    Attaching the file this time.

    Attachments:
    2 users thanked author for this post.
    #58682

    Pipou
    Member

    Wow thanks a lot!

    #58684

    Hi Pipou,

    Let me know if this solves your problem so I can do the final commit.

    Thanks.

    Carlos.

    #58687

    Pipou
    Member

    Hi Carlos,

    Yes, I no longer get the error message and can successfully export .pod files. Thank you!

    (*) Just another question, I have a smoke domain in my design and once exported to .pod, it becomes a solid object. Is it possible to export smoke to .pod? Thank you

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.