Added basic JME import dialog to model viewer. With the latest version

of LWJGL, the AWT canvas releases its OpenGL context after rendering.  
Rather than redesign all event handling to take place in the update 
method, I put in a hack to grab the context back.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4200 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-06-20 19:36:23 +00:00
parent 694152013c
commit dc3bcddeb1
4 changed files with 186 additions and 9 deletions
+8
View File
@@ -7,6 +7,7 @@ m.title = Three Rings Model Viewer
m.file_menu = File
m.file_load = Load Model...
m.file_import = Import JME File...
m.file_quit = Quit
m.view_menu = View
@@ -25,6 +26,9 @@ m.mode_skin = Skin
m.load_title = Select Model to Load
m.load_filter = Model Files (*.properties, *.dat)
m.import_title = Select File to Import
m.import_filter = JME Files (*.jme)
m.anim_select = Animations:
m.anim_start = Start
m.anim_stop = Stop
@@ -36,6 +40,10 @@ m.loaded_model = Loaded {0}
m.load_error = Error loading {0}: {1}
m.invalid_type = Invalid file type.
m.import = JME File: {0}
m.scale = Scale
m.respawn_particles = Respawn Particles
m.rotate_light = Rotate Light
m.azimuth = Azimuth:
m.elevation = Elevation: