# Please show me a example to SavePod

**URL:** <https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170>\
**Category:** PowerVR Insider\
**Created:** [September 22, 2014, 1:11pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170 "2014-09-22T13:11:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tictech1970](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@tictech1970](https://forums.imgtec.com/u/tictech1970)\
**Post date:** [September 22, 2014, 1:11pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/1 "2014-09-22T13:11:33Z")

</div>

Could show me an example of using SavePod in PVR tools, which are export options, thank you very much.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [September 25, 2014, 11:38am UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/2 "2014-09-25T11:38:00Z")

</div>

Hi,  
  
  
  
The SavePOD function will write all of the SPODScene data stored in memory to a file. There are no export options.  
  
  
  
What is the goal of your project? Are you working on a custom POD exporter?  
  
  
  
Thanks,  
  
Joe

---

<div class="post-metadata">

**Author:** ![tictech1970](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@tictech1970](https://forums.imgtec.com/u/tictech1970)\
**Post date:** [September 26, 2014, 3:09pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/3 "2014-09-26T15:09:59Z")

</div>

Hi Joe, I’m working on a custom exporter of POD, but I have not found any example of how to use the SavePOD function, you I expose for you to see that second argument is to add options to the exporter, but which are not these options, if you can give me an example.  
  
  
  
/_!_\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
  
@Function SavePOD  
  
@Input pszFilename Filename to save to  
  
@Input pszExpOpt A string containing the options used by the exporter  
  
@Description Save a binary POD file (.POD).  
  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/  
  
EPVRTError CPVRTModelPOD::SavePOD(const char \* const pszFilename, const char \* const pszExpOpt, const char \* const pszHistory)  
  
  
  
Thanks.

---

<div class="post-metadata">

**Author:** ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)\
**Post date:** [September 29, 2014, 2:11pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/4 "2014-09-29T14:11:48Z")

</div>

A few years back I wrote a custom exported from Lightwave to POD.  
  
  
  
Not sure if it is still fully relevant ( SDK has changed since then ) but the code for saving POD files is located at:  
  
  
  
[https://github.com/wrawdanik/LayoutPODExport/blob/master/src/Database.cpp](https://github.com/wrawdanik/LayoutPODExport/blob/master/src/Database.cpp) around #720.

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [September 30, 2014, 10:12pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/5 "2014-09-30T22:12:01Z")

</div>

Pod is great , i never understood why it is not open source and on GIT for simplicity and faster feedback where all the other companies have it that way…strange .🙂

---

<div class="post-metadata">

**Author:** ![warmi](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@warmi](https://forums.imgtec.com/u/warmi)\
**Post date:** [October 3, 2014, 3:14pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/6 "2014-10-03T15:14:35Z")

</div>

The main issue with PODs is that these were meant to be scene file/descriptors and a lot of projects prefer model/animation based models where they keep their “scene” files (essentially game level ) completely custom.

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [November 11, 2014, 12:27pm UTC](https://forums.imgtec.com/t/please-show-me-a-example-to-savepod/2170/7 "2014-11-11T12:27:00Z")

</div>

Yes very right Warmi,Pod is a good repository format for meshes and animation 🙂 the rest of job is defined by the user itself and the constrains of his scene…
