Archive for April, 2010

Save & Load Scene In Simorgh 3D World Editor

April 30th, 2010

Save & Load System In Simorgh Editor Is Base On Binary Serliazing .

We have a Structure For All Object In The Scene ,and when we want to save the scene we save all saved structures that realted to the object in the scene , By Writing Bit by Bit Into the file . and for loading we do  vice versa.

Sourena Game Studio Save&load Complex Scene

Sourena Game Studio Save&load Complex Scene

Undo & Redo On Simorgh 3D World Editor

April 30th, 2010

Sourena Simorgh Editor’s Undo & Redo Programming Completed.

This undo&redo Algorithm based on Actions.

All Important Actions happened On Scene Will Be Save In Action Structure .

Actions Like Adding & Moving & Deleting & Editing etc … are support in This Algorithm.

This Algorithm Is Very Fast . We do not Save All Scene Objects . so just each object that is edited or changed, will be add to Action list by it’s changed Parameters .

Sourena Game Studio Undo&Redo in Complex Actions

Sourena Game Studio Undo&Redo in Complex Actions

Multi Thread Logger Class

April 30th, 2010

This Class Is Responsible to Log All Events Happened In Editor & Game & Engine And All Tools And APIs Witch Written In Sourena Software (Sourena Game Studio).

Logger Class Use Multi Thread Technology For Separate Logging Command From Main Editor And Engine Thread and Run On Specific Thread Who Is Responsible To Log In IO  Devices

Logger Class Support Console Logging& File Logging And HTML File Logging.

Time Template is hour:minute:second:millisecond witch before most of Messages write in final Logging Type(Console-File-Html)

Example :

16:31:58:966– Information     -> String & Float : 220.0254059

Sourena Logger Class - HTML FIle Mode
Logging In HTML File

 

Sourena Logger (Html File)

Sourena Logger (Html File)