Menu

Load / Save scene with GLfreeForm mesh data

Help
SBlade
2017-04-08
2017-04-08
  • SBlade

    SBlade - 2017-04-08

    Hi,

    I load and save the scene with SaveToFile/LoadFromFile functionality but that doesn't save the mesh data of GLfreeForm mesh data into file, that is, re-loading the scene renders the glFreeForms empty without any mesh data info, so how am I supposed to eliminate that ?

     
  • Jerome.D (BeanzMaster)

    I Blade , don't remember exactly but i think Only FileName of the GLFreeForm is stored not geometry. I'll must do some research on samples i have. Don't sure on what i tell.

     

    Last edit: Jerome.D (BeanzMaster) 2017-04-09
  • SBlade

    SBlade - 2017-04-10

    Hi Jerome thanks for helping,

    Yes the lastfilenameloaded is property of GLFreeForm and is streamed, but that doesn't give me any clue on what to do next in order to stream all mesh data of GLfreeForm into file. Bear in mind that I'm not triyng to save only one GLFReeForm from scene into file, instead I have many primitives and glfreeform's in my scene and I'd like to save/coalesce them ALL into one file for sake of simplicity and integrity. Same as 3dmax, blender etcc saving mechanism, you have only one file file specific extension and everythingis there.

    This should be same scenerio for file saving/reading mechanism in your LevelDesign editor, how you've done it there ?

    REgards,

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.