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!
1062 views
Another Game Editor update
974 views
Been too long!
1067 views
Eclipse oh no :(
1146 views
New Eclipse
1004 views
3d engine
922 views
Coming along
1060 views
3d file formats
940 views
The name
981 views
Improving builder performance
927 views
Advertisement