# Max plugin problem when exporting skinning mesh

**URL:** <https://forums.imgtec.com/t/max-plugin-problem-when-exporting-skinning-mesh/495>\
**Category:** PowerVR Insider\
**Tags:** pvrgeopod\
**Created:** [October 9, 2009, 8:40am UTC](https://forums.imgtec.com/t/max-plugin-problem-when-exporting-skinning-mesh/495 "2009-10-09T08:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerrychio](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jerrychio](https://forums.imgtec.com/u/jerrychio)\
**Post date:** [October 9, 2009, 8:40am UTC](https://forums.imgtec.com/t/max-plugin-problem-when-exporting-skinning-mesh/495/1 "2009-10-09T08:40:53Z")

</div>

Hi,

&nbsp;
  

I got a problem when exporting a skinning mesh by PVRGeoPOD&nbsp;3dsmax9 plugin. The console log show "File not wrriten - scene processing for export failed" if any&nbsp;bone in the skin-mesh contains more than two child bones. Then I reduced the number of child bones to 1 or 2, it will be OK. So I wonder if it is the limitation of PVRGeoPOD plugin or just a bug?
  

&nbsp;
  

Best regard,
  

Jerry
  

&nbsp;

---

<div class="post-metadata">

**Author:** ![Scott](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/scott/32/256_2.png) [@Scott](https://forums.imgtec.com/u/Scott)\
**Post date:** [October 23, 2009, 9:22am UTC](https://forums.imgtec.com/t/max-plugin-problem-when-exporting-skinning-mesh/495/2 "2009-10-23T09:22:19Z")

</div>

jerrychio wrote:

Hi,  

&nbsp;
  

I got a problem when exporting a skinning mesh by PVRGeoPOD&nbsp;3dsmax9 plugin. The console log show "File not wrriten - scene processing for export failed" if any&nbsp;bone in the skin-mesh contains more than two child bones. Then I reduced the number of child bones to 1 or 2, it will be OK. So I wonder if it is the limitation of PVRGeoPOD plugin or just a bug?
  

&nbsp;
  

Best regard,
  

Jerry
  

&nbsp;

&nbsp;
  

Hi,
  

&nbsp;
  

It sounds like a possible bug. If possible could you send your Max scene complete with a screenshot of your exporter options to [devtech@imgtec.com](mailto:devtech@imgtec.com)&nbsp;so&nbsp;we can see if we can reproduce it.
  

&nbsp;
  

Thanks,
  

&nbsp;
  

Scott

---

<div class="post-metadata">

**Author:** ![Scott](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/scott/32/256_2.png) [@Scott](https://forums.imgtec.com/u/Scott)\
**Post date:** [November 2, 2009, 8:57am UTC](https://forums.imgtec.com/t/max-plugin-problem-when-exporting-skinning-mesh/495/3 "2009-11-02T08:57:30Z")

</div>

Thanks for your files. I’ve taken a look and have found 2 causes of the “File not writen - scene processing for export failed”. The first is that the POD format only supports up to 4 bones per vertex and your scene exceeds this limit. This can be fixed simply by changing the value of ‘Bone Affect Limit’ under ‘Advanced Parameters’ for the Skin modifier. The second is that the value being used for ‘Max simultaneous matrices’ is too low for the scene so the bone batching is failing. Ideally if you’re exporting with a limit of 3 bones per vertex this should be set to 9 as that will be the maximum number of bone matrices affecting a triangle. With these two problems fixed your scene exports fine for me.
