Subversion Repositories gelsvn

Rev

Rev 399 | Rev 403 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 399 Rev 401
Line 108... Line 108...
108
    theConsole.Printf("");
108
    theConsole.Printf("");
109
    theConsole.Printf("Keyboard commands (when console is not active):");
109
    theConsole.Printf("Keyboard commands (when console is not active):");
110
    theConsole.Printf("w   : switch to display.render_mode = wireframe");
110
    theConsole.Printf("w   : switch to display.render_mode = wireframe");
111
    theConsole.Printf("i   : switch to display.render_mode = isophotes");
111
    theConsole.Printf("i   : switch to display.render_mode = isophotes");
112
    theConsole.Printf("r   : switch to display.render_mode = reflection");
112
    theConsole.Printf("r   : switch to display.render_mode = reflection");
-
 
113
    theConsole.Printf("m   : switch to display.render_mode = metallic");
-
 
114
    theConsole.Printf("g   : switch to display.render_mode = glazed");
-
 
115
    theConsole.Printf("n   : switch to display.render_mode = normal");
113
    theConsole.Printf("h   : switch to display.render_mode = harmonics");
116
    theConsole.Printf("h   : switch to display.render_mode = harmonics");
114
    theConsole.Printf("f   : toggle smooth/flat shading");
117
    theConsole.Printf("f   : toggle smooth/flat shading");
115
    theConsole.Printf("1-9 : switch between active meshes.");
118
    theConsole.Printf("1-9 : switch between active meshes.");
116
    theConsole.Printf("d   : (display.render_mode = harmonics) diffuse light on and off");
119
    theConsole.Printf("d   : (display.render_mode = harmonics) diffuse light on and off");
117
    theConsole.Printf("h   : (display.render_mode = harmonics) highlight on and off ");
120
    theConsole.Printf("h   : (display.render_mode = harmonics) highlight on and off ");
Line 813... Line 816...
813
				display_render_mode = "isophotes"; break;
816
				display_render_mode = "isophotes"; break;
814
			case 'r':
817
			case 'r':
815
				display_render_mode = "reflection"; break;
818
				display_render_mode = "reflection"; break;
816
			case 'h':
819
			case 'h':
817
				display_render_mode = "harmonics"; break;
820
				display_render_mode = "harmonics"; break;
-
 
821
			case 'm':
-
 
822
				display_render_mode = "metal"; break;
-
 
823
			case 'g':
-
 
824
				display_render_mode = "glazed"; break;
818
		}
825
		}
819
		
826
		
820
		if(display_render_mode.substr(0,4) == "harm")
827
		if(display_render_mode.substr(0,4) == "harm")
821
			avo().harmonics_parse_key(key);
828
			avo().harmonics_parse_key(key);
822
		
829