sorted it out i moved the setView(env) to the key command method. work fine.
Do you want to rotate by key-presses? Or why do you need this code? EgoInputAdapter rotates the the View when the mouse is moved (if the appropriate key-bindings are set).
still has this message though
No Fragment Program support, skipping
do you know what it is?
Found this in org.xith3d.render.jsr231.FragmentProgramShaderPeer:
String extensions = gl.glGetString(GL.GL_EXTENSIONS);
if (extensions.indexOf("GL_ARB_fragment_program") != -1)
ARB_shader_programs_supported = true;
if (!ARB_shader_programs_supported)
System.err.println("No Fragment Program support, skipping");
The initial value of this boolean is
false. So it seems like either your OpenGL implementaion or the graphics card doesn't support fragment programs. I will change the code, to only display this message in debug mode.
Marvin
(EDIT : Amos Wenger 01/01/2007 : wrong quote-block instead of code-block)