# Rolling My Own POD Exporter

**URL:** <https://forums.imgtec.com/t/rolling-my-own-pod-exporter/357>\
**Category:** PowerVR Insider\
**Tags:** pvrshaman\
**Created:** [May 23, 2009, 5:58pm UTC](https://forums.imgtec.com/t/rolling-my-own-pod-exporter/357 "2009-05-23T17:58:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![earamsey](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@earamsey](https://forums.imgtec.com/u/earamsey)\
**Post date:** [May 23, 2009, 5:58pm UTC](https://forums.imgtec.com/t/rolling-my-own-pod-exporter/357/1 "2009-05-23T17:58:35Z")

</div>

Hi, I am rolling my own POD exporter to support features my artist has requested. I'm using **PVRTModelPOD.cpp** because it already has methods to write out a POD file from a _ **struct SPODScene** _; now it is simply a task to translate from **3ds Max** to **SPODScene** entities. I am using 3ds Max 2009 SDK, in particular **_3ds Max 2009 3DXI SDK_** , that he provided me.

  

Inside of the **_struct SPODScene_** there are two fields;  
VERTTYPE pfColourBackground[3]; /\*!\< Background colour \*/  
VERTTYPE pfColourAmbient[3]; /\*!\< Ambient colour \*/[/CODE]

**Questions:**  
[Q1] Why are these defined if not being used anywhere? (I searched **OOLONG Game Engine** and none of the two are ever used).   
[Q2] Are there any documents to aid in mapping from **ds Max 2009 3DXI SDK (previously IGame Exporter)** to **PowerVR POD Format**?

Thanks!

[CODE]VERTTYPE pfColourBackground[3]; /\*!\< Background colour \*/  
VERTTYPE pfColourAmbient[3]; /\*!\< Ambient colour \*/[/CODE]  

**Questions:**  
[Q1] Why are these defined if not being used anywhere? (I searched **OOLONG Game Engine** and none of the two are ever used).   
[Q2] Are there any documents to aid in mapping from **ds Max 2009 3DXI SDK (previously IGame Exporter)** to **PowerVR POD Format**?

  

Thanks!

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [May 27, 2009, 3:31pm UTC](https://forums.imgtec.com/t/rolling-my-own-pod-exporter/357/2 "2009-05-27T15:31:57Z")

</div>

Please see my anser in the other thread. Your application can read and set these values from your application (PVRShaman is the example I’ve given in the other thread).  
  
  
  
  
  
Note that Oolong doesn’t use the POWERVR SDK source code in whole or unaltered state and may be based on an earlier version of the SDK than is currently available from this site. The POD format was designed to support our own internal demo development as well as that of other developers so some parts of the format may exist for this reason and it may not be obvious from the Oolong source code. The fact is, if you aren’t planning to use these values in your own projects then there is no reason to fill them in with anything other than placeholder values.  
  
  
  
  
  
For a description of POD format, please refer to the document that goes with the PVRTGeoPOD plug-in.
