# Collada to pod conversion won't work

**URL:** <https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461>\
**Category:** PowerVR Insider\
**Tags:** pvrgeopod\
**Created:** [July 2, 2012, 7:43am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461 "2012-07-02T07:43:05Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 2, 2012, 7:43am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/1 "2012-07-02T07:43:05Z")

</div>

Hi,

  

I’ve been trying for days to convert a collada file (exported using opencollada from max) to pod.

I don’t have the original max file (I am actively pursuing the client if I can get this) so it’s just the collada file.

  

If I open the collada with preview (mac), it shows correct.

If I open the file in sketchup. it shows correct

If I open it in blender…it shows correct

  

I’ve used 3 versions of blender (2.63, 2.49 and 2.59), the blender export to podplugin, the blender export to collada plugin, the collada2pod convert, sketchup export and any combination of the above, but I can not get the model to export correctly without the mesh looking completely scrambled when viewing it with shaman. &nbsp;(Some of the submeshes look to have different orientations than the rest)

  

Does anyone else have had these issues as wel? What is the thing what I should be doing next?

  

thanks!

  

Reinier

---

<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:** [July 3, 2012, 8:05am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/2 "2012-07-03T08:05:16Z")

</div>

Hi,

If&nbsp;possible could you&nbsp;send your collada file, blender scene and a .pod file that shows the problem to [devtech@imgtec.com](mailto:devtech@imgtec.com). If you do happen to send us an email, could you please let us know on here so we know to expect one.

Thanks,

Scott

  
Scott2012-07-03 10:05:51

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 3, 2012, 8:33am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/3 "2012-07-03T08:33:26Z")

</div>

It has been emailed!

  

Thank you very much for your time

  

Reinier

---

<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:** [July 4, 2012, 7:41am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/4 "2012-07-04T07:41:46Z")

</div>

reiniervanvliet wrote:

It has been emailed!

&nbsp;

Hi,

&nbsp;

I'm afraid we didn't get your email. Could you send it again please.

&nbsp;

Thanks,

&nbsp;

Scott

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 4, 2012, 8:16am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/5 "2012-07-04T08:16:52Z")

</div>

do you need to whitelist me first? (since I'll be sending a zip file)
  

my email: \<removed to not get spam from automated spam crawlers\>

  

thanks

  

Reinier
  
reiniervanvliet2012-07-04 12:08:28

---

<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:** [July 4, 2012, 8:59am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/6 "2012-07-04T08:59:52Z")

</div>

Cheers, you've been added to the whitelist. Feel free to resend it, if you haven't already.

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 4, 2012, 10:07am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/7 "2012-07-04T10:07:46Z")

</div>

Hi Scott,

  

the file has been resent.

The attachment is 4.1Mb though…I hope that is not a problem.

  

Reinier

---

<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:** [July 4, 2012, 3:36pm UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/8 "2012-07-04T15:36:54Z")

</div>

It could possibly be the attachment as I'm afraid there has been no sign of your email our end (again). Are you able to host it somewhere or alternatively split the attachment up and send over several emails?

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 4, 2012, 6:27pm UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/9 "2012-07-04T18:27:21Z")

</div>

Hi,
  

the model is downloadable at: \<removed\>

  

can you confirm when you downloaded it? Then I'll take t down again.

  

thanks again!

  

Reinier
  
reiniervanvliet2012-07-05 09:06:29

---

<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:** [July 5, 2012, 7:01am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/10 "2012-07-05T07:01:18Z")

</div>

Cheers, we've downloaded it and will take a look as soon as we can.

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 5, 2012, 7:06am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/11 "2012-07-05T07:06:47Z")

</div>

great thanks!

---

<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:** [July 5, 2012, 7:32am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/12 "2012-07-05T07:32:51Z")

</div>

At least when exporting to POD from Blender&nbsp;something appears to be going wrong when&nbsp;decomposing the transformation matrix of&nbsp;some of the&nbsp;objects into pos, quaternion and scale.&nbsp;One way to work around this is to export your&nbsp;scene&nbsp;with the option "Export matrices" checked. When this&nbsp;is checked the&nbsp;transformation matrix is exported instead and no decomposing is done.&nbsp;
&nbsp;

Hopefully, this will allow you to proceed while we investigate it further.

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 5, 2012, 7:49am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/13 "2012-07-05T07:49:56Z")

</div>

Hi Scott,

  

could you specify the exact stept you are taking to get your solution?

  

&nbsp;- If I try to use blender 2.63 and then export directly to pod(with export matrices checked) it’ll crash.

&nbsp; &nbsp;Usually, I can’t use the blender/pod exporter directly since it doesn’t have the ‘invert transparency’ option which I need.

  

- If I use the standalone collada2pod exporter on the model I sent you, and have export matrices checked, it still looks weird.

  

thanks!

  

Reinier

---

<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:** [July 5, 2012, 8:19am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/14 "2012-07-05T08:19:01Z")

</div>

I imported and exported the scene&nbsp;using&nbsp;Blender 2.63. To use the currently released Blender exporter with 2.63 you need to make a few minor changes to the exporter's python script. They're described in [https://www.imgtec.com/forum/forum\_posts.asp?TID=2200&title=pvrgeopod-with-blender-263](https://www.imgtec.com/forum/forum_posts.asp?TID=2200&title=pvrgeopod-with-blender-263).
&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 5, 2012, 11:30am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/15 "2012-07-05T11:30:01Z")

</div>

Hi Scott,

  

That did the trick! &nbsp;The model looks correct now.

The textures are missing though in shaman.

  

  

I’ve edited the colada file to make texture references point to their .pvr versions, and removed the absolute path bits.

then I converted it to the pod.

when I load it into shaman, the model looks great, but I see no textures.

  

  

Is this the way to normally convert a model along with it’s textures?

  

thanks again,

  

Reinier

---

<div class="post-metadata">

**Author:** ![reiniervanvliet](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@reiniervanvliet](https://forums.imgtec.com/u/reiniervanvliet)\
**Post date:** [July 9, 2012, 8:04am UTC](https://forums.imgtec.com/t/collada-to-pod-conversion-wont-work/1461/16 "2012-07-09T08:04:42Z")

</div>

As an extra note to future people having similar issues:

  

- make sure that textures are square and power of 2, (so 512\*512 for instance)

- make sure texture names don’t have spaces in them

  

I use this commandline to convert textures:

./PVRTexTool -itexturename.png -fOGL8888 -premultalpha -yflip0

  

  

All these tips are not needed to get it working in shaman, but it is needed to get it working using the pvrtoolkit on the iPhone

  

  

Scott, again thanks for your help!

  

Reinier
