mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
Merge pull request #1145 from davidgyu/mtl_viewer_ios_fix
Thanks, David
This commit is contained in:
commit
9b02dbf9bf
@ -98,7 +98,7 @@
|
||||
_osdRenderer.displayControlMeshVertices = _controlMeshSwitch.isOn;
|
||||
_osdRenderer.displayControlMeshEdges = _controlMeshSwitch.isOn;
|
||||
_osdRenderer.usePatchClipCulling = _patchClipCullingSwitch.isOn;
|
||||
_osdRenderer.useFractionalTessellation = _osdRenderer.useScreenspaceTessellation;
|
||||
_osdRenderer.useFractionalTessellation = _osdRenderer.useFractionalTessellation;
|
||||
_osdRenderer.useAdaptive = true;
|
||||
_osdRenderer.freeze = true;
|
||||
_osdRenderer.animateVertices = false;
|
||||
@ -210,7 +210,7 @@
|
||||
_osdRenderer.displayControlMeshVertices = sender.isOn;
|
||||
} else if(sender == _screenspaceTessellationSwitch) {
|
||||
_osdRenderer.useScreenspaceTessellation = sender.isOn;
|
||||
_osdRenderer.useFractionalTessellation = _osdRenderer.useScreenspaceTessellation;
|
||||
_osdRenderer.useFractionalTessellation = _osdRenderer.useFractionalTessellation;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
||||
typedef enum {
|
||||
kEndCapBilinearBasis = 0,
|
||||
kEndCapBSplineBasis,
|
||||
kEndCapLegacyGregory,
|
||||
kEndCapGregoryBasis,
|
||||
kEndCapLegacyGregory,
|
||||
} EndCap;
|
||||
|
||||
typedef enum {
|
||||
|
@ -342,7 +342,7 @@ struct PipelineConfig {
|
||||
self.useSmoothCornerPatch = true;
|
||||
self.useSingleCreasePatch = true;
|
||||
self.useInfinitelySharpPatch = true;
|
||||
self.useStageIn = !TARGET_OS_EMBEDDED;
|
||||
self.useStageIn = true;
|
||||
self.endCapMode = kEndCapGregoryBasis;
|
||||
self.useScreenspaceTessellation = false;
|
||||
self.useFractionalTessellation = false;
|
||||
|
Loading…
Reference in New Issue
Block a user