Page 1 of 1

Switching between Rendering-backends broken

Posted: Sat 22. Sep 2012, 14:23
by Andre
You can't switch "on the fly" between the different rendering backends anymore. As long as this bug isn't fixed you have to edit the class de.jreality.plugin.basic.View line 184-187

Code: Select all

           String viewer = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_JOGL+" "+SystemProperties.VIEWER_DEFAULT_SOFT); 
           //String viewer = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_JOGL3+" "+SystemProperties.VIEWER_DEFAULT_SOFT); 
           //String viewer = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_JOGL_DOME+" "+SystemProperties.VIEWER_DEFAULT_SOFT); 
           //String viewer = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_SOFT); 
			

Re: Switching between Rendering-backends broken

Posted: Thu 18. Oct 2012, 13:04
by Andre
bug solved, thx ben.

Re: Switching between Rendering-backends broken

Posted: Fri 9. Nov 2012, 11:25
by Andre
Following the progress for the new OpenGL 3.3 backend? Enable it via with editing the class de.jreality.plugin.basic.View at the top of the class:
//String viewerString = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_JOGL+" "+SystemProperties.VIEWER_DEFAULT_SOFT);
String viewerString = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_JOGL+" "+SystemProperties.VIEWER_DEFAULT_SOFT+" "+SystemProperties.VIEWER_DEFAULT_JOGL3+" "+SystemProperties.VIEWER_JOGL_DOME);
//String viewerString = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_SOFT+" "+SystemProperties.VIEWER_JOGL3_DOME+" "+SystemProperties.VIEWER_DEFAULT_JOGL3);
//String viewerString = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_JOGL_DOME+" "+SystemProperties.VIEWER_DEFAULT_SOFT);
//String viewerString = Secure.getProperty(SystemProperties.VIEWER, SystemProperties.VIEWER_DEFAULT_SOFT);


uncomment the second line and comment the first. Afterwards starting the viewer gives you the choice to switch between OpenGL2 (standard), Softwarerendering, OpenGL3.3 and a DOMEviewer.