Switching between Rendering-backends broken

Found a bug? Post here.
Post Reply
Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Switching between Rendering-backends broken

Post by Andre » Sat 22. Sep 2012, 14:23

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); 
			

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Switching between Rendering-backends broken

Post by Andre » Thu 18. Oct 2012, 13:04

bug solved, thx ben.

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Switching between Rendering-backends broken

Post by Andre » Fri 9. Nov 2012, 11:25

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.

Post Reply