Please show me a example to SavePod

Tagged: ,

This topic contains 6 replies, has 4 voices, and was last updated by  dgu 3 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #31822

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

    #39016

    Joe Davis
    Member

    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

    #39017

    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.

    #39018

    warmi
    Member

    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 around #720.

    #39019

    dgu
    Member

    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 .:)

    #39020

    warmi
    Member

    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.

    #39021

    dgu
    Member

    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…

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.