I love it when editors have scripting (see Maya, 3ds Max, Blender for examples). In my game editor - every action that can be performed by the user can be replicated via scripting. I think this will be especially useful when adding undo/redo capability to the editor. Say the user moved a mesh in the scene (from [0,0,0] to [10,0,0]) - then the script to translate a node to position [10,0,0] is added to the redo stack, and the translate to [0,0,0] script can be added to the undo-stack. Not sure if this is the way other 3d editors do undo/redo stacks, but is seems sensible to be. Also means that the undo/redo stack can be saved with the file :D
Managed to do a load more work on the game editor this weekend. God-damn Java is a cool language. Managed to massively improve the UI AND add scripting support in just a few hours. Java SE 6 comes with Rhino for scripting.
I love it when editors have scripting (see Maya, 3ds Max, Blender for examples). In my game editor - every action that can be performed by the user can be replicated via scripting. I think this will be especially useful when adding undo/redo capability to the editor. Say the user moved a mesh in the scene (from [0,0,0] to [10,0,0]) - then the script to translate a node to position [10,0,0] is added to the redo stack, and the translate to [0,0,0] script can be added to the undo-stack. Not sure if this is the way other 3d editors do undo/redo stacks, but is seems sensible to be. Also means that the undo/redo stack can be saved with the file :D
I love it when editors have scripting (see Maya, 3ds Max, Blender for examples). In my game editor - every action that can be performed by the user can be replicated via scripting. I think this will be especially useful when adding undo/redo capability to the editor. Say the user moved a mesh in the scene (from [0,0,0] to [10,0,0]) - then the script to translate a node to position [10,0,0] is added to the redo stack, and the translate to [0,0,0] script can be added to the undo-stack. Not sure if this is the way other 3d editors do undo/redo stacks, but is seems sensible to be. Also means that the undo/redo stack can be saved with the file :D
Previous Entry
Been too long!
Next Entry
Picture of my editor!
Advertisement
Latest Entries
Picture of my editor!
1067 views
Another Game Editor update
978 views
Been too long!
1072 views
Eclipse oh no :(
1152 views
New Eclipse
1009 views
3d engine
927 views
Coming along
1065 views
3d file formats
945 views
The name
985 views
Improving builder performance
932 views
Advertisement