# Issues with the new POD export plugin for Blender

**URL:** <https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386>\
**Category:** PowerVR Insider\
**Tags:** pvrshaman\
**Created:** [April 16, 2012, 2:32pm UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386 "2012-04-16T14:32:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![claymontgomery](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/claymontgomery/32/132_2.png) [@claymontgomery](https://forums.imgtec.com/u/claymontgomery)\
**Post date:** [April 16, 2012, 2:32pm UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386/1 "2012-04-16T14:32:36Z")

</div>

&nbsp; I was very glad to see the new POD export plugin for current versions of Blender in the 2.10 SDK Release.&nbsp; It looks like a big step forward and I would like to use it extensively. ![Clap]()  
  
&nbsp;&nbsp; However, I having some problems with it in my initial testing.&nbsp; It does not seem to handle textures correctly.&nbsp; For example, the m\_Scene.nNumTexture parameter is always zero, even though my scene has 2 textures.&nbsp; Also, the material indexes for the mesh nodes in the scene are -1, indicating that there are no assigned materials, but I do have textures assigned to them.&nbsp; Finally, my sphere mesh is not being split into 2 sub-meshes automatically (like the way the previous version of the exporter/Collada2POD did it).&nbsp; My test scene is just a single sphere mesh with one texture applied to half of the sphere and a second texture applied to the other half.&nbsp; I can send you this Blender file, if you want.&nbsp; I am using Blender 2.59 with the PowerVR SDK 2.10 and VFrame.  
  
Thanks, Clay Montgomery

---

<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:** [April 17, 2012, 7:58am UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386/2 "2012-04-17T07:58:03Z")

</div>

Hi,
&nbsp;

When you export do you have the "Export materials" option checked? All the issues you describe would occur if this was unchecked. If this is checked could you send your Blender file and your exported .pod file to [devtech@imgtec.com](mailto:devtech@imgtec.com) so we can take a look. 

&nbsp;

Also, are you using the Windows, Linux or Mac version of Blender?

&nbsp;

Cheers,

&nbsp;

Scott

&nbsp;

---

<div class="post-metadata">

**Author:** ![claymontgomery](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/claymontgomery/32/132_2.png) [@claymontgomery](https://forums.imgtec.com/u/claymontgomery)\
**Post date:** [April 19, 2012, 11:07pm UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386/3 "2012-04-19T23:07:30Z")

</div>

Scott,  
  
&nbsp;&nbsp;&nbsp; I am using the Windows version of Blender 2.59 and I did check the export materials box.  
  
&nbsp;&nbsp;&nbsp; After more testing, I have decided that my problem with exporting textures is not really a problem with the POD plugin because I get the same results when I export to Collada.&nbsp; The real issue is just differences between Blender 2.49 and 2.59.&nbsp; With the newer version of Blender, it is now essential to first define a material for any object with a texture in order for it to export properly.&nbsp; Blender 2.49 did not have this requirement.&nbsp; I will continue testing it.  
  
Thanks, Clay

---

<div class="post-metadata">

**Author:** ![claymontgomery](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/claymontgomery/32/132_2.png) [@claymontgomery](https://forums.imgtec.com/u/claymontgomery)\
**Post date:** [April 20, 2012, 10:04pm UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386/4 "2012-04-20T22:04:53Z")

</div>

&nbsp; I’m finding that many of the parameters in the SPODMaterial structures seem to return only hard-coded default values when exporting from Blender 2.59 using the new plugin.  
  
&nbsp;&nbsp; I understand that this structure is generalized to also cover 3DSMax, etc.&nbsp; But, can you please tell me if any of these parameters are actually exported from Blender 2.59 with real values?  
  
struct SPODMaterial {  
&nbsp;&nbsp; &nbsp;EPODBlendFunc&nbsp;&nbsp; &nbsp;eBlendSrcRGB;  
&nbsp;&nbsp; &nbsp;EPODBlendFunc&nbsp;&nbsp; &nbsp;eBlendSrcA;  
&nbsp;&nbsp; &nbsp;EPODBlendFunc&nbsp;&nbsp; &nbsp;eBlendDstRGB;  
&nbsp;&nbsp; &nbsp;EPODBlendFunc&nbsp;&nbsp; &nbsp;eBlendDstA;  
&nbsp;&nbsp; &nbsp;EPODBlendOp&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;eBlendOpRGB;  
&nbsp;&nbsp; &nbsp;EPODBlendOp&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;eBlendOpA;  
&nbsp;&nbsp; &nbsp;VERTTYPE&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pfBlendColour[4];  
&nbsp;&nbsp; &nbsp;VERTTYPE&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pfBlendFactor[4];  
&nbsp;&nbsp; &nbsp;PVRTuint32&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;nFlags;  
  
Thanks, Clay

---

<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:** [April 24, 2012, 3:17pm UTC](https://forums.imgtec.com/t/issues-with-the-new-pod-export-plugin-for-blender/1386/5 "2012-04-24T15:17:56Z")

</div>

Hi,
&nbsp;

At the moment those values can only be customised by the artist using PVRShaman. This isn't just limited to Blender but is true for all the exporters.

&nbsp;

Thanks,

&nbsp;

Scott
