mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-08 21:30:06 +00:00
Updated LimitStencilTableFactory for InfSharpPatch
Far::LimitStencilTableFactory computes limit stencils using patches from a Far::PatchTable, creating one temporarily if necessary. This change propagates the useInfSharpPatch option from adaptively refined topologies.
This commit is contained in:
parent
086213bd3c
commit
2b371f0aff
@ -401,6 +401,8 @@ LimitStencilTableFactory::Create(TopologyRefiner const & refiner,
|
||||
PatchTableFactory::Options options;
|
||||
options.SetEndCapType(
|
||||
Far::PatchTableFactory::Options::ENDCAP_GREGORY_BASIS);
|
||||
options.useInfSharpPatch = !uniform &&
|
||||
refiner.GetAdaptiveOptions().useInfSharpPatch;
|
||||
|
||||
patchtable = PatchTableFactory::Create(refiner, options);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user