
Ose is real time command line based Ogre script editor.

I use dir system to represent script structure. You edit ogre script via edit dir.

Current support scripts:

	.material
	.program
	.particle
	.compositor

Current edit option:

  ----------------------------------------------------------------
  Edit Option                      |                Command
  ----------------------------------------------------------------
  change current dir               |                 cd
  add child dir                    |                 add
  remove child dir                 |                 rm
  copy child dir                   |                 cp
  switch child dir                 |                 sd
  set property                     |                 set
  reset property to default        |                 reset
  ----------------------------------------------------------------     
  
  
 Current scene manage option
                         
  -------------------------------------------------------------------------------------------------
  Scene Manage Option                                  |       Command
  --------------------------------------------------------------------------------------------------
  load mesh                                            |          lm
  unload mesh                                          |          um
  play animation                                       |          pa
  stop animation                                       |          sa
  --------------------------------------------------------------------------------------------------
  attatch particle to bone or scene node               |
  attatch material to entity or subentity              |          attatch
  attatch compositor to view port                      |
  --------------------------------------------------------------------------------------------------
  detach  item(particle, material, compositor)         |          detach
  --------------------------------------------------------------------------------------------------
  scene light manage                                   |  set ambient in  \system
                                                       |  light is also a dir, it resides in \system
  --------------------------------------------------------------------------------------------------
  export scene                                         |          es
  load  scene                                          |          ls(only load exported from ose)
  --------------------------------------------------------------------------------------------------

 Ose is open source, you gan get source code from https://bitbucket.org/peanutandchestnut/ogrescripteditor.

There are serval things you should know before you use it:

 1. Ose is based on command line, you can find cmd manual by execute   

        man cmdName

      You can get basic manual if you execute man man.

 2. I use my own script serializer (which of course consult MaterialSerializer).
    In ose, all shader program will be saved in a seperated .program file.
      If you use a existing .material file with program defined in it, you will lost it, be very careful.
      If that happen, you can find your original file in bak.

 3. I havn't implement undo , redo.
    I bakup for every script file before it's replaced. For example, you can find your .scene bak
      in data/scene/bak.
 
 4. You can not change script file resides in zip. If you accidently did, a new material file will be
    add to data\media\materials\scripts, this might cause problem. Be careful with it.

 5. Ose currently only support DX9
    
Know limitation:

  doesn't suppport script inheritance
  doesn't support shared_param
  doesn't support identifier name with " "
  Be careful with shader profile 3, don't do following thins while your profile 3 material is in use:
      add/remove program ref
      unload gpg
  Otherwise program crush.
 
  Most particle examples are copyed from particle editor http://www.ogre3d.org/forums/viewtopic.php?f=1&t=8535.
  Most shader examples i leanded from  http://www.ogre3d.org/tikiwiki/tiki-index.php?page=JaJDoo+Shader+Guide&structure=Cookbook.

