GPU Tesselation toggle from command/macro/script

Hi All,

Is there a way to toggle the GPU tessellation in V6 via command or script?

Since the AA looks much better without it but the vport performance is much better with it, we may be in need for a back and forth quick switch for the time being, until AA improves. I would like to have it OFF before every screen capture, automater, for better quality AA in captures.



Hi Jarek - it looks to me like not, at least not using macros - the OpenGL is not available in -Options, nor is Advanced.
So far, I can’t find any access to that at all in RhinoCommon either - might be there, but I don’t see it.


Hi Pascal, thanks.
How about with Python somehow?

I got some links for accessing advanced settings but can’t figure out/navigate how to possibly find that setting there:

Hi Jarek - yeah, that is where I was poking around but I can’t see any way to get at what you need here … It would be nice to have a general way to get/set anything in Advanced - if there is, I have not found it…


Wish pile then (with a hope for V6? :slight_smile: ).

Here’s how this can be adjusted with python

import Rhino

settings = Rhino.PlugIns.PlugIn.GetPluginSettings(Rhino.RhinoApp.CurrentRhinoId, False)
s = settings.GetChild("Options").GetChild("OpenGL")
s.SetBool("UseTessellationShaders", False)

Nice, thanks!


Thanks Steve!
So, in general, any advanced option can be accessed that way?

Yes. I know it isn’t very obvious, but this technique should work in general